Introduction
The ESP32 is widely used in IoT devices, wireless sensors, smart-home systems, and battery-powered electronics. Its built-in Wi-Fi and Bluetooth connectivity make it suitable for projects that collect sensor readings, communicate with servers, and control external hardware.
These features draw power even when an application has very little work to perform. A device connected to a wall adapter can tolerate continuous operation, but a battery-powered project needs closer attention to current consumption. For techniques that address power use beyond the ESP32’s built-in sleep modes, see our low-power circuit design guide.
Consider a temperature sensor that sends readings to a server every ten minutes. The ESP32 may need only a few seconds to collect data and transmit it. Keeping the processor and wireless radio active throughout the remaining time wastes energy.
The original ESP32 provides five power modes that help manage this situation. They change the operating state of internal components, allowing the chip to reduce power consumption during periods of inactivity.
ESP32 Power Modes
The original ESP32 supports five power modes:
- Active Mode: Normal processing and wireless operation.
- Modem-sleep: The CPU remains operational while Wi-Fi and Bluetooth radio activity is reduced.
- Light-sleep: The CPU and digital peripherals are paused through clock gating.
- Deep-sleep: The CPUs and most digital peripherals are powered down, while selected RTC-related components remain available.
- Hibernation: Most internal functions are disabled, with the RTC timer and certain RTC GPIO functions available for wake-up.
Understanding the ESP32 Internal Architecture
The ESP32 contains several functional blocks that handle processing, wireless communication, memory, timing, and external interfaces. Their operating states change as the chip enters different power modes.
The main component groups include Bluetooth, Wi-Fi, ESP32 Core & Memory, the ULP Coprocessor, RTC Controller, RTC Memory, RTC Peripherals, and Digital Peripherals.

Bluetooth and Wi-Fi handle wireless communication, while the ESP32 Core & Memory executes the main application. Digital Peripherals provide interfaces such as GPIO, SPI, I2C, and UART for connected hardware.
The RTC Controller manages low-power timing and wake-up functions. RTC Memory retains selected data when its power domain remains enabled, while the ULP Coprocessor can perform supported monitoring tasks during sleep.
ESP32 Active Mode
Active Mode is the ESP32’s normal operating state. The processor executes application code, digital peripherals can operate, and the wireless radio can transmit or receive data.
A running application might read a sensor, process measurements, update an LCD, and send information through Wi-Fi. All these tasks contribute to the chip’s current consumption.
A Wi-Fi transmission can draw several times the current of a lightly loaded application.
Active Mode Power Consumption
Wireless communication can produce some of the highest current demands in an ESP32 project. Wi-Fi transmission, in particular, draws considerably more current than many ordinary peripheral operations. For a broader look at Bluetooth and BLE in embedded products, see our guide to Bluetooth in embedded systems and IoT devices.
| Operation | Radio configuration | Typical current |
|---|---|---|
| Wi-Fi TX | 802.11b, 1 Mbps, +19.5 dBm | 240 mA |
| Wi-Fi TX | 802.11g, 54 Mbps, +16 dBm | 190 mA |
| Wi-Fi TX | 802.11n, MCS7, +14 dBm | 180 mA |
| Wi-Fi RX | 802.11b/g/n | 95–100 mA |
| Bluetooth/BLE TX | 0 dBm | 130 mA |
| Bluetooth/BLE RX | Receive | 95–100 mA |
These are representative radio current measurements under specified datasheet conditions. They describe particular transmission and reception operations rather than a constant current for every Active Mode application.
The actual reading changes with transmit power, data rate, wireless activity, CPU workload, supply conditions, and connected peripherals.

ESP32 Modem Sleep
Modem-sleep reduces wireless power consumption while allowing the CPU to remain operational. It is designed for applications that maintain a Wi-Fi station connection but do not exchange data continuously.
This lets a connected sensor remain associated with its access point while reducing radio activity between data exchanges.
How Does Modem Sleep Work?
The ESP32 Wi-Fi power-saving mechanism uses beacon timing and the Delivery Traffic Indication Message (DTIM).
A Wi-Fi access point can buffer data intended for a connected station. The ESP32 wakes its receiver to listen for beacons and check whether the access point has data waiting.
Minimum Modem Power Saving wakes the station at each DTIM interval to receive beacon information. This helps preserve buffered broadcast data, although the amount of energy saved depends partly on the access point’s DTIM configuration.
Maximum Modem Power Saving allows the station to wake according to its configured listen interval. This interval can be longer than the DTIM period, reducing radio activity further. Broadcast data may be missed while the station is sleeping during a DTIM interval.
Longer listen intervals reduce radio activity, but delay the station’s next check for incoming data.
CPU Frequency and Current Consumption
The CPU stays operational during Modem Sleep. Its frequency and workload therefore influence the total current drawn by the chip.
According to the original ESP32 datasheet, the representative current figures for different CPU configurations are:
| CPU frequency | Chip configuration | Typical current |
|---|---|---|
| 240 MHz | Dual-core | 30–68 mA |
| 160 MHz | Dual-core | 27–44 mA |
| 160 MHz | Single-core | 27–34 mA |
| 80 MHz | Dual-core | 20–31 mA |
| 80 MHz | Single-core | 20–25 mA |

