Bug 349344 - Screen Energy Saving and Dim Screen do not work reliably
Summary: Screen Energy Saving and Dim Screen do not work reliably
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.1
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-18 17:15 UTC by Leon Maurer
Modified: 2019-11-26 04:33 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Maurer 2015-06-18 17:15:38 UTC
The Power Management module has an options named Screen Energy Saving (which is meant to put the screen into power saving mode when not in use) and Dim Screen (which is supposed to dim the screen after inactivity).

However, neither of them work reliably. Even with the Screen Energy Saving option enabled, the screens will usually not go into power saving mode. I have observed this on three computers (one laptop, two desktops) with a total of 5 monitors. For reasons I don't understand, sometimes it works -- usually on my laptop screen, but sometimes on screens attached to the desktops. However, in the vast majority of cases, nothing happens and the screen stays on.

The Dim screen option on my laptop is also unreliable. Sometimes it does not dim. Sometimes it does. Sometimes, after dimming or putting the screen into energy saving mode, the laptop screen will not undim.

I haven't figured out a pattern to any of this. These features worked before I upgraded to Kubuntu 15.05 and KDE 5.

Reproducible: Always
Comment 1 Leon Maurer 2015-08-10 05:43:30 UTC
Really, no one else has this problem? FWIW, it's not a hardware problem. If I run:

sudo sh -c 'vbetool dpms off; read ans; vbetool dpms on'

Then the screen turns off and then turns back on when I hit enter. (See http://askubuntu.com/questions/62858/turn-off-monitor-using-command-line ) So, there must be a problem in some higher level piece of software .
Comment 2 John 2015-08-31 19:12:03 UTC
I also have this problem.
Energy saving settings are ignored when AC is attached.
Though my settings specify the screen should dim after 5 minutes and the laptop should go to sleep after 15 minutes, neither happen; the screen stays at full power.
Energy Saving seems to work fine when on battery.
Comment 3 nick 2015-08-31 22:09:07 UTC
Currently, I cannot get my monitor backlight to go out.
xset dpms force off
merely blanks the screen

Turning on the kscreensaver always reenables the screen, and no longer ever lets it go into power save. I now have to resort to physically turning my monitor off and on. This is highly irritating.
Comment 4 Kai Uwe Broulik 2015-09-01 06:04:44 UTC
@John Can you check whether some application is blocking power management when AC is plugged in, for whatever reason? 

@Nick You mean when the lock screen automatically kicks in the screen turns on again?
Comment 5 nick 2015-09-01 06:28:21 UTC
I mean:

sleep 5; xset dpms force off; # then go click the lock sceen button

The screenlock comes on. after 5 seconds it goes blank, and then a second later the screen turns back on w/the login screen.

Also, if I just lock the screen and go away, it no longer ever goes into power save mode and turns off the screen--it will go blank, but the backlight stays on all night.
Comment 6 Jeremy Huffman 2016-10-08 14:25:38 UTC
I have the same problem John describes. I am using KDE 5.8 on a pretty vanilla Arch install on a Gen 1 Lenovo X1 Carbon, with the 4.7.6.-1-ARCH kernel.

The power management settings work fine on battery mode, but suspend does not work on AC. On AC it will dim and turn off the display when configured to do so, but it will never suspend. I've tried disabling the display features and various combinations thereof and nothing makes any difference.

I am not running any different programs when the AC is plugged in; in fact I can reproduce the issue on a brand new test account which is not running any programs on startup.

As a workaround I'm using xautolock to invoke systemd suspend, which works fine. 

I do think there is likely an issue in KDE here and would appreciate suggestions for how to troubleshoot further.
Comment 7 Ralf HArtmann 2017-07-14 08:47:24 UTC
(In reply to Kai Uwe Broulik from comment #4)
> @John Can you check whether some application is blocking power management
> when AC is plugged in, for whatever reason? 

How I can list applications, which are blocking power management?
Comment 8 Nate Graham 2019-10-27 16:23:25 UTC
(In reply to Ralf HArtmann from comment #7)
> (In reply to Kai Uwe Broulik from comment #4)
> > @John Can you check whether some application is blocking power management
> > when AC is plugged in, for whatever reason? 
> 
> How I can list applications, which are blocking power management?

Click on the "Battery and Brightness" system tray item. If any apps are blocking power management, they'll be listed there. Let us know what you find!
Comment 9 Bug Janitor Service 2019-11-11 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2019-11-26 04:33:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!