Skip to content

feat(power): add configurable shutdown timeout for deep sleep - #871

Open
dysprosium wants to merge 1 commit into
LoveRetro:mainfrom
dysprosium:suspend-auto-poweroff-main
Open

dysprosium wants to merge 1 commit into
LoveRetro:mainfrom
dysprosium:suspend-auto-poweroff-main

Conversation

@dysprosium

@dysprosium dysprosium commented Oct 21, 2026 •

Copy link
Copy Markdown
  • add a configurable Auto poweroff timeout for deep sleep, defaulting to Off
  • arm the RTC wake alarm only when enabled, then route expiry through the existing safe shutdown path
  • preserve MinArch SRAM/RTC/quicksave data and only create the auto-resume marker when state serialization succeeds
  • support TG5040, TG5050, and H700, including shutdown while an H700 clamshell remains closed

Tested on the RG SP, RG 35XXH, RG CubeXX, TrimUI Brick

Original PR from H700 branch: pvaibhav#27

@dysprosium
dysprosium marked this pull request as ready for review October 26, 2026 16:18

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant