Page 1 of 1

Powerdevil Question

PostPosted: Sep 30th, '17, 00:15
by mark9117
Quick powerdevil question: Power management is configured in systemsettings to switch my monitor off after 10 minutes. It does not do so.

Here is a a relevant excerpt from "journalctl |grep powerdevil"

Code: Select all
Sep 29 01:04:01 spike org_kde_powerdevil[29868]: powerdevil: Scheduling inhibition from ":1.18" "/bin/chromium-browser" with cookie 218 and reason "Playing video"
Sep 29 01:04:01 spike org_kde_powerdevil[29868]: powerdevil: Scheduling inhibition from ":1.394" "/bin/chromium-browser" with cookie 219 and reason "Playing video"
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Enforcing inhibition from ":1.18" "/bin/chromium-browser" with cookie 218 and reason "Playing video"
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Added change screen settings
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Added interrupt session
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Disabling DPMS due to inhibition
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Enforcing inhibition from ":1.394" "/bin/chromium-browser" with cookie 219 and reason "Playing video"
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Added change screen settings
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Added interrupt session
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Can't contact ck
Sep 29 01:04:06 spike org_kde_powerdevil[29868]: powerdevil: Can't contact ck


So, it seems chromium is holding up powerdevil - it won't power down the display because it thinks I'm watching a video in a browser.

So I killed chromium-browser and went away expecting this would allow the display to power down. It didn't.

I've found out a little bit about this from googling around. There is one issue I'm not suffering from; my system has shutdown and suspend options when prompted to leave. This was the primary reason I found for support tickets filed about consolekit and powerdevil in other distributions. On my desktop, It seems powerdevil isn't running as a service and neither is ConsoleKit. I can't locate anything about consolekit on my system or in the repos. Should I be running a consolekit service? If not, what is powerdevil complaining about and what do I do to satisfy it?

Any help?

Thanks.

Re: Powerdevil Question

PostPosted: Sep 30th, '17, 14:47
by doktor5000
powerdevil is not complaining about anything, it's just telling you that there are inhibitors which asked to disable DPMS. Please show the output as root of
Code: Select all
systemd-inhibit --list

powerdevil is not running as a system service but as a service started by your KDE session, and consolekit is old legacy stuff.