Xfce Wiki

Sub domains
 

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

design:power-manager [2014/08/08 18:03]
ochosi
design:power-manager [2014/09/09 18:36] (current)
ochosi
Line 1: Line 1:
 ====== Roadmap to 1.4 ====== ====== Roadmap to 1.4 ======
  
-==== Pending for merge ==== +==== Before the stable release ​==== 
 +  * Update docs (in progress)
  
 ==== Investigating / in preparation ==== ==== Investigating / in preparation ====
-  * sync sliders in display tab so that they cannot have invalid ​values +  * sync the blanking or DPMS values ​between xfpm and X11 
-  critical power action does not work (maybe related to having ​more than one battery?)+    if the user sets the blank time e.g. in another application or a terminal ​("xset s 10"), xfpm's UI wouldn'​t reflect this change of settings at all, but the screen would still blank after 10 seconds. however, this is more the exception ​than the rule, checking this once at dialog startup should be fine. 
 +  * "​Handle display power management"​ option also disables DPMS. 
 +    * option a) We change the wording of the label to something like "​Enable display power management"​ 
 +      * open question: is setting all DPMS timeouts to 0 equal to disabling DPMSif so, the option is (a bitsuperfluous 
 +    * option b) We make it do what it says, i.e. just leave the DPMS values alone if 0 
 +      * open question: when does this option actually make sense? is it specifically there for xscreensaver?​ if so, we should probably leave the blank settings alone too in that case.
  
 ==== Open Issues / Bugs ==== ==== Open Issues / Bugs ====
 +  * critical power action does not work (maybe related to having more than one battery?)
   * fix incorrect display brightness "​normal"​ level after resuming from suspend; or to describe it differently,​ reducing the level works, but it won't get set back to 100% but to some other level; I still have to investigate into this, maybe it was caused because I did not use power manager to hibernate.   * fix incorrect display brightness "​normal"​ level after resuming from suspend; or to describe it differently,​ reducing the level works, but it won't get set back to 100% but to some other level; I still have to investigate into this, maybe it was caused because I did not use power manager to hibernate.
-  ​check if the X11 blanking value differs from the one saved in xfconf/xfpm and override xfconf with it +    ​maybe related to [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=9206|this bug]]? 
-    explanation: ​the user could manually set the blank time in a terminal ​"xset s 10" ​and xfpm'​s ​UI wouldn'​t reflect this at allbut the screen would still blank after 10 seconds. ​as this is more the exception than the rule, checking this once at dialog startup should be fine. +  <​del>​Support lxpanel 0.7</​del>​ 
-  * Update docs+  * <​del>​Rename "​Battery indicator plugin"​ to "Power Manager Plugin"​ (omit the "Xfce" ​there, as there'​s ​also one for LXDEmost other plugins are spelled with large initials)</​del>​ 
 +  * <​del>​Set minimum brightness value for scrolling ​the panel plugin ​as well (not just the scale)</​del>​ 
 +  * <​del>​sync sliders in display tab so that they cannot have invalid values</​del>​
   * <​del>​Hide devices tab if there are no devices</​del>​   * <​del>​Hide devices tab if there are no devices</​del>​
   * <​del>​Fix slider turning off displays on some laptops (mostly newer ones)</​del>​   * <​del>​Fix slider turning off displays on some laptops (mostly newer ones)</​del>​
Line 36: Line 44:
   * <​del>​automatically select first device in list on devices tab (usually details for AC adapter appear on the right, but the AC adapter entry on the left is not selected, which is slightly confusing</​del>​   * <​del>​automatically select first device in list on devices tab (usually details for AC adapter appear on the right, but the AC adapter entry on the left is not selected, which is slightly confusing</​del>​
 ==== Battery Plugin ==== ==== Battery Plugin ====
-  * [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=4499|Optionally display a label next to the icon indicating remaining time and/or percentage]] 
   * <​del>​Fix plugin icon being cropped with themes that set xthickness/​ythickness</​del>​   * <​del>​Fix plugin icon being cropped with themes that set xthickness/​ythickness</​del>​
   * <​del>​Hook up the device-entries to the respective page in the settings manager</​del>​   * <​del>​Hook up the device-entries to the respective page in the settings manager</​del>​
Line 53: Line 60:
   * better handle machines that have more than one battery (especially warnings and remaining time, tooltip info about battery)   * better handle machines that have more than one battery (especially warnings and remaining time, tooltip info about battery)
     * UPower 1.0 has a concept of a display device that is supposed to fix that issue, but we do need it to work for earlier versions.     * UPower 1.0 has a concept of a display device that is supposed to fix that issue, but we do need it to work for earlier versions.
-  * add functionality to execute command line programs or scripts on battery/AC changes+  * [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=9683|add functionality to execute command line programs or scripts on battery/AC changes]]
     * enables the user to easily apply additional low-level powersaving stuff that is out of scope of power manager     * enables the user to easily apply additional low-level powersaving stuff that is out of scope of power manager
     * at the moment, this can be achieved via udev rules     * at the moment, this can be achieved via udev rules
Line 63: Line 70:
     * We should probably also add a timed-locking feature to xfpm, so it really controls all locking options     * We should probably also add a timed-locking feature to xfpm, so it really controls all locking options
   * Add code to handle cpu frequency / governor settings, e.g. powersave/​performance switch for intel_pstate.   * Add code to handle cpu frequency / governor settings, e.g. powersave/​performance switch for intel_pstate.
 +    * [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=8965|maybe a similar feature request]]
   * Show current watt usage (upower energy rate available in battery info)   * Show current watt usage (upower energy rate available in battery info)
 +  * [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=4499|Optionally display a label next to the icon indicating remaining time and/or percentage in the panel plugin]]
 +  * Add scale in the panel plugin to handle keyboard brightness
design/power-manager.txt · Last modified: 2014/09/09 18:36 by ochosi