Back to all articles
Embedded SystemsNew

How to Estimate IoT Battery Life From a Duty Cycle

A worked example for a battery-powered sensor node: list every state with its current and time, sum the charge per reporting cycle, fold it into an average current, then derate the cell, add self-discharge and check the pulse the radio draws.

December 3, 2026·10 min read·battery life, low power, IoT, duty cycle, LoRa

To estimate IoT battery life, list every state the device passes through in one reporting cycle, with its current and its duration. Add up the charge, divide by the cycle length to get the average current, and add self-discharge. Divide the usable share of the cell's capacity by that total. The Battery Life Calculator does the last step.

The method is simple. The work is in the inputs: a real node has more than two states, the sleep floor is rarely the number on the MCU datasheet, and the usable share of the cell depends on your cutoff voltage, load and temperature. This post walks through one complete example with every assumption stated, then shows which inputs move the answer most. For techniques that lower the currents themselves, read Reducing Power Consumption in Battery Devices.

The example: a LoRa sensor node on 2 x AA lithium cells

The node wakes every 15 minutes, reads a sensor, sends one LoRa packet and listens for a reply, then sleeps. The currents below are example bench measurements for a board like this, not figures from a named part. Replace each one with your own measurement before you rely on the result.

Power comes from two AA lithium iron disulfide cells in series. Series cells add voltage, not capacity, so the pack is about 3 V and 3,000 mAh. The 3,000 mAh is the tool's typical figure for an AA lithium cell, not a datasheet value. As one reference point, Energizer's lithium handbook works an AA example at 3,600 mAh for a 100 mA drain to a 0.9 V cutoff. Read your own cell's datasheet at your load and your cutoff voltage.

Step 1: Build the charge budget for one cycle

Charge is current times time. Multiply each state's current by how long it lasts, in mA and seconds, and you get mA·s. The cycle is 15 minutes, 900 s, and the node is awake for 6 s of it, so it sleeps for the other 894 s. Dividing each state's charge by 900 s gives its share of the average current.

Charge budget of one 15-minute cycle
StateCurrent x timeCharge per cycleAverage over 900 s
Sleep: MCU, regulator, sensor standby, leakage18 µA x 894 s16.09 mA·s17.88 µA
Wake and sensor warm-up1.5 mA x 2 s3.00 mA·s3.33 µA
Read and process3 mA x 0.8 s2.40 mA·s2.67 µA
Radio TX45 mA x 1.2 s54.00 mA·s60.00 µA
Receive windows12 mA x 2 s24.00 mA·s26.67 µA
Total900 s cycle99.49 mA·s110.55 µA

Step 2: Fold the awake states into one

The calculator takes two states: a sleep current, and an active current with its time per event. Fold the four awake states into one by adding their charge and their time. Here that is 83.4 mA·s over 6 s, so the equivalent active current is 13.9 mA for 6 s. The fold is exact, because the sleep time is the cycle minus the awake time either way.

Step 3: Add self-discharge and derate the cell

Self-discharge is a slow drain that runs whether the node is awake or not. The model treats a yearly percentage of the rated capacity as a constant current: 3,000 mAh x 1% a year / 8,760 h is 3.42 µA. Then take only the share of the rating you expect to get out, here 85%.

From average current to battery life
LineValue
Average load current, from step 1110.55 µA
Self-discharge, 1% a year of 3,000 mAh3.42 µA
Total average drain113.97 µA
Usable capacity, 85% of 3,000 mAh2,550 mAh
Life: 2,550 mAh / 113.97 µA22,374 hours, about 2.6 years

The tool rounds the total to 114.0 µA and splits it into active events 81%, sleep 16% and self-discharge 3%. That split tells you where to work next.

Battery Life Calculator
Duty-cycle battery life with the two corrections hobby calculators skip: usable-capacity derating and self-discharge. Shareable link to your exact calculation.
Start from these numbers: AA lithium (L91), sleep 18 µA, active 13.9 mA for 6 s every 15 min, 85% usable, 1% a year
Try the calculator: Battery Life Calculator

Where the charge goes: the radio

