Why your ESP32 battery lasts days, not months
The 10 µA deep sleep figure is for a bare ESP32 module. A typical dev board measures 5 to 20 mA in deep sleep, because the USB bridge chip, the voltage regulator and the power LED keep drawing current while the chip sleeps.
Read the full guide: ESP32 Power Consumption: Datasheet vs. Reality
Watch on YouTube, or see every video on the Hubble Network Community channel.
Transcript
You did the math on a three thousand milliamp-hour battery. Deep sleep at ten microamps, per the datasheet. Six months, minimum. You got four days. So where did the battery go?
That ten microamp figure is real. But it was measured on a bare module, with nothing else on the board. Now put a typical dev board in deep sleep and measure it. Five to twenty milliamps. Five hundred to two thousand times the datasheet. The chip is asleep. So what’s still drawing current?
The USB bridge chip, waiting for a connection that isn’t coming. Five to twenty milliamps. The regulator on most budget boards. Five to ten, just to exist. The power light. Two to five. And the ESP32 itself, ten microamps. In deep sleep, it’s probably the most efficient thing on your board. So before you blame your code, ask a harder question. What on your board never sleeps?
Measure at the battery first. Fix the biggest leak. Then measure again. The guide traces every leak, from the board to your own code.