Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic light-sleep feature and FreeRTOS integration #6

Open
dylif opened this issue Sep 18, 2024 · 1 comment
Open

Automatic light-sleep feature and FreeRTOS integration #6

dylif opened this issue Sep 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dylif
Copy link
Owner

dylif commented Sep 18, 2024

Refer to this link for how to enable automatic light sleep: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/power_management.html

Automatic Light-sleep is based on FreeRTOS Tickless Idle functionality. If automatic Light-sleep is requested while the option CONFIG_FREERTOS_USE_TICKLESS_IDLE is not enabled in menuconfig, esp_pm_configure() will return the error ESP_ERR_NOT_SUPPORTED.

Also here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html

If Wi-Fi/Bluetooth connections need to be maintained, enable Wi-Fi/Bluetooth Modem-sleep mode and automatic Light-sleep feature (see Power Management APIs). This allows the system to wake up from sleep automatically when required by the Wi-Fi/Bluetooth driver, thereby maintaining the connection.

@dylif dylif added the enhancement New feature or request label Sep 18, 2024
@dylif
Copy link
Owner Author

dylif commented Sep 18, 2024

This will likely wait until 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant