** Description changed:

  Binary package hint: gnome-power-manager
  
  In Ubuntu Gutsy (7.10) with gnome-power-manager (2.20.0-0ubuntu6), the
  System->Preferences->Power Management slider for "Put display to sleep
  when inactive for" shows values that start with the value set in
  System->Preferences->Screensaver slider for "Regard the computer as idle
  after", and go upwards from there.  Eg, if the Screensaver figure is set
  to 8 minutes, the minimum that the Power Manager display sleep can be
  set to is 8 minutes.
  
  However the value that is stored in the gnome configuration does not
  have this offset (eg, with the screensaver figure of 8 minutes, a power
  management display off figure of "13 minutes", the value stored in the
  gnome configuration will be 300 seconds (ie, 5 minutes).  With a power
  management display off figure of "14 minutes" the value stored will be
  360 seconds (ie, 6 minutes).
  
  The value from the gnome configuration is then applied as an X DPMS
  "power off" time, eg 300 seconds as the display time off.  The result is
  that the monitor will then turn off after 5 minutes (300 seconds), even
  though the gnome power management display off time is reported through
  the user interface as "13 minutes".  And thus the monitor turns off even
  before the screen saver kicks in, and much earlier than it was set to do
  so.  The only combination that actually works sanely is to set both
  timeouts to the same value (0 minutes difference), which results in a
- DPMS off time of 0 seconds, which happens to display the automatic X
+ DPMS off time of 0 seconds, which happens to disable the automatic X
  server DPMS off time (leaving gnome power manager to do its own thing).
  
  This effect (idle time shown = screen saver time + power manager time;
  from https://bugs.launchpad.net/ubuntu/+source/gnome-power-
  manager/+bug/135813/comments/5) would appear to explain this bug:
  
  https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/59589
  
  too (ie, why the value cannot be set below 11 minutes -- they presumably
  have a screensaver time of 11 minutes).
  
  Obviously I expect that the time specified in gnome power manager to power 
off the display will be the time in reality, not some arbitrarily shorter time. 
 (I first noticed this with a screen saver time of 8 minutes, and a display off 
time of 9 minutes -- which caused the screen to power down after 1 minute of 
inactivity.)  There are various ways this could be fixed to work sanely:
  - have gnome-power-manager not set the X server DPMS time and manage 
everything itself, counting from when the screen saver kicks in
  
  - have gnome-power-manager set the X server DPMS time to the value
  stored plus the screen saver timeout (so the overall time is consistent
  with what is shown in the preferences dialog)
  
  - have the preferences dialog store the value shown into the gnome
  preferences (including the amount that is attributed to the screensaver
  timeout, eg the full 13 minutes == 780 seconds) so that the value can be
  set directly into the X server DPMS and will give the correct timeout
  
  - decouple the power manager and screen saver timeouts again, so that
  the power manager screen off time can be set from 1 minute upwards.
  This would also allow having the screen powered down before the screen
  is locked, which can be useful if one is doing something else nearby but
  wants to save power (eg, a power manager off time of 3 minutes, and a
  lock time of 5 minutes, would power the display down pretty rapidly but
  allow waking it with a keypress without having to type in a password).
  This would just require changing the power manager preferences UI to
  accurately report the figure it's setting into the gnome preferences.
  
  Ewen

-- 
[Gutsy] Display sleep sets wrong DPMS off time
https://bugs.launchpad.net/bugs/190537
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to