An approximate measurement of a battery’s ability to provide energy i.e it’s charge capacity, is it’s rating in ampere hours (Ah) or amp hours.
So a 100 Ah battery will produce 100 amps for 1 hour.
This capacity can be divided up any way you choose.
100 Ah could produce 1 amp for 100 hours, or 50 amps for 2 hours, 4 amps for 25 hours or 25 amps for 4 hours etc.
Battery capacity (Ah) = Current drawn (I) x Time (H)
or you could cross multiply and get..
Time = Battery capacity / Current drawn
Current drawn = Battery capacity / Time
So when choosing a battery for your set up, you need to know how many amps you will be drawing and for how long.