With an M5Paper V1.1 and your code sample, I can't put the device in deep (instant reboot with RTC_IO wakeup cause) or light sleep. This works well with BTN_UP.
Is there a difference with V1.0 that can explain this behavior or something I missed ?
Posts made by jcl
RE: M5paper touchscreen wakeup from sleep