The transmit burst is 54 of the 83.4 mA·s the node spends awake, 65% of it. Halve the time on air to 0.6 s and the awake charge falls to 56.4 mA·s over 5.4 s, an equivalent 10.44 mA. The average drops to 84.0 µA and the estimate rises to 30,363 hours, about 3.5 years.

Time on air is not free to cut. A faster data rate shortens the packet and also shrinks the link margin, so check the range with the RF Link Budget Calculator before you trade one for the other.

The sleep floor is where datasheet numbers go wrong

An MCU datasheet quotes deep sleep for the MCU alone. The board's floor also carries the regulator's quiescent current, the sensor in standby, pull-up resistors that are held low and leakage. Measure it on the assembled board. Same node, same 15-minute cycle, four sleep floors:

Sensitivity to the sleep current (15-minute cycle, 2 x AA lithium)
Sleep currentAverage drainLife (hours)Life
2 µA98.1 µA26,0003.0 years
5 µA101.1 µA25,2332.9 years
18 µA114.0 µA22,3742.6 years
40 µA135.8 µA18,7742.1 years

Going from 18 µA down to 2 µA buys 16% more life. Letting the floor drift up to 40 µA costs 16%. In this node the radio dominates, so the floor matters less than it would in a node that wakes rarely. To compare sleep figures across parts before you choose one, start from the MCU Selector, then confirm in each datasheet.

The reporting interval is the biggest lever

Every wake-up costs the same 83.4 mA·s, so the interval scales the largest term directly. Same node, 18 µA sleep:

Sensitivity to the reporting interval (18 µA sleep, 2 x AA lithium)
IntervalAverage drainLife (hours)Life
Every 5 minutes299.1 µA8,52711.7 months
Every 15 minutes114.0 µA22,3742.6 years
Every 30 minutes67.7 µA37,6674.3 years
Every 60 minutes44.6 µA57,2256.5 years

At 60 minutes the sleep floor has grown to 40% of the budget, so the two levers start to work together. Treat the 6.5 years as arithmetic, not a promise. The model holds temperature, self-discharge and firmware behaviour constant for the whole life, and no bench test before launch can confirm a figure that long.

Derate the cell before you trust the number

The usable share is the input people leave at 100%. The same node, step by step from the raw rating to a more cautious set of assumptions:

What each assumption costs (15-minute cycle, 18 µA sleep)
AssumptionUsable capacityAverage drainLife
Full 3,000 mAh, no self-discharge3,000 mAh110.55 µA27,138 h (3.1 years)
85% usable2,550 mAh110.55 µA23,067 h (2.6 years)
85% usable, 1% a year self-discharge2,550 mAh113.97 µA22,374 h (2.6 years)
70% usable (assumed)2,100 mAh113.97 µA18,426 h (2.1 years)
2 x AA alkaline, 2,500 mAh, 85%, 3% a year2,125 mAh119.11 µA17,841 h (2.0 years)
2 x AA alkaline, 60% usable1,500 mAh119.11 µA12,594 h (17.2 months)

Where the usable share comes from: the cutoff voltage, the load and the temperature. Energizer's alkaline handbook shows it plainly: an AA cell at 100 mA gives 2,500 mAh to a 0.8 V cutoff and 1,500 mAh to 1.2 V, 60% of it. That is a heavier load than this node draws, so take it as the shape of the effect, not as your number. If your regulator or MCU stops at a high voltage, the last part of the cell stays unused.

Self-discharge depends on the chemistry and on heat. Energizer gives cylindrical alkaline cells about 3% a year at 20 °C, lithium coin cells about 1% a year at room temperature, and AA lithium iron disulfide cells about 95% of capacity retained after 20 years of storage. The tool uses 1% a year for lithium primary cells, the cautious end of the two lithium figures. Warm storage raises all of them.

Cold is less of a problem for lithium iron disulfide than for alkaline. Energizer's lithium handbook gives an operating range of -40 °C to +60 °C and says the AA cell delivers about its full rated capacity at -40 °C at a 25 mA drain. For chemistry choices beyond primary cells, see Choosing a Battery for Your Hardware Product.

Check the pulse, not only the average

