Alarm does not go off when phone is suspended
Describe your issue
What's the expected behavior?
When the user sets an alarm, the alarm should go off, even if the phone is in "deep sleep" caused by the crust firmware. The phone should wake up about 1 minute before the scheduled alarm, then the alarm should go off just like normal.
What's the current behaviour?
When the phone sleeps (as it does by default), all alarms go off when the phone wakes back up. Given that the phone usually wakes up on user input, this means that the alarms go off when the user next touches the phone.
How to reproduce your issue?
- Turn on automatic suspend.
- Set an alarm in the future such that the phone will be suspended when the alarm should go off.
- Watch as nothing happens when the alarm is supposed to go off.
- Touch phone to wake it up and listen as the alarm now goes off.
What device are you using?
I am using a Pine64 PinePhone, PostmarketOS Community Edition.
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
Other
-
No environment -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device