make notification LED (more) useful
Describe your issue
What's the expected behaviour?
The notification LED should blink from the time a new notification (such as an email or SMS) comes in until you lock your phone next. The notifcation LED should continue blinking even when the phone is asleep. The notifcation LED should not blink just because the phone is aboout to fall asleep.
What's the current behaviour?
The notification LED blinks when there is a notification available for you to read but only until the phone falls asleep. Further, the notifcation LED blinks for 10-15 seconds every time the phone falls asleep meaning that the vast majority of blinking that the notification LED does is just to tell me that my phone is about to fall asleep.
How to reproduce your issue?
Turn on a pine with a simcard using phosh. Let the phone sit and fall asleep so that you can see the notification LED blinking just before the phone falls asleep. Send yourself an SMS from another phone then check your pinephone again and notice that once it is asleep, the notification LED does not blink despite the fact that you have a new text message.
What device are you using?
pine64-pinephone
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v21.12
-
v21.06
(supported until 2022-01-29)
On what environment did you encounter the issue?
Phone environments
- Phosh
- Plasma Mobile
- Sxmo (Wayland/Sway)
Other
- No environment
- GNOME
- KDE Plasma
- Kodi
- MATE
- Shelli
- Sway
- Weston
- Xfce4
- fbkeyboard
- i3wm
- Sxmo (Xorg/Dwm)
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device