Energy and battery life
Power is how fast energy is used. Keep using it for a while and the total energy is power times time:
With in watts and in seconds, comes out in joules. But a joule is small and an hour is 3600 seconds, so for batteries and electricity bills a bigger unit is handier: the watt-hour (Wh), the energy used by one watt running for one hour.
A circuit uses 2 W and is left running for 3 hours. How much energy does it use, in watt-hours?
Answer in Wh.
Battery capacity
A battery's size is given as its capacity in amp-hours (Ah) or milliamp-hours (mAh): the current it can supply, times how long it can keep it up.
A 2000 mAh battery can give 2000 mA for one hour, 200 mA for ten hours, or 20 mA for a hundred. (An amp-hour is really an amount of charge: 1 Ah is 3600 coulombs.)
So the time a battery lasts is
Worked example. A 9 V battery of 500 mAh runs an LED circuit that draws 15 mA:
A sensor board draws a steady 40 mA from a battery pack with a capacity of 500 mAh. About how many hours will it run?
Answer in h.
To compare batteries of different voltages, turn capacity into energy: multiply the amp-hours by the voltage.
How much energy is stored in a 9 V battery of 500 mAh?
Answer in Wh.
Now the other way round, as a designer meets it. A gadget must run for at least 50 hours on a 500 mAh battery. What is the most current it can draw, on average?
Answer in mA.
The three ideas:
- Energy is power times time: joules, or watt-hours.
- A battery's capacity in mAh, divided by the current in mA, gives its running time in hours.
- Capacity times voltage gives the energy stored, in Wh.
On a real bench treat a runtime worked out this way as the best case. A battery gives less than its rated capacity when the current is high or the weather is cold, its voltage falls as it empties, and many circuits stop working well before it is completely flat. Allowing a quarter less than the sum says is a sensible rule of thumb.