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
  Unable to wake up from suspend xavi92 6 2,534 07-28-2024, 02:48 PM
Last Post: dchang0
  Errors when start the system kubussz 2 1,362 11-21-2023, 11:07 AM
Last Post: kubussz
  Suspend on ram user641 2 1,208 09-25-2023, 01:44 PM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 2,853 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 2,670 07-18-2023, 10:43 AM
Last Post: alaraajavamma
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,939 03-01-2023, 04:45 PM
Last Post: anonymous
  German Emergency Alarm System Test arno_nuehm 4 2,618 12-11-2022, 01:44 PM
Last Post: traut
  suspend inhibit no longer working jsch 3 2,601 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  low disk space on file system root revisited benedikt55 2 2,027 09-24-2022, 10:16 AM
Last Post: benedikt55
  Pinephone incoming call / SMS notification no ringing / notification volume dcinoz 3 3,466 06-02-2022, 07:16 AM
Last Post: arkadione

Forum Jump:


Users browsing this thread: 1 Guest(s)