A battery does retain a neutral net charge at all times.
Thus when you charge a capacitance (of a wire for example) electrons flow from the negative battery terminal to one side of the capacitor while the same number of electrons flow into the positive battery terminal from the other side of the capacitor until the capacitor voltage equals the battery voltage.
The battery can continue to do this for numerous times until its chemical energy is depleted and the voltage difference across its terminals drops to zero.
Does that make sense to you?
Thus when you charge a capacitance (of a wire for example) electrons flow from the negative battery terminal to one side of the capacitor while the same number of electrons flow into the positive battery terminal from the other side of the capacitor until the capacitor voltage equals the battery voltage.
The battery can continue to do this for numerous times until its chemical energy is depleted and the voltage difference across its terminals drops to zero.
Does that make sense to you?