Low Power Estimator
Estimate average current, power draw and battery life for a battery-powered STM32 design by mixing run / sleep / stop modes and duty cycles.
About This Calculator
For battery devices the average current — not the peak — decides battery life. The estimator blends the current of each low-power mode with the fraction of time spent in it, then converts to power and back-calculates runtime from battery capacity.
How to Use
- Measure or source the datasheet sleep/stop currents for your part at your VDD.
- Enter realistic dwell times (percentages); the leftover percentage is assumed to be spent in stop/standby.
- Enter the battery capacity of your cell (e.g. 200 mAh coin cell or 1000 mAh LiPo).
- The estimator reports average current, power, and battery life in hours and days.
Formulas
| Average current | I(avg) = I(run)·%run + I(sleep)·%sleep + I(stop)·%stop |
| Average power | P(avg) = I(avg) × V(bat) |
| Battery life | Life = Capacity / I(avg) |
Design Notes
Standby current from the datasheet is often quoted at a specific VDD — scale your estimate if the real supply differs.
Include always-on peripherals (RTC, backup registers, LDO quiescence) in the stop/standby current figure.