Bug 184381

Summary: auto suspend when idle fails when screensaver is enabled
Product: [Unmaintained] solid Reporter: Anders Aagaard <aagaande>
Component: powermanagement-daemonAssignee: Dario Freddi <drf>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alx5000, debfx-kde, drf, neitzke, steffenp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anders Aagaard 2009-02-15 10:50:50 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc-4.3.3 glibc-2.9_p20081201-r1
OS:                Linux
Installed from:    Gentoo Packages

If I have the screen saver on start automatically, and require password to stop, auto suspend when idle does not kick in.

Note that I have the screensaver on less time when auto suspend.

Reference : http://forum.kde.org/no-automatic-suspend-t-32570.html
Comment 1 Anders Aagaard 2009-02-15 14:31:14 UTC
Another (more than likely related) issue, I had something preventing suspend on, after the suspend time it locked the screen (I have lock screen on resume on) and continued running as expected.

However, if I go display -> enable power management, and set suspend after 10 minutes there, 15 minutes in the power management settings, it will not lock the screen (and most likely not try to suspend either).

This is a bit of a logic problem for me, as I'm forced to disable the screensaver, in order to get suspend working, however, programs like media players, that should prevent the screen saver from coming on while playing, will most likely not prevent the "lock screen on resume", that will kick in, even if screensaver is blocked and CanSuspend is false.

Also after looking into this it seems like a powerdevil-daemon problem, not control::powermanager problem.  I can't change the component, but I'm adding the powerdevil-daemon assignee to cc.
Comment 2 Andy Neitzke 2010-01-10 05:31:26 UTC
I have a possibly related problem, on Kubuntu 9.10.  I have powerdevil configured to suspend when the lid is closed.  However, if I close the lid when the screensaver is active, the machine does not suspend.
Comment 3 Alejandro Villar 2010-01-18 17:51:50 UTC
I have the same problem on Kubuntu (now on 9.10, but noticed it before on 9.04, and possibly 8.10, but my memory isn't perfect). If I open the lid when the laptop is suspended, it resumes and asks for a password to unlock. If I don't unlock it and instead close the lid again, the computer will not suspend, even though powerdevil is instructed to suspend when closing the lid.

This forces me to first unlock then close the lid to get the desired effect.
Comment 4 Dario Freddi 2010-11-09 20:32:59 UTC

*** This bug has been marked as a duplicate of bug 209511 ***