Power Management in IoT: How to Make a Device Last Years on One Battery
In a utility cupboard somewhere in Manchester, a gas meter fitted in 2015 is still sending a reading every night. Same battery. Nobody has opened the case. Meanwhile, the ESP32 sensor you built last weekend — the one on the windowsill reporting temperature to a dashboard — is dead. Three days on two AA cells. The two devices aren't as different as they look. Both are a microcontroller, a sensor and a radio. Both wake up, take a measurement, send a few bytes and go back to sleep. The difference between three days and fifteen years isn't a better battery — it's what the device does with the 99.8% of its life when nothing is happening. That's what power management in IoT actually is: not a component you buy, but a set of decisions about sleeping, waking and talking. 🔋 The Short Version Every battery-life question comes down to one division: capacity divided by average current. A pair of AA lithium cells holds about 3,000 mAh. Draw 3 mA on average and you get six week...