01-08-2021, 04:32 PM
Since alarms set up with GNOME Clocks can't yet wake up the device from suspend, I wrote a small alarm app exploring how to set up systemd timers that wake up the system through the interal RTC device.
For now there is just one alarm available and not recurring but this is just an UI issue, not a limitation of the systemd timers.
You can install it through "make install" on any OS that has systemd or, for Mobian, use the binary packages linked in the README:
https://gitlab.gnome.org/kailueke/wake-mobile
Eventually GNOME Clocks will be able to wake the device, too, but this is still in development and requires an approach of making the necessary Linux capabilities available to regular users.
I worked around this limitation in my app by using a setuid binary that can only write out a drop-in unit file for the systemd timer.
For now there is just one alarm available and not recurring but this is just an UI issue, not a limitation of the systemd timers.
You can install it through "make install" on any OS that has systemd or, for Mobian, use the binary packages linked in the README:
https://gitlab.gnome.org/kailueke/wake-mobile
Eventually GNOME Clocks will be able to wake the device, too, but this is still in development and requires an approach of making the necessary Linux capabilities available to regular users.
I worked around this limitation in my app by using a setuid binary that can only write out a drop-in unit file for the systemd timer.