Blog · Design

Measure the battery. Don't calculate it.

Why sleep current and cold decide your battery life, how to measure a full real day on real hardware, and which number to promise your customer.

Batteries have taught me the same lesson three times.

The first time was at Shake-On, a Bluetooth bracelet that swapped contact details when two people shook hands. It was my first wearable and my first trip to Shenzhen. We had a lot of trouble with suppliers and the quality of their LiPo cells (lithium polymer, the thin soft pouch cells in most wearables). I made many mistakes there.

The second time was at Xeelas, where our sensors sat outside, on tanks and generators. In 2018 I went back to Shenzhen looking for something better than LiPo, and came home with LTO cells that can charge far below zero.

Visiting battery suppliers.
Visiting battery suppliers.

The third time was April 2026. A battery spec that held up fine on the bench died in the field at minus 5 degrees. We redesigned the sleep-current path, which is the part of the circuit that still draws power while the device sleeps. It cost us three weeks.

The lesson is a boring one: measure the real duty cycle before you promise a battery life. The duty cycle is the pattern of how long a device is awake and how long it's asleep.

Every connected product ends up with a battery life on the box or in the quote. So where does that number come from, and how do you get to one you can keep?

Where the battery goes in a day

Take a simple sensor. Once an hour it wakes up, measures, sends one radio message and goes back to sleep. That takes about 3 seconds, so 24 messages add up to 72 seconds a day. For the other 23 hours, 58 minutes and 48 seconds it sleeps.

Awake, it draws about 40 milliamps on average (a milliamp is a thousandth of an amp). Asleep, a good design draws around 5 microamps (a microamp is a millionth of an amp). That's 8,000 times less. Batteries are rated in milliamp-hours, written mAh: 1 mAh is one milliamp flowing for one hour.

Now add up a day. The 72 seconds awake cost 0.8 mAh. The sleep, at 5 microamps, costs 0.12 mAh. So sleep takes 13 percent of the battery and the radio takes the rest.

Change one thing. Something on the board stays switched on during sleep, and the sleep current is 100 microamps instead of 5. Sleep now costs 2.4 mAh a day, which means 75 percent of the battery goes to a device that's doing nothing.

Asleep 99.9 percent of the dayasleep: 23 hours, 58 minutes and 48 secondsawake: 72 seconds, for 24 messagesSHARE OF THE BATTERY USED WHILE ASLEEP5 microamps asleep13%50 microamps asleep60%100 microamps asleep75%500 microamps asleep94%
One 3-second message per hour means 72 seconds awake per day, and the higher the sleep current, the bigger the share of the battery used while asleep.

