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

Power management doesn't work

Tags: None
(comma "," separated)
thermopyle
Registered Member
Posts
9
Karma
0

Power management doesn't work

Fri Nov 13, 2015 7:08 am
I'm running Plasma 5.4.2 on an openSUSE Leap 42.1 Dell laptop using two external monitors when docked on AC power (the graphics is NVIDIA, the internal laptop monitor is turned of using NVIDIA settings). Some of the settings in Configure Desktop/Power Management doesn't work; Dim Screen, Screen Energy Saving and Suspend Session.

Dim Screen and Suspend Session has no affect at all, Screen Energy Saving actually initiate turning of the screens but never fully succeeds, the screens are black but they never fully reach a suspended state. They also sometimes flicker on and off during this operation.

Suspending manually works, when I leave my workplace I suspend the machine using the KDE menu, recovering from a suspended state also works.

After searching this forum I tried the following;

Code: Select all
micke@deimos:/opt/kf5/bin> qdbus org.kde.kded /kded loadedModules
favicons
konqy_preloader
kcookiejar
ktimezoned
micke@deimos:/opt/kf5/bin>


Shouldn't powerdevil be in this list?

Regards, Micke.
luebking
Karma
0

Re: Power management doesn't work

Fri Nov 13, 2015 8:52 am
Check "qdbus org.kde.kded5 /kded loadedModules" and
kcmshell5 powerdevilprofilesconfig
kcmshell5 powerdevilglobalconfig
kcmshell5 powerdevilactivitiesconfig
thermopyle
Registered Member
Posts
9
Karma
0

Re: Power management doesn't work

Fri Nov 13, 2015 9:31 am
Here's the output;

Code: Select all
micke@deimos:~> qdbus org.kde.kded5 /kded loadedModules
accounts
platformstatus
networkmanagement
baloosearchmodule
khotkeys
ksysguard
kcookiejar
kscreen
printmanager
kmixd
ktimezoned
bluedevil
statusnotifierwatcher
touchpad
freespacenotifier
appmenu
networkstatus
ktp_approver
ktp_integration_module
keyboard
remotedirnotify
proxyscout
powerdevil
solidautoeject
micke@deimos:~> kcmshell5 powerdevilprofilesconfig
powerdevil: ("Battery", "Activities", "LowBattery", "AC") ()
powerdevil: "Dim screen"  has a runtime requirement
powerdevil: "Screen brightness"  has a runtime requirement                                                                                 
powerdevil: "Button events handling"  has a runtime requirement                                                                           
powerdevil: "Screen Energy Saving"  has a runtime requirement                                                                             
powerdevil: "Keyboard backlight"  has a runtime requirement                                                                               
powerdevil: "Dim screen"  has a runtime requirement                                                                                       
powerdevil: "Screen brightness"  has a runtime requirement                                                                                 
powerdevil: "Button events handling"  has a runtime requirement                                                                           
powerdevil: "Screen Energy Saving"  has a runtime requirement                                                                             
powerdevil: "Keyboard backlight"  has a runtime requirement                                                                               
powerdevil: "Dim screen"  has a runtime requirement                                                                                       
powerdevil: "Screen brightness"  has a runtime requirement                                                                                 
powerdevil: "Button events handling"  has a runtime requirement                                                                           
powerdevil: "Screen Energy Saving"  has a runtime requirement                                                                             
powerdevil: "Keyboard backlight"  has a runtime requirement                                                                               
Overwriting existing old cached entry due to collision.                                                                                   
Overwriting existing old cached entry due to collision.                                                                                   
Overwriting existing old cached entry due to collision.                                                                                   
powerdevil: Loading routine called                                                                                                         
powerdevil: ()                                                                                                                             
powerdevil: Ok, KConfigGroup ready ("icon")                                                                                               
powerdevil: ()                                                                                                                             
powerdevil: Ok, KConfigGroup ready ("icon")                                                                                               
powerdevil: ()                                                                                                                             
powerdevil: Ok, KConfigGroup ready ("icon")                                                                                               
micke@deimos:~> kcmshell5 powerdevilglobalconfig                                                                                           
Overwriting existing old cached entry due to collision.                                                                                   
Overwriting existing old cached entry due to collision.                                                                                   
Overwriting existing old cached entry due to collision.                                                                                   
micke@deimos:~> kcmshell5 powerdevilactivitiesconfig                                                                                       
Overwriting existing old cached entry due to collision.                                                                                   
powerdevil: "e583f017-db49-4c6f-97aa-00e2d01c7062" true 1                                                                                 
powerdevil: "Dim screen"  has a runtime requirement                                                                                       
powerdevil: "Screen brightness"  has a runtime requirement                                                                                 
powerdevil: "Button events handling"  has a runtime requirement                                                                           
powerdevil: "Screen Energy Saving"  has a runtime requirement                                                                             
powerdevil: "Keyboard backlight"  has a runtime requirement                                                                               
powerdevil: ()                                                                                                                             
powerdevil: Ok, KConfigGroup ready ()                                                                                                     
micke@deimos:~>                                                                                                                           


It's clear the powerdevil module is running. If I try to change a setting when I run "kcmshell5 powerdevilprofilesconfig" nothing happens in stdout.

/Micke.
luebking
Karma
0

Re: Power management doesn't work

Fri Nov 13, 2015 9:47 am
You should get config dialogs for the kcmshell5 calls... no?
thermopyle
Registered Member
Posts
9
Karma
0

Re: Power management doesn't work

Fri Nov 13, 2015 1:49 pm
Yes, I got config dialogs but it doesn't matter what I input into those, power management won't work. The only setting that seems to have an effect is "Screen Energy Saving" which will start to bring down the displays into sleep but never fully succeeds.

Regards, Micke.
luebking
Karma
0

Re: Power management doesn't work

Fri Nov 13, 2015 3:16 pm
I doubt that you can dim external screens - but do they turn off by "xset dpms force off"? (moving the mouse will bring them back)
Since STR seems to fail I'd assume power saving is inhibited by some client (video player or sth. like that?)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]