01 Overview
This example demonstrates power save modes (such as MIN_MODEM) for ESP32 in Station mode, focusing on reducing average current while keeping the Wi-Fi connection alive.
It solves the problem of battery-powered IoT devices that need to stay online but cannot afford high Wi-Fi power consumption. Proper configuration of power save modes significantly reduces average current without disconnecting.
Use this when: periodic telemetry (e.g., temperature, humidity, battery level), latency-tolerant reporting, or maintaining sparse TCP/UDP connections.
Skip this when: you need millisecond downlink (e.g., remote control, real-time audio/video) or high throughput (e.g., OTA).
Note: Power save is not deep sleep; the device remains associated and consumes milliamps, far more than deep sleep.
This is an official ESP-IDF example showing how to configure and measure power saving, providing a reference for real products.