Usability: the automatic suspend notification is useful, but that it makes the LED blink is counter-productive

Describe your issue

Te automatic suspend notification on the PinePhone with Phosh is useful, especially when currently looking at the device with the screen on. But that it makes the LED blink is counter-productive, because now when the screen is off I see the blink, I go "oh, something happened," I press the power button, the notification instantly disappears due to user activity, and now I basically just ruined/broke the suspend in that moment for nothing. Therefore I suggest the LED blinking for this notification is neither useful nor helpful, it just leads to people being confused and messing with the suspend when they didn't intend to.

What's the expected behaviour?

The automatic suspend notification is somehow excluded from making the LED blink

What's the current behaviour?

The automatic suspend notification makes the LED blink for quite a bit until suspend kicks in

How to reproduce your issue?

Enable automatic suspend in gnome settings, then use power button to turn screen off, then let the device sit idle with screen off. Once LED blinks, press power button again and you might see the automatic suspend show for a fraction of a second before you're greeted with no notifications.

What device are you using?

PinePhone Non-Pro/Manjaro 3GB RAM convergence

On what postmarketOS version did you encounter the issue?

  • edge (master branch)
  • v21.12

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?

What's the build date of the image? (in yyyy-mm-dd format)

I don't remember

Additional information