As they are in parallel, ideally the capacitor would follow exactly the voltage that is applied to it. If the battery voltage changes immediately, the voltage drop between the capacitor and the battery will generate a current with the value: $$I=\frac{V}{R}$$ (being V the voltage drop and R the resistance of the cable that connects the capacitor to the battery).
But, in the real world, the formula for the current on a voltage change on a capacitor over time is actually $$i(t)=\frac{du(t)}{dt}\times C$$ (being u(t) the voltage drop over time and C the capacitance you are using). In this formula, you can see that the current will be higher if the derivative of the voltage drop is higher. What this tells us is that the current will be proportional to the voltage drop change rate (quicker change means higher current and viceversa).
This current will discharge the capacitor and decrease its value over time since the capacitor voltage will be decreasing as well. When the capacitor voltage is the same as the battery, the current will be 0 so it will stop discharging.