ESP32 Light Sleep
Light Sleep reduces power consumption by pausing the processor and many digital peripherals while retaining their internal state.
It uses a technique called clock gating. Digital circuits rely on clock signals to coordinate their operations. Stopping selected clock signals reduces unnecessary switching while allowing the circuits to resume when the ESP32 wakes.
During Light Sleep, the CPUs, most of the RAM, and digital peripherals are clock-gated. Their supply voltage is also reduced according to the sleep configuration.
The original ESP32 datasheet lists approximately 0.8 mA as a representative Light Sleep current. Actual consumption depends on the selected power domains and external circuitry.

Light Sleep Wake-Up Sources
The ESP32 can wake from Light Sleep when a supported event occurs. These events allow the application to pause while waiting for an external signal, timer, or peripheral activity.
GPIO wake-up responds to configured input levels on supported digital or RTC GPIO pins.
UART wake-up detects incoming serial activity, allowing an external device to wake the ESP32.
Timer wake-up uses the RTC timer to resume the application after a programmed interval.
The original ESP32 can also wake when a configured capacitive touch electrode detects a touch event.
Wake-up support depends on the selected pin, chip revision, and RTC power-domain configuration.
Light Sleep and Wi-Fi Connectivity
Ordinary Light Sleep powers down the wireless peripherals. Active Wi-Fi and Bluetooth connections are therefore not maintained while the chip remains in this state.
Espressif also supports automatic Light Sleep with Wi-Fi or Bluetooth Modem Sleep power management. The wireless driver can wake the system when communication is required, allowing the connection to remain active.
For Wi-Fi connection continuity, configure Modem Sleep with automatic Light Sleep through the wireless power-management options.
This mode suits devices that must resume their application state after a short idle period.
ESP32 Deep Sleep
Deep Sleep is designed for applications that remain idle for extended periods and only need to perform work occasionally.
Deep Sleep powers down the CPUs, most RAM, and APB-clocked digital peripherals. Selected RTC components remain available for timing, memory retention, and wake-up events.
The main components involved include the RTC Controller, RTC Fast Memory, RTC Slow Memory, ULP Coprocessor, and selected RTC Peripherals.
The enabled RTC power domains depend on the wake-up source. ULP monitoring needs its program memory and required RTC peripherals powered.
Deep Sleep Current Consumption
The original ESP32 datasheet specifies several Deep Sleep current conditions:
| Deep Sleep configuration | Representative current |
|---|---|
| ULP Coprocessor powered | 150 µA |
| ULP sensor-monitored pattern at 1% duty | 100 µA |
| RTC timer with RTC memory | 10 µA |
Each figure applies to a specific power-domain and wake-up configuration.
For example, the ULP sensor-monitored pattern uses the coprocessor to perform periodic monitoring tasks. Its average current depends on how often the ULP operates and which peripherals it uses.
Timer-only sleep can use fewer active power domains than a ULP monitoring configuration.

