Designing Battery-Powered IoT Devices for 5-Year Runtime
Start Blog Designing Battery-Powered IoT Devices for 5-Year Runtime
Hardware Firmware IoT Hardware Power

Designing Battery-Powered IoT Devices for 5-Year Runtime

📅 October 2025 ⏳ 3 min read FSS Engineering Team
MCU

Battery power budget analysis — every microamp counts when targeting 2+ year coin cell runtime

Getting 5 years from a coin cell requires systematic optimisation at every level: MCU selection, sleep mode architecture, peripheral power gating, radio duty cycling, and firmware design.

Start with a Power Budget

// Power budget — GEST v2 (CR2032, 225 mAh)

State            | Current  | Duty  | Avg μA
Deep sleep       | 3 μA     | 98.8% | 3.0
BLE advertise    | 4 mA     | 0.8%  | 32.0
BLE connected    | 6 mA     | 0.15% | 9.0
Button wakeup    | 5 mA     | 0.25% | 12.5
-----------------------------------------
Total: ~57 μA → 2+ years on CR2032 ✓

Deep Sleep Architecture

Design firmware as an event-driven state machine spending 99%+ of time in deepest sleep. Wake only on hardware interrupt and return to sleep as fast as possible.

// ESP32 — wake from deep sleep on GPIO + timer

esp_sleep_enable_timer_wakeup(30 * 1000000ULL);
esp_sleep_enable_ext0_wakeup(BUTTON_PIN, 0);
esp_deep_sleep_start();  // ~8μA
🔋 Real lesson
On GEST v1, a bug prevented BLE connection termination if the gateway did not disconnect explicitly. Devices stayed BLE-connected for minutes instead of seconds. Battery life dropped from 18 months to 3 months. Always test worst-case connection scenarios, not just happy path.

Peripheral Power Gating

One of the most impactful techniques for extending battery life is cutting power to peripherals that are not in use. A temperature and humidity sensor drawing 1mA during measurement can be powered through a P-MOSFET switched by a GPIO pin. During deep sleep, the sensor receives no power at all. At a 5-second measurement interval with a 50ms active period, this reduces sensor contribution to average current by 99%.

Similarly, NOR flash chips draw 30–100μA in standby. Calling spi_flash_deep_sleep() before entering MCU sleep mode eliminates this entirely. SPI flash in deep sleep draws under 1μA on most parts. On a device with a 2-year battery target, these microamp savings compound into months of additional runtime.

LDO vs Switching Regulator

The choice between an LDO (linear regulator) and a switching regulator (SMPS) is nuanced for ultra-low power designs. At load currents above 20mA, a switching regulator is almost always more efficient — 85–95% vs 60–80% for an LDO. But at the microamp loads seen during deep sleep, the regulator’s quiescent current (Iq) dominates. Some LDOs have Iq below 1μA; switching regulators rarely achieve below 5μA Iq.

The practical solution: use a switching regulator for the main supply rail during active operation, and choose a regulator with a low-power mode or use a separate LDO for the always-on domain. On GEST v2, we use a TPS63036 buck-boost for the main rail and a TLV733P LDO (1μA Iq) for the always-on RTC and wake logic.

Firmware Discipline for Battery Life

Hardware optimisation only goes so far. Firmware discipline is equally important. Every millisecond spent with the CPU running at full speed costs battery. After waking from sleep, process data as quickly as possible and return to sleep. Avoid spin-wait loops — use interrupt-driven or DMA-based peripheral communication. Log aggressively during development to understand your actual wake time vs expected wake time; we have found bugs that caused 10x longer wake times than intended, halving projected battery life.

Battery-powered IoT design is a discipline that touches every layer of the product — from component selection and PCB layout to firmware architecture and factory test procedures. At FSS we design both hardware and firmware in the same team, which is the only way to achieve the tight co-optimisation that multi-year battery life requires.

Building an IoT product?

FSS is a full-stack IoT engineering team — hardware, firmware, cloud, and mobile in one place.

Our IoT capabilities →

Related articles

Building something connected?

FSS Technology designs and builds IoT products from silicon to cloud — embedded firmware, custom hardware, and Azure backends.

Talk to our team →