In more detail
A 2,000 mAh battery powering a 100 mA load lasts 20 hours in theory, 16 hours with 80% usable capacity. Compare batteries of different voltages in Wh, not mAh.
Battery capacity is the charge a battery holds, in milliamp-hours (mAh), or the energy it stores, in watt-hours (Wh = volts × amp-hours).
Last reviewed:
A 2,000 mAh battery powering a 100 mA load lasts 20 hours in theory, 16 hours with 80% usable capacity. Compare batteries of different voltages in Wh, not mAh.