read at the end of the main thread modified to answer the same question, which i am going to copy here.
"Connecting batteries in series doubles the voltage but AMP-HR rating for the system would remain same. Which just says that formula which is applicable for calculating the maximum allowable charging rate for 12 Volt battery bank will also apply to a 24 Volt battery bank. Let me explain this with example, if you have 160 AMP-HR battery connected with 12Volts system then maximum allowable charging rate for this case is 160/10=16, now if you have two 160AMP-HR batteries connected in series on 24Volt system then again maximum allowable charging rate will again be 16 amperes for this setup, it’s just that now you can run the same load for double the time on 24Volts setup.
If novices does not wants to confuse himself, then don’t read further. You must be thinking that I can connect two batteries of same capacity on 12 Volts UPS system in parallel configuration which will also double the backup time. Then answer is that you are right, but here you will have to add up the AMP-HR capacities of both the batteries in-order to calculate the new maximum allowable charging rate and discharging rate.
In parallel configuration with two 160 AMP-HR batteries, you can now charge your system at 32 amperes of maximum allowable charging rate as current divides in parallel configuration. So in short, if your 12 volts one battery could have lit maximum 15 of the energy savers for one hours than 24 battery bank can light the same for 2 hours. Now, once you will add two batteries in parallel on 12 Volts system then you can increase the number of bulbs to 30, can either lit those 30 for one hour or turn 15 off to light yet another 15 for two hours. Hope, you must have got it as I could not make it simpler this this.
P.S: in above example, I have ignored the limitations imposed by UPS on a battery bank, like few have safety switches, which will go off if you will try to light 30 energy savers for 1 hour on 12 Volts system with two batteries in parallel."