main/shutdown-clear-rtc-wakealarm: new aport
This contains an OpenRC service that clears the RTC wake alarm. Users who don't want the RTC wake alarm to power on their phone from powered-off state can use this service to clear the alarm during shutdown.
Fixes #1970 (closed)
Merge request reports
Activity
As I said in #1970 (closed) I don't know if people expect their phone to be powered on by alarms or not, so I've taken the conservative option of making this an opt-in - any user that wants it has to add the service to the shutdown runlevel.
This works for me on phosh that uses waked. In particular, the wakealarm is automatically set to the next applicable timer after boot. I don't know if that is true of all other UIs, ie if there's any UI that doesn't restore the wake alarm to the next applicable time. But again, having this be opt means that users of those UIs would be unaffected anyway.
By Arnav Singh on 2023-02-24T23:14:19
added 1 commit
- 094df9c2 - main/device-pine64-pinephone: add shutdown service to clear RTC wake alarm
By Arnav Singh on 2023-02-24T23:15:39
- Resolved by Administrator
added type::feature label
added 1 commit
- 94511bdd - main/shutdown-clear-rtc-wakealarm: new package
By Arnav Singh on 2023-02-25T23:02:46
- Resolved by Administrator
Looks good! Could you document this on the wiki as well? Maybe write a short article about it.
By Newbyte on 2023-02-26T09:03:14
- Resolved by Administrator
Also, we follow Alpine's commit style, so please say "new aport" rather than "new package": https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/COMMITSTYLE.md
By Newbyte on 2023-02-26T10:35:41
- Resolved by Administrator
added 1 commit
- 8a3d5f4a - main/shutdown-clear-rtc-wakealarm: new aport
By Arnav Singh on 2023-02-26T17:47:24
- Resolved by Administrator
added 9 commits
-
8a3d5f4a...f4de4f98 - 9 commits from branch
postmarketOS:master
By Arnav Singh on 2023-02-27T18:18:55
-
8a3d5f4a...f4de4f98 - 9 commits from branch
added 1 commit
- c1abafbf - main/shutdown-clear-rtc-wakealarm: new aport
By Arnav Singh on 2023-02-27T18:19:24
enabled an automatic merge when the pipeline for 69773b8c succeeds
By clayton craft on 2023-02-28T22:46:11
mentioned in issue postmarketos-tweaks#23
By clayton craft on 2023-02-28T22:56:12