Battery
Load current
Common battery types โ click to use
| Type | Nominal V | Typical capacity | Chemistry | Common use |
|---|
Tips & notes
Why use efficiency factor?
Voltage regulators waste energy. An LDO from 9V to 3.3V operates at only ~37% efficiency โ most energy becomes heat. Buck converters are 85โ95% efficient. The efficiency factor adjusts effective capacity accordingly.
Sleep mode matters
- An ESP32 active draws ~80โ240 mA โ weeks on 18650
- ESP32 deep sleep โ ~10 ยตA โ months or years on 18650
- Wake every 60s for 100ms: avg โ 0.013 mA โ huge difference
- Use the Active + Sleep mode tab to model this
Real-world derating
- Cold temperatures reduce effective capacity (Li-Ion -20% at 0 ยฐC)
- High discharge rates reduce capacity (Peukert effect)
- Battery aging: expect 20โ30% capacity loss over 2โ3 years
- Multiply result by 0.7โ0.8 for a conservative estimate
Cut-off voltage & Depth of Discharge (DoD)
Every battery chemistry has a minimum safe discharge voltage. Going below it causes irreversible capacity loss or cell failure โ even a single deep discharge can render a Li-Ion/LiPo unusable.
- Li-Ion / Li-Po: cut-off 3.0โ3.2 V/cell โ use max 80% of rated capacity (some BMS protect at 2.5 V but capacity below 3.0 V is negligible and damages cycle life)
- Lead-acid (SLA/AGM): max 50% DoD for long cycle life; 80% DoD possible but shortens lifespan significantly
- NiMH / NiCd: cut-off ~1.0 V/cell โ ~80% usable capacity
- Alkaline (primary): can discharge to ~0.8 V/cell โ ~90% usable for most devices
- CR2032 / primary Li (Li/MnOโ): ~2.0 V cut-off โ ~90% usable, self-discharge limits shelf life more than DoD
Formula
t = (C ร ฮท) / I
where:
t = runtime [hours]
C = capacity [mAh]
ฮท = efficiency factor
I = average current [mA]
For sleep cycles:
I_avg = (I_act ร T_act + I_slp ร T_slp) / (T_act + T_slp)