And 100 microamps is easy to reach. A datasheet (the maker's spec sheet for a part) will tell you your chip sleeps at 2 microamps. Your board is more than that chip. There's a voltage regulator that uses a little current of its own, a sensor that never fully switches off, a resistor someone forgot. Each one is tiny, and together they can draw many times what the chip does.

What the cold does

A battery makes electricity through a chemical reaction, and cold slows that reaction down. The battery delivers less of its capacity, so your 2,400 mAh is no longer 2,400. And its internal resistance goes up, so the voltage drops further whenever you pull current from it.

When the radio switches on, it pulls a short burst of current, and in the cold the voltage dips deeper during that burst. If it dips below what the chip needs, the chip resets. That's called a brownout, and it can happen while the battery is still half full.

Heat does a different kind of damage: it ages the cells faster. And every battery slowly loses charge with nothing connected, which is called self-discharge.

Start with the sum, then stop trusting it

Do the calculation anyway. It gives you the best case, and it shows how much sleep current you can afford.

Take the sensor from above on a 2,400 mAh battery. At 5 microamps asleep, a day costs 0.8 plus 0.12, so 0.92 mAh. Divide 2,400 by 0.92 and you get about 2,600 days, or 86 months. That's 7 years. At 100 microamps a day costs 3.2 mAh, and the same battery lasts 750 days, about 25 months. You promised 7 years and you deliver 2.

Battery life depends on sleep current5 microamps asleep86 months, about 7 years50 microamps asleep39 months, about 3 years100 microamps asleep25 months, about 2 years500 microamps asleep6 months
The same 2,400 mAh battery sending one message per hour lasts 86 months at 5 microamps asleep and only 6 months at 500.

Run the sum backwards too. Say the customer needs 3 years. A sleep current of 50 microamps gets you 39 months on paper, with nothing left over for cold, aging or a bad network, so the real target has to be well under 50. You want to know that before the board is laid out, when you can still pick a different regulator or add a switch that cuts the power to a sensor during sleep.

Measure a full day on the real board

The sum is built from datasheet numbers, so now check it against the board. A normal multimeter won't do, because the current jumps from microamps to tens of milliamps and back in a fraction of a second. You need a power analyzer, a bench instrument that records current over time and can see microamps.

Use the real board, the real firmware and the real radio, inside the closed enclosure. Record a full day, because a day includes the moments when the network is bad and the device tries again. Those retries are often the biggest consumer of all, and they never show up in a spreadsheet.

Then repeat the measurement at the coldest and the hottest temperature you'll sell into. A temperature chamber is the proper tool, and a kitchen freezer is a fine first test.

Last, take a margin off for aging and self-discharge, and promise that lower number. As a made-up example: you measure 30 months warm and 24 months cold, and you put 18 months in the quote.

Pick the chemistry for the weather, and know who made the cell

Decide the temperature range first, then the battery. A cell that works in a living room may not charge on a tank in January. Most lithium cells still deliver power below freezing, but charging them there does permanent damage. Look up the lowest charging temperature in the cell's datasheet. It's often 0 degrees.

That was the problem at Xeelas. The unit sat on diesel tanks that had no power of their own, so it ran on a solar panel and had to charge its battery whenever there was sun, winter included. LTO cells (lithium titanate) can charge far below zero, and that made the unit usable in much harsher places.

Sourcing solar panels for the Xeelas solar unit.
Sourcing solar panels for the Xeelas solar unit.

Then ask your pack supplier who makes the cells, and in which factory. If nobody can answer, nobody checked. That matters for safety too: when a lithium cell gets hot enough, its own chemistry starts to produce more heat. That starts around 150 degrees in a good cell and around 110 in a cheap one with impure materials, and from there to open flame can take about 20 seconds.

So the pack needs a BMS (battery management system, a small circuit that cuts the battery off when it's charged too far, drained too far or too hot). Carriers will also ask for the UN 38.3 report, the test that shows a lithium battery is safe to ship. A pack built properly can cost up to about four times the no-name one. Check with a test lab which tests your product needs before you order cells.

Add a ship mode and a backup

Add a ship mode: a deep sleep the unit enters at the end of the production line and stays in until the customer first uses it. Without it, the battery can be flat after two months at sea.

Add a test point too (a small bare copper pad) where the factory's test fixture can measure sleep current on every unit. A board that draws far too much while asleep still switches on, measures and sends, so no other test will catch it.

Arrange a backup as well. A second source is another maker's part that fits the same spot and does the same job. Each part that can stop the production line needs one, built into real boards and measured the same way.

Where it goes wrong

Battery life from a spreadsheet. Datasheet sleep currents, room temperature, no retries. The field delivers a fraction of what's on the box. Measure a full real day before the number goes into a quote.

Measuring on the bench only. An open board at 20 degrees with good signal tells you little about a closed unit outside in winter. Finding a high sleep current after the boards are made means a redesign and new boards, which takes weeks. Measure the finished unit, and measure it cold.

The prototype battery that stayed. The cell in your first build came from a consumer marketplace and nobody replaced it. Sellers there can change what's inside without telling you, so one batch behaves differently from the last and you can't trace why. Before the parts list is locked, check that every line comes from a supplier you can name.

No ship mode. Units arrive after two months in a container with a flat battery, and the customer's first experience is a product that won't switch on. It's a firmware feature plus one step at the end of the line, so put it in the requirements for the first board.