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.