01 Overview
Light Sleep is a low-power mode on ESP32 where the CPU is halted but RTC and some peripherals remain powered, and RAM contents are preserved. Wake-up is much faster than deep sleep, typically in microseconds to milliseconds.
Compared to deep sleep, light sleep has higher current (typically around 0.8 mA depending on peripherals) but retains more system state, avoiding re-initialization of most peripherals and reconnecting Wi-Fi.
Use when: you need frequent wake-ups, fast response, and moderate power savings, such as sensor polling, button wake-up, or BLE beacons.
Skip when: a coin cell must last months or years; deep sleep (current as low as 10 µA) is more appropriate.
During light sleep, Wi-Fi and Bluetooth are usually disabled, but can be kept on with extra power. After wake, the CPU resumes from the point it left off, without restarting app_main.