ESP32 Sleep Power Consumption Too High
DodaTech
Updated 2026-06-26
1 min read
In this tutorial, you'll learn about ESP32 Sleep Power Consumption Too High. We cover key concepts, practical examples, and best practices.
The Problem
ESP32 deep sleep current is much higher than the expected 10 uA.
Quick Fix
Wrong
esp_deep_sleep_start();
// Current: 500 uA (too high!)
Battery drains in days instead of months.
Right
gpio_hold_en(GPIO_NUM_2); // Hold output pins
gpio_deep_sleep_hold_en();
esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_OFF);
esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_FAST_MEM, ESP_PD_OPTION_OFF);
esp_deep_sleep_start();
// Current: ~10 uA
Deep sleep current: 8.5 uA (measured with multimeter)
Prevention
Disconnect external peripherals during sleep. Set unused GPIOs to LOW. Disable RTC domains if not needed. Use GPIO hold to maintain output states. Measure current with a multimeter in series.
DodaTech engineers apply these same patterns across Doda Browser, DodaZIP, and Durga Antivirus Pro for production IoT reliability.
FAQ
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro