Skip to content

Free guides, courses & tools across 12 engineering disciplines

Digital, networks & embedded

Battery Life Calculator (IoT duty cycle)

How long a battery powers a device that wakes, works and sleeps.

Internet of ThingsElectrical & Electronic

Loading calculator…

Battery-powered sensors spend most of their time asleep. Their life depends on the average current over a full wake-sleep cycle.

How to use this calculator

  1. Enter the battery capacity and the usable fraction (80 % allows for ageing and cut-off voltage).
  2. Enter the active current and how long each wake-up lasts.
  3. Enter the sleep current and how often the device wakes.

Formula

Iavg = (Ia × ta + Is × (T − ta)) / T, life = C × k / Iavg

Worked example

2000 mAh, 80 mA for 2 s every 10 minutes, 10 µA asleep: Iavg = 0.276 mA → about 241 days.

Frequently asked questions

Why is my real battery life shorter?

Self-discharge, cold temperatures, voltage regulator losses and current spikes (Wi-Fi, LoRa TX) all reduce it. Measure your real currents if you can.

What matters most for long life?

Usually the sleep current and how often the device wakes. Cutting a 100 µA sleep current to 5 µA can multiply battery life.

Results are for learning and preliminary design. Check critical work against the relevant codes and a qualified engineer.