This forum has been archived. All content is frozen. Please use KDE Discuss instead.

An application is currently suppressing power management

Tags: None
(comma "," separated)
philippel
Registered Member
Posts
4
Karma
0
This is probably a PowerDevil question.
This warning appears intermittently in my "Battery and Brightness" system tray popup:
"/opt/HipChat4/bin/HipVhat4 is currently suppressing power management: Uploading data"

And as stated, this laptop does not dim screen or goes to sleep as long as the HipChat4 application is running. If it the app stops running, everything works as expected and the warning goes away.

My questions are:
- is there any logfile where I could find information to debug this issue?
- is there any workaround that would allow PowerDevil to ignore whatever HipChat4 is doing and turn on power management features as normal?
- what is this application possibly doing wrong and what could they do to fix it?

Versions:
- Kubuntu 15.10
- plasma-desktop 4:5.5.4-0ubuntu1~ubuntu15.10~ppa1
- powerdevil 4:5.5.4-0ubuntu1~ubuntu15.10~ppa1

The HipChat4 application can be found here: https://www.hipchat.com/downloads.
User avatar
google01103
Manager
Posts
6668
Karma
25
you could try
Code: Select all
journalctl |grep powerdevil
and
Code: Select all
journalctl | grep hipchat4


but if Hipchat4 is "Uploading data" isn't this the correct action?


OpenSuse Leap 42.1 x64, Plasma 5.x

philippel
Registered Member
Posts
4
Karma
0
Sadly, there is nothing relevant in journalctl output.

Yes, powerdevil is probably doing the right thing if hipchat4 is actually uploading data. The problem is that this app seems to be doing it once every minute or so (that's about the frequency the warning appears in the system tray) even though there is no activity visible in the app. That prevents power management from ever kicking in.
philippel
Registered Member
Posts
4
Karma
0
I got an answer from Kai Uwe, a PowerDevil developer:

"If an application misbehaves, there's not a lot we can do. If you can update to Plasma 5.6, I made PowerDevil wait 5s before actually enforcing an inhibition as I had my screen wake up whenever I received a notification which had Chrome briefly block power management. I suppose this should already remedy your situation.

Also, I've been planning for a while to add some config options for inhibitions so you could temporarily and/or permanently prevent a specific app from blocking PM; I just haven't had the time (and motivation ;) to implement this yet. "
philippel
Registered Member
Posts
4
Karma
0
Atlassian opened a Hipchat ticket about this: https://jira.atlassian.com/browse/HCPUB-574.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar