From Code To Current: Reducing Energy Consumption in Zephyr
summary
A coin‑cell Bluetooth window sensor gets built (reed, SHTC3, ALS PT19, LED, BT Home for Home Assistant) and is profiled with a Power Profiler Kit v2 plus oscilloscope and shunt; baseline is 684 µA -> 19.5 days. Enabling Zephyr power management and slowing BLE ads yields 28 µA -> 446 days. Adding PM device/runtime support and driver hooks drops average to 16 µA -> ~833 days, with caveats about wake timers, peripheral drivers, and measurement rig cleanliness.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 3:51Power measurement tools
- 6:23Zephyr power basics
- 8:51Sleep modes in device tree
- 10:38Bluetooth ad frequency
- 13:08Peripherals and sensors power
- 16:19Sensor driver power management
- 19:33Nordic runtime power
- 22:24Driver power management
- 24:11App-level power management
- 25:41MCU power implementation
- 27:50CPU power comparison
- 30:22Sensor validation after wake-up
- 31:50Parasitic power avoidance
- 33:16Power optimization best practices
- 35:03Power graph analysis
- 36:08Q&A
related talks
43mFrom Code To Current: Reducing Energy Consumption in Zephyr
46mDevice Power Management: Journey to 5uA
50mWhy Does My Smartphone Battery Die in One Day?
22mSqueezing every drop of juice from your energy source
59mWorkshop: 3 best practices to create a long battery life for IoT devices
41mZephyr RTOS: Under 1KB of RAM
15mCurrent state of energy harvesting and LoRaWAN
22mPower optimization for Android
