System won't suspend due to suspention notification
#1
So after the recent upgrades I notice that the screen goes black and there's the blue led blinking as where there is a notification, the notification is that the system will suspend soon, and it keeps bringing the lockscreen every few minutes without going into suspend....and it's eating my battery fast. Anyone else noticed that?
  Reply
#2
(09-18-2023, 12:21 PM)user641 Wrote: So after the recent upgrades I notice that the screen goes black and there's the blue led blinking as where there is a notification, the notification is that the system will suspend soon, and it keeps bringing the lockscreen every few minutes without going into suspend....and it's eating my battery fast. Anyone else noticed that?

Phosh did add option for notifications that they can wake up display.
Unfortunately suspend notification is one of those "critical" notification which will wake display.

Fix is simple. Write this to terminal
Code:
gsettings set sm.puri.phosh.notifications wakeup-screen-triggers '[]'

And press enter
  Reply
#3
(09-18-2023, 03:05 PM)alaraajavamma Wrote:
(09-18-2023, 12:21 PM)user641 Wrote: So after the recent upgrades I notice that the screen goes black and there's the blue led blinking as where there is a notification, the notification is that the system will suspend soon, and it keeps bringing the lockscreen every few minutes without going into suspend....and it's eating my battery fast. Anyone else noticed that?

Phosh did add option for notifications that they can wake up display.
Unfortunately suspend notification is one of those "critical" notification which will wake display.

Fix is simple. Write this to terminal
Code:
gsettings set sm.puri.phosh.notifications wakeup-screen-triggers '[]'

And press enter

so, this command turns off all notifications?
  Reply
#4
(09-18-2023, 06:19 PM)user641 Wrote: so, this command turns off all notifications?

No it only disables ability to wake the screen (which will prevent suspend)
So you will still get sound and vibration. And calls and sms will still wake the screen.
  Reply
#5
(09-19-2023, 05:26 AM)alaraajavamma Wrote:
(09-18-2023, 06:19 PM)user641 Wrote: so, this command turns off all notifications?

No it only disables ability to wake the screen (which will prevent suspend)
So you will still get sound and vibration. And calls and sms will still wake the screen.

I did that command, how to undo it if I want?
Also those are good features, but they eat the battery.
  Reply
#6
(09-20-2023, 12:55 PM)user641 Wrote:
(09-19-2023, 05:26 AM)alaraajavamma Wrote:
(09-18-2023, 06:19 PM)user641 Wrote: so, this command turns off all notifications?

No it only disables ability to wake the screen (which will prevent suspend)
So you will still get sound and vibration. And calls and sms will still wake the screen.

I did that command, how to undo it if I want?
Also those are good features, but they eat the battery.

you can get the current list of settings via

Code:
gsettings get sm.puri.phosh.notifications wakeup-screen-triggers

So, in my case there was only one setting which was ['urgency'] . To set this option again you can execute the following command
Code:
gsettings set sm.puri.phosh.notifications wakeup-screen-triggers "['urgency']"
  Reply
#7
(09-24-2023, 03:52 AM)whackx Wrote:
(09-20-2023, 12:55 PM)user641 Wrote:
(09-19-2023, 05:26 AM)alaraajavamma Wrote:
(09-18-2023, 06:19 PM)user641 Wrote: so, this command turns off all notifications?

No it only disables ability to wake the screen (which will prevent suspend)
So you will still get sound and vibration. And calls and sms will still wake the screen.

I did that command, how to undo it if I want?
Also those are good features, but they eat the battery.

you can get the current list of settings via

Code:
gsettings get sm.puri.phosh.notifications wakeup-screen-triggers

So, in my case there was only one setting which was ['urgency'] . To set this option again you can execute the following command
Code:
gsettings set sm.puri.phosh.notifications wakeup-screen-triggers "['urgency']"
Thanks so much for the rich info.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian Pinephone Notification LED biketool 2 210 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Mobian, Suspend, and Audio Playback biketool 0 787 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 1,058 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Unable to wake up from suspend xavi92 6 4,063 07-28-2024, 02:48 PM
Last Post: dchang0
  Errors when start the system kubussz 2 2,024 11-21-2023, 11:07 AM
Last Post: kubussz
  Suspend on ram user641 2 1,797 09-25-2023, 01:44 PM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 4,403 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 3,731 07-18-2023, 10:43 AM
Last Post: alaraajavamma
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 3,944 03-01-2023, 04:45 PM
Last Post: anonymous
  German Emergency Alarm System Test arno_nuehm 4 3,632 12-11-2022, 01:44 PM
Last Post: traut

Forum Jump:


Users browsing this thread: 1 Guest(s)