patch request: gnome-clocks wake from suspend
gnome-clocks
Current state of official wake-from-suspend support in The current state of gnome-clocks
being able to wake the phone from suspend for an alarm is as follows:
Upstream gnome-clocks bug report is currently waiting on systemd bug report.
Current stop-gap solution
wake-mobile
is technically usable, but quite limited:
- Supports one, non-repeating alarm (requires manual intervention each time - potential to miss alarm)
- Must be left running in order to work (potential to miss alarm)
- Does not work after the phone first boots up (potential to miss alarm)
Proposed solution
The devs over at PostmarketOS have expanded upon and polished up a solution originally provided on the upstream bug report.
In short, their solution relies on waked, which is a background service that runs with elevated permissions and forwards rtcwake
requests on behalf of applications. I've been testing this solution for a few days now, and it hasn't missed an alarm yet.
The benefits of using this patch set:
- No need to leave the application running in the foreground
- No potential of forgetting to launch the application (starts in background automatically at boot)
- Supports multiple, repeating alarm schedules (set once and forget)
- Uses the alarm sound configured in gnome (can be configured with Tweaks - requires reboot to take effect)
Build files
Build files can be found here: