The "battery is like a capacitor" has extremely limited utility. As you overcharge most batteries you do NOT store additional charge resulting in higher terminal voltages. You incite chemical reactions that release that energy in the form of heat and the terminal voltage increases little, if at all. So, more likely, if you had two sufficiently robust batteries (say a 12 V and a 24 V battery with adequate current limiting) the final voltage would be down close to the lower voltage one as it would simply suck the energy out of the higher voltage battery and do a good imitation of a space heater.