Screen Energy Saving and Dim Screen do not work reliably

Bug #1474534 reported by Leon Maurer
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
kubuntu-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(The following is a bug I reported to KDE some time ago, but no one has replied and it may be a Kubuntu problem rather than a KDE problem. I'm not sure where the problem is, so I just chose the kubuntu-meta package. The KDE bug report is at https://bugs.kde.org/show_bug.cgi?id=349344 )

The Power Management module in KDE system settings 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.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: kubuntu-desktop 1.323
ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
Uname: Linux 3.19.0-21-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Jul 14 15:01:28 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-06-05 (1134 days ago)
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kubuntu-meta
UpgradeStatus: Upgraded to vivid on 2015-05-04 (71 days ago)

Revision history for this message
Leon Maurer (leon-n-maurer) wrote :
Revision history for this message
Leon Maurer (leon-n-maurer) wrote :

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 .

Revision history for this message
William Scheidegger (william-scheidegger) wrote :

I recently upgraded from Kubuntu 14.04 to 16.04 and I am now also having this problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kubuntu-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
William Scheidegger (william-scheidegger) wrote :
Revision history for this message
KINGSABRI (king-sabri) wrote :

I have almost the same issue except the dim starts working after 20 seconds. I tried many solutions

Kubuntu 16.04 64-bit

1. Using GUI:
1.1. System Settings >> Energy Saving >> Uncheck Dim screen
1.2. System Settings >> Energy Saving >> Dim screen (360 min)
1.3. Disabling Power Management service: System Settings >> Autostart >> Background Services >> Uncheck Power Management

2. Using command line
2.1. Installing xscreensaver and configure the screensaver duration for longer period or disable it
2.2. xset s off
2.3. xset s noblank -dpms
2.4. Add the following to ~/.kde/share/config/powermanagementprofilesrc
[Battery][RunScript]
idleTime=60000
scriptCommand=/usr/local/bin/batgoverner
scriptPhase=0

[Battery][SuspendSession]
idleTime=3600000
suspendType=2

[LowBattery]
icon=battery-low

[LowBattery][BrightnessControl]
value=30

[LowBattery][DPMSControl]
idleTime=120

[LowBattery][DimDisplay]
idleTime=60000

[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=2

I saw poeple complain this issue since 2013!

Revision history for this message
KINGSABRI (king-sabri) wrote :

I tried this too
http://pastebin.com/5UusLpdh

Nothing works

Revision history for this message
Jonathan Neufeld (jonath2n) wrote :

I'm running into this issue as well on Kubuntu 16.04

Revision history for this message
Tharwat Abouhelal (tharwat96) wrote :

I have this issue on 3 laptops running Kubuntu 16.04

Revision history for this message
Piotr S (szponiasty) wrote :

I can confirm this problem too. Stationary PC with Radeon HD6800, Kubuntu 16.04. Monitors do not turn off after certain set time. Only user session locks and goes to login screen.

I've tried Leon's Murer's command "sudo sh -c 'vbetool dpms off; read ans; vbetool dpms on'" and it turns off screens.

Revision history for this message
wolfv (wolf-volpi) wrote :

This may have something to do with kdeconnect https://community.kde.org/KDEConnect
https://forum.manjaro.org/t/kde-power-saving-not-working/12207/6

My screen switches off when Chrome browser is closed, but not when Chrome is open.
Other applications like file browser and editor have not effect if they are open or closed.

Revision history for this message
Daniel Smedegaard Buus (danielbuus) wrote :

Well, to be fair, this is beta software, and the disclaimer is "do not use for work or production," right? I mean, that's what it was in 2000, when I used it first, and it's only gotten more beta since then, so clearly, this is expected behaviour.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.