Deep Sleep Wake-Up Sources
The original ESP32 supports several wake-up sources that allow it to resume operation after a programmed time or external event.
Timer Wake-Up uses the RTC controller’s internal timer to wake the chip after a programmed interval. The time is specified in microseconds, although actual resolution depends on the selected RTC slow-clock source.
ESP-IDF configures this source with esp_sleep_enable_timer_wakeup(). It suits periodic tasks such as a sensor reading sent every few minutes.
External Wake-Up uses supported RTC GPIO pins to detect external signals. The original ESP32 provides EXT0 and EXT1 wake-up methods, each with different input requirements. Use our ESP32 pinout guide to check the RTC GPIO options against your development board’s pin labels.
EXT0 monitors one RTC GPIO pin and wakes the chip when it reaches a configured logic level. It is useful for a single button, switch, or external signal.
EXT1 monitors multiple RTC GPIO pins through the RTC controller. Its supported logic conditions include waking when any selected pin is high or when all selected pins are low.
| Feature | EXT0 | EXT1 |
|---|---|---|
| Pins monitored | One RTC GPIO | Multiple RTC GPIOs |
| Control logic | RTC IO | RTC Controller |
| Wake-up condition | Configured pin level | Any selected pin high or all selected pins low |
| Common use | Single button or signal | Multiple inputs |
Check the RTC GPIO selection and power-domain requirements. On original ESP32 revisions 0 and 1, EXT0 cannot be combined with ULP or touch wake-up.
Touch Wake-Up uses the original ESP32’s capacitive touch-sensing hardware. The touch interrupt must be configured before entering Deep Sleep, and its availability depends on the chip revision and RTC peripheral settings.
ULP Sensor Monitoring allows the Ultra-Low-Power coprocessor to monitor supported inputs while the main CPU remains asleep. It can periodically poll sensors, examine ADC readings, or monitor GPIO states.
A battery-powered sensor can use the ULP to check a reading and wake the main CPU when it crosses a programmed threshold.
The ULP program runs from RTC Slow Memory. Its required RTC peripherals are powered while the coprocessor runs.
Deep Sleep Wake-Up and RTC Memory
Deep Sleep changes how the application resumes after a wake-up event. The main CPU and most of the system RAM are powered down, so ordinary RAM variables do not survive the sleep period.
After wake-up, the ESP32 follows its boot process and initializes the application again. Firmware can check the wake-up cause before continuing.
Selected information can survive in RTC memory when the relevant memory power domain remains enabled. This is useful for retaining counters, state information, or data needed after the next wake-up.
The original ESP32 also supports a Deep Sleep Wake Stub. This is a small function that can execute very early during wake-up, before the normal application startup sequence.
A wake stub is useful for short operations that need to run immediately. Its code must follow the restrictions for execution during this early stage.
ESP32 Hibernation Mode
Hibernation is the lowest-power mode listed for the original ESP32 in its datasheet’s five-mode comparison.
The internal 8 MHz oscillator and ULP Coprocessor are disabled, and RTC recovery memory is powered down. The RTC slow-clock timer remains active, along with certain RTC GPIO functions that can also support wake-up.
For the RTC-timer-only configuration, the original ESP32 datasheet lists approximately 5 µA of current consumption.
RTC memory is unavailable for retaining application variables through Hibernation. After waking, the ESP32 must restart the application and initialize its required peripherals again.

