Automatic Light Sleep
Posted: Tue Apr 09, 2024 9:26 am
Hi,
I am trying to implement automatic light sleep, I have followed all the indications in the ble/power_save example and the instructions in this discussion:
https://github.com/espressif/esp-idf/is ... -500312453.
Unfortunately I have a consumption that is about three times as high as with 'forced' light sleep. I have tried both ESP32S3 with main xtal and ESP32 with crystal. The connection and adv intervals are set at 800ms.
This is the output I receive with the command:
From this dump it would appear that the chip is sleeping, so what could be the reason for this high consumption?
I also tried to get the reason for waking up and I get 'timer' rather than 'bt'.
Thanks in advance.
I am trying to implement automatic light sleep, I have followed all the indications in the ble/power_save example and the instructions in this discussion:
https://github.com/espressif/esp-idf/is ... -500312453.
Unfortunately I have a consumption that is about three times as high as with 'forced' light sleep. I have tried both ESP32S3 with main xtal and ESP32 with crystal. The connection and adv intervals are set at 800ms.
This is the output I receive with the command:
Code: Select all
esp_pm_dump_locks(stdout)
I also tried to get the reason for waking up and I get 'timer' rather than 'bt'.
Thanks in advance.