** Description changed:

  [Impact]
  
-  * User can choose the suspend time and blank time in the gnome control
- center (system settings).
+ According to the current design in Ubuntu Precise, users can choose the
+ suspend time and blank time in the gnome control center (system
+ settings). However, there's another gsetting called "org.gnome.settings-
+ daemon.plugins.power idle-dim-time" which controls the screen dim time.
+ The default value of idle-dim-time in Ubuntu is 30 secs and this makes
+ the screen dim after idle for 30 secs. This part (idle-dim-time) is not
+ accessible to users in the default UI but can only be accessed by using
+ the CLI.
  
-    Also, there's a gsetting called "org.gnome.settings-daemon.plugins.power 
idle-dim-time" which default in Ubuntu is 30 secs and will dim the screen after 
idle for 30 secs.
- (which the value user can not adjust in the default UI but only using the CLI)
- 
-    This two categories of values (dim time/suspend&blank time) should
- not be related at all, however,the current Ubuntu Precise (12.04)'s
+    This two categories of values (dim time/suspend&blank time) should
+ not be related at all, however, the current Ubuntu Precise (12.04)'s
  gnome settings daemon (3.4.2) it actually suspend or blank the screen on
  "user set time plus the dim time", which added additional 30 secs by
- default.
+ default. Since dim time is not accessible by users in default UI, this
+ confusing users why extra 30 secs is added to the total time on top of
+ the selected suspend/blank time.
  
-    In some OEM projects, in order to fulfill the OEM requests for Energy
+    In some OEM projects, in order to fulfill the OEM requests for Energy
  Star standard, the dim time is set to 5 minutes default (instead of 30
  secs), and this make the suspend time and screen blank time very
  inaccurate, because user will have additional 5 minutes to wait before
  the screen blank or system suspend. (Inactive time to suspend is about 5
  minutes more than setting.)
  
   * User do not need modify anything for this patch.
  
  [Test Case]
  
  * Please use Ubuntu Precise (12.04) to test, this issue is already fixed
  in Ubuntu Raring (13.04)
  
  * Set idle-dim-time to 300 first (5 minutes), it's much easier to find out 
this issue.
  (the default is 30 secs and it's somehow not as easy to observe, but the 
result should be same.)
  Command:
  #gsettings set org.gnome.settings-daemon.plugins.power idle-dim-time 300
  
  *In settings:
  Turn screen off: 10 minutes
  Suspend: 10 minutes on battery power, 30 minutes when plugged in.
  
  Actual:
  On battery: Screen turned off after 10 minutes, suspend after about 5 more 
minutes(15 minutes total).
  When plugged in: Screen turned off after 10 minutes, suspend after about 25 
more minutes(35 minutes total).
  
  Steps:
  1. Check power settings and brightness settings
  2. Leave the system inactive
  
  Expected results: Inactive time to suspend is same as setting
  
  Actual results: Inactive time to suspend is about 5 minutes more than
  setting
  
  [Regression Potential]
  
  * This do not need to modify any user settings.
  
  * The impact should be minimal for an inaccurate timing of
  suspend/blanking.
  
  [Other Info]
  
  Original bug description:
  
  When I set the various timeouts via dconf-editor, my computer does not
  follow them precisely. I'm referring to these settings:
  
  org.gnome.settings-daemon.plugins.power sleep-display-ac
  org.gnome.settings-daemon.plugins.power sleep-display-battery
  org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout
  org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout
  
  For example if I set all to 5, then the display sleeps at 30 seconds,
  and the computer at 70 seconds. Similarly, if I set them all to 60, the
  computer suspends around 90 seconds. I've only tried these shorter
  settings. These are clearly values that are low for normal usage, but
  this bug is very frustrating if one attempts to troubleshoot unrelated
  automatic-sleep bugs. Firstly, I think I missed the case when automatic
  sleep might have worked. Secondly, it increases the time it takes to
  troubleshoot by a lot.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-power-manager 3.4.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
  Uname: Linux 3.2.0-31-generic x86_64
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: amd64
  Date: Tue Sep 25 09:43:50 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: gnome-power-manager
  UpgradeStatus: Upgraded to precise on 2012-04-29 (148 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1055874

Title:
  Automatic sleep settings are not followed precisely

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1055874/+subscriptions

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

Reply via email to