Notification light when entering low power
#1
I get a flashing notification light when the phone is entering low power mode. This is something that I absolutely don't want as it prompts me to wake the phone up to see what the notification is. Is there a way to prevent this?
  Reply
#2
Under Settings > Notifications....

You can pick all applications or ..... just the ones you do want.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#3
It's a Gnome notification, but I don't think it's possible yet to disable it just like that. Here is an old bug report about this issue.
  Reply
#4
Thanks for the link. Hopefully it gets fixed soon.
  Reply
#5
Did this ever get addressed? I speculate that you can use gdbus to catch the notification and kill it before it causes the blue light to flash. My solution would follow this vague outline:
A script watches dbus-monitor for a method call of Notify
The script matches whatever power notification I want to auto-dismiss
The script notes the serial of this method
The script watches for a subsequent line with that reply_serial
The script notes the returned quantity, the notification ID
The script calls CloseNotification on that notification ID (see suspend-wake notes for example syntax)

Find out what notification it is:
dbus-monitor --session "interface=org.freedesktop.Notifications" >> ~/Desktop/MyNotificationLog.txt

I'd log the dbus-monitor to a log file:
dbus-monitor --session >> ~/Desktop/MyNotificationLog.txt
When the blue light comes on I'd do a grep on that file and look for where it matches that notification:
grep ~/Desktop/MyNotificationLog.txt -e "interface=org.freedesktop.Notifications; member=Notify" -A4
If the last line says the text of the notification, I'd make note of the serial=N1 number. I'd do a grep
grep ~/Desktop/MyNotificationLog.txt -e "reply_serial=N1 " -A1
I'd make a note of the return quantity, unit32 N2, and do:
gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.CloseNotification N2
  Reply
#6
I still get this annoying notification light on Mobian every day. It's disappointing that such important issues take so many months to solve. Sometimes I wonder if any Phosh developers ever test their software.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any fix for bluetooth crash when entering pairing password? kk22 0 61 06-18-2022, 07:51 PM
Last Post: kk22
  Pinephone incoming call / SMS notification no ringing / notification volume dcinoz 3 719 06-02-2022, 07:16 AM
Last Post: arkadione
  Toggle light & dark themes with a launcher. MtnSk8 0 911 03-14-2021, 12:20 AM
Last Post: MtnSk8
  Dismiss notification button or gesture? vandys 5 2,678 02-15-2021, 07:53 PM
Last Post: pagesix1536
  SMS notification inconsistent and Wifi issue (waking up?) dcinoz 12 3,934 01-21-2021, 04:20 AM
Last Post: dcinoz
  Manjaro convergence edition (3GB) charging/power issue Saliency 1 1,500 11-24-2020, 11:04 AM
Last Post: Saliency
  Proximity / ambient light sensor antiX-Dave 7 5,219 11-20-2020, 05:27 AM
Last Post: pinephonenewbee
  After update the green light comes on then the system hangs joz_mak 6 3,825 11-11-2020, 09:23 AM
Last Post: antiX-Dave
  USB-C Power Delivery does not work nazarii.kretovych 2 2,257 10-05-2020, 09:15 AM
Last Post: wibble
  USB-C Power Delivery cmicallef 8 4,115 10-04-2020, 07:34 PM
Last Post: HLing

Forum Jump:


Users browsing this thread: 1 Guest(s)