An average current says nothing about whether the cell can deliver the burst. Run the same profile on a CR2032 coin cell (225 mAh, the tool's typical figure) and the average is 110.8 µA, about 2.4 months, which is already a poor fit. The worse problem is the 45 mA transmit burst. Energizer's coin handbook puts the starting internal resistance of a 2032 cell near 10 ohms, and says it rises as the cell discharges.

45 mA through 10 ohms is a 0.45 V drop on a fresh cell, and the drop grows as the cell discharges. The tool warns above 15 mA for a CR2032, a deliberately cautious figure, but it only sees the folded 13.9 mA, so here it stays silent: folding averages the burst away. Check the peak of every state yourself. The AA lithium cell has no such problem: its handbook says the AA size can deliver pulses up to 3 A over 100 ms to 2 s. Size the cell for the average and for the peak.

Measure it, then compare with the estimate

  1. Capture one full cycle with enough time resolution to see the transmit burst and the receive windows as separate shapes.
  2. Measure the sleep floor over minutes, not seconds, on the assembled board with the firmware you will ship.
  3. Integrate the charge of each state and put it next to the matching row of your budget table. The row that disagrees is where the estimate was wrong.
  4. Add the rare events as their own rows: network joins, retries, sensor calibration, firmware updates. Charge per event times events per day, divided by 86,400 s, is that event's share of the average current.
  5. Re-run the estimate with the measured numbers, and keep the table with the design files.

Rare events add up. A daily 30 s event at 20 mA is 600 mA·s a day, which spreads to 6.94 µA, about 6% of this node's 113.97 µA budget. Instruments and firmware techniques for getting the currents down are in Reducing Power Consumption in Battery Devices.

What the estimate cannot tell you

  • Ageing and temperature swings: the model holds both constant for the whole life.
  • Cell-to-cell spread: two cells from the same box will not end on the same day.
  • Firmware that fails to sleep: one stuck peripheral or a retry loop on a weak link can multiply the average current.
  • Field conditions: a node at the edge of coverage transmits more, and longer, than the one on your bench.

Use the estimate to compare designs and to find the dominant term, then keep a margin on whatever you promise. Our firmware development work covers low-power behavior and bring-up on the first prototypes, where these numbers are first measured.

Sources

Want a second pair of eyes on your power budget before the board is built? Book a call.

Frequently asked questions

How do I measure sleep current accurately?

Measure the assembled board, running the firmware you will ship, over several minutes rather than a few seconds. Use an instrument that resolves microamps and also survives the wake-up bursts. Compare the reading with the sum of the datasheet figures for every part on the rail, and chase any gap before you trust the estimate.

Why is my real battery life shorter than the calculated one?

Usually one of four things. The sleep floor on the board is higher than the MCU figure you used. Rare events such as joins and retries were left out. The cell delivered less than its rating because of the cutoff voltage, the load or the cold. Or the firmware sometimes fails to return to sleep.

How do I estimate battery life from the figures in a manufacturer's datasheet?

Take each part's current in each mode and add the parts that are on together, state by state. Multiply by the time spent in each state, sum the charge for one cycle and divide by the cycle length. Treat the result as a first pass and replace every figure with a measurement once a board exists.

Does a higher-capacity battery always last longer?

Not always. A larger cell lasts longer only if it can deliver the peak current, runs above your cutoff voltage for most of its discharge and does not lose more to self-discharge. A coin cell with high internal resistance can sag below the brown-out threshold during a radio burst while plenty of charge is still left.

How much does the reporting interval change battery life?

In the worked example the interval is the largest lever. With the same node and an 18 µA sleep floor, reporting every 5 minutes gives 11.7 months, every 15 minutes 2.6 years and every 60 minutes 6.5 years on paper. Past a point the sleep floor and self-discharge take over and longer intervals help less.

Battery Life Calculator
Duty-cycle battery life with the two corrections hobby calculators skip: usable-capacity derating and self-discharge. Shareable link to your exact calculation.
Try the calculator: Battery Life Calculator

Building something hardware-shaped?

We help hardware founders go from sketch to certified product. Bring the spec, or just the idea, to a free 30-minute call with a senior engineer. Prefer email? A senior engineer reads every one.