Powerdevil Question

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Powerdevil Question

Postby mark9117 » Sep 30th, '17, 00:15

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.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Powerdevil Question

Postby doktor5000 » Sep 30th, '17, 14:47

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest