Has anybody managed to get Light Sleep or Modem Sleep working on a ESP32/ESP8266?
I haven’t tried it, but it seems to work.
See here: https://github.com/espressif/arduino-esp32/issues/475#issuecomment-337655468
I hope this helps.
Thanks for the link, it “compiles as is” and runs in the serial monitor.
Can’t see any reduction in power usage, I’ll try to include it in a sketch to see what happens.