Hello @schedule-display

Have you tried the RTC example (w/o modifications)?

In your code, why did you add the two gpio_xxx lines? I think they are the reason M5Paper cannot shutdown.

Also this thread might be helpful.

Thanks
Felix