elementary / switchboard-plug-power

Switchboard Power Plug
GNU General Public License v2.0
19 stars 13 forks source link

notification about suspending after 5 minutes of inactivity contradicts my settings #235

Closed janxkoci closed 10 months ago

janxkoci commented 1 year ago

What Happened?

I'm getting a lot of notifications warning me about suspending my laptop only after a few (~5) minutes of inactivity, even though my settings look like this:

Snímky obrazovky pořízený 2023-06-02 11 02 21

The notifications are very disruptive when I try to focus on reading or similar. How do I stop them please?

Steps to Reproduce

  1. Open reading material, e.g. a science paper.
  2. Read for a few minutes without touching a mouse.
  3. Get annoyed by a notification that does not respect your settings.

Expected Behavior

If there should be a warning notification, then it should come around the time I specified.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

janxkoci commented 1 year ago

Follow-up

A few days ago I left my laptop awake in my office while being away for a longer time. The laptop didn't actually go to "sleep" as I set it to do (and as the annoying notification warns). Instead,

I tried to bring it back by pressing the power button or wake-up key on the keyboard, then other keys as well as touchpad, but nothing worked. In the end I had to force shutdown by holding the power button for several seconds, losing my session.

This is not cool. :frowning_face:

Few notes

The notification in question has the following features:

The notification comes every few minutes when I don't interact with the OS, most often when I'm reading some science paper. Since I cannot disable the notification or its sound, it's super-distractive at times when I need to focus. I really wish to never see it, as it's pointless and not doing anything useful (the opposite in fact).

Is there a way to figure out which process sends the notification? Probably post-fact in some logs, as any interaction makes it go away.

lenemter commented 10 months ago

Fixed in https://github.com/elementary/notifications/pull/200