The diagram represents the RTC-timer-only configuration. Certain RTC GPIO wake-up functions are also supported by the original ESP32 hardware.
ESP32 Sleep Modes Comparison
The five power modes differ in current consumption, processor state, memory retention, and wireless connectivity.
| Power mode | Processor state | Wireless behaviour | Representative current |
|---|---|---|---|
| Active | Operational | Radio available | Depends on activity |
| Modem-sleep | Operational | Wi-Fi connection can be maintained | 20–68 mA, depending on conditions |
| Light-sleep | Clock-gated, state retained | Connections not maintained in ordinary Light Sleep | 0.8 mA |
| Deep-sleep | Powered down | Wireless connections not maintained | 10–150 µA, depending on configuration |
| Hibernation | Powered down | Wireless functions unavailable | 5 µA, RTC timer-only |
These are representative figures for the original ESP32. Actual current depends on the enabled power domains, firmware, wake-up sources, and external circuitry.
Why Does an ESP32 Development Board Consume More Power?
A common issue in low-power projects is that the development board draws much more current during Deep Sleep than the chip-level datasheet figure suggests.
An ESP32 development board contains additional components for power regulation, USB programming, and status indication. Some continue consuming power while the ESP32 module is asleep.
- Voltage regulators and their quiescent current.
- USB-to-serial converter chips.
- Power indicator LEDs.
- External sensors and displays.
- Pull-up and pull-down resistors.
- Connected modules and other accessories.
For example, a voltage regulator may continue drawing current even when its output is supplying almost no load. A permanently connected power LED can also consume current throughout the sleep period. These are board-level power design considerations; our guide to power supplies for embedded systems explains regulator selection and power-rail design in more detail.
Espressif advises against measuring the module’s current directly through a development board. Other circuits on the board remain powered and affect the measurement.
Measure the complete product to estimate its real battery life. Chip-only figures exclude the rest of the board.
How to Measure ESP32 Power Consumption
Accurate current measurement helps identify whether an ESP32 project enters the intended sleep mode and whether external components are consuming extra power.
Current can change sharply as the device moves between Deep Sleep, wake-up, sensor operation, and wireless transmission. A single multimeter reading may miss these short changes.
A power profiler can capture low sleep currents and brief operating peaks. Espressif documents tools such as Joulescope and Nordic Power Profiler Kit II.
Practical Measurement Checks
- Measure the complete device under its normal operating conditions.
- Check the sleep current after the chip enters the configured sleep mode.
- Observe the current during wake-up and wireless transmission.
- Choose an instrument with a suitable measurement range and low burden voltage.
- Test the module separately when investigating chip-level current.
Meter burden voltage can affect the ESP32 supply. Choose an instrument that measures both microamp sleep current and milliamp operating peaks.
Check GPIO pull-ups, pull-downs, and external peripherals for current paths that remain active during sleep.
How to Calculate ESP32 Battery Life
Battery life depends on the average current consumed by the complete circuit. The ESP32’s sleep current alone does not account for sensor operation, wireless transmission, voltage regulation, or external components.
A device can spend minutes in Deep Sleep, then draw high current while waking, connecting to Wi-Fi, and sending data.
Average Current Calculation
For a device with active and sleep periods, average current can be estimated with:
\[ I_{avg} = \frac{I_{active}\times t_{active}+I_{sleep}\times t_{sleep}}{t_{active}+t_{sleep}} \]
Here, Iactive is the current during active operation, while Isleep is the current during the sleep period. The two time values represent the duration of each state.
Consider a sensor that draws 100 mA for two seconds and 0.01 mA for the remaining 598 seconds of a ten-minute cycle.
\[ I_{avg} = \frac{(100\times2)+(0.01\times598)}{600} \]
\[ I_{avg}\approx0.343\text{ mA} \]
If the battery provides 1,600 mAh of usable capacity, the simplified runtime calculation becomes:
\[ \text{Runtime} = \frac{1600}{0.343} \]
This produces approximately 4,665 hours, or about 194 days, under the stated assumptions.
Actual runtime can be shorter because of battery self-discharge, temperature, voltage-conversion losses, regulator current, wireless peaks, and the usable capacity available at the chosen discharge rate.
Measure several complete cycles, including wake-up, sensor activity, wireless transmission, and sleep.
Which ESP32 Sleep Mode Should You Choose?
Choose a mode according to the application’s connection, response-time, and memory requirements.
| Project requirement | Mode to consider | Reason |
|---|---|---|
| Continuous processing or wireless communication | Active Mode | Normal processor and radio operation |
| Maintain Wi-Fi connectivity while reducing radio activity | Modem-sleep | The CPU remains operational and the station can maintain its AP connection |
| Pause briefly and resume application state | Light-sleep | Internal state is preserved |
| Wake periodically or from supported external events | Deep-sleep | Selected RTC functions remain available |
| Remain inactive for long periods | Hibernation | Very low current with limited retained state |
A connected smart-home sensor may use Modem Sleep to remain associated with its router. A logger that sends readings periodically can use Deep Sleep between measurements.
Light Sleep suits a controller that must resume quickly. Hibernation suits an application that can restart after a long idle period.
Test the selected wake-up sources and measure the complete circuit before fixing the power-mode configuration.
Frequently Asked Questions
The original ESP32 datasheet lists approximately 5 µA for the RTC-timer-only Hibernation configuration.
Light Sleep retains clock-gated system state. Deep Sleep powers down the main CPU and most RAM, so the application boots again after wake-up.
No. Deep Sleep disconnects Wi-Fi and Bluetooth. Connection continuity requires suitable Modem Sleep and automatic Light Sleep configuration.
Yes. Configure the RTC timer with ESP-IDF’s esp_sleep_enable_timer_wakeup() function.
The regulator, USB-to-serial chip, power LED, and external peripherals may remain powered during Deep Sleep.
Main RAM contents are lost. Selected data survives when the required RTC memory power domain remains enabled.
Yes. Supported RTC GPIO, touch, and ULP monitoring events can wake the original ESP32.
No. Current changes with the chip, module, regulator, peripherals, firmware, and sleep configuration.
Yes. Multiple supported sources can be configured together, subject to chip and hardware restrictions.
Technical References
- Espressif ESP32 Series Datasheet
- Espressif ESP-IDF: Sleep Modes for ESP32
- Espressif ESP-IDF: Wi-Fi Performance and Power Save
- Espressif ESP-IDF: Current Consumption Measurement of Modules
- Espressif ESP-IDF: Power Management
The current values and hardware details in this guide primarily refer to the original ESP32. Check the datasheet and ESP-IDF documentation for the exact chip revision and module used in your project. If you are comparing different ESP32 family members before choosing hardware, see our ESP32 selection guide.


























