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/11/20 23:25] (current)
hjudt [New features]
Line 1: Line 1:
-====== Roadmap to 1.======+====== Roadmap to 1.====== 
 +<<<<<<​ Features for next version will be added here >>>>>>​
  
-==== Pending for merge ==== 
  
 +====== Backlog ======
 +===== Bug fixes =====
  
-==== Investigating / in preparation ==== 
-  * sync sliders in display tab so that they cannot have invalid values 
-  * critical power action does not work (maybe related to having more than one battery?) 
  
-==== Open Issues / Bugs ==== +===== Code cleanup ===== 
-  * 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. +  * do code cleanup until motivation runs dry 
-  check if the X11 blanking ​value differs from the one saved in xfconf/xfpm and override xfconf with it +    sync DPMS/blanking ​constraints ​in xfconf ​instead of in UI 
-    * explanation:​ the user could manually set the blank time in a terminal "xset s 10" and xfpm'​s ​UI wouldn'​t reflect this at all, but 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. +    * function names for the settings dialog refer to renamed tabsrename ​them or find better ​way of dealing with this
-  * Update docs +
-  * <​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 hiding all stuff when related hardware devices are unavailable</​del>​ +
-  * <​del>​fix borders and spaces of container widgets being different, see http://​git.xfce.org/​users/​hjudt/​xfce4-power-manager/​log/?​h=ui-fixes</​del>​ +
-  * <​del>​Merge brightness plugin into battery plugin</​del>​ +
-    * <​del>​Something like: http://​dot.kde.org/​sites/​dot.kde.org/​files/​battery_0.jpg ?</​del>​ +
-    * <​del>​Would look something like this in Gtk: {{ :​design:​powerman_plugin.png?​direct&​100|}}</​del>​ +
-  * <​del>​split up system sleep mode for battery/AC and put it above "when inactive for"</​del>​ +
-    * <​del>​do not use translated string for setting this option</​del>​ +
-  * <​del>​rename "lock screen"​ option ​to "lock screen when system is going to sleep"</​del>​ +
-  * <​del>​move lock screen option to general tab</​del>​ +
-  * <​del>​move lid actions to controls tab</​del>​ +
-  * <​del>​help button does not work</​del>​ +
-    * <​del>​Works for me – maybe you have a broken version of libxfce4ui?</​del>​ - yes likely (4.11.1 on gentoo), other help buttons don't work too +
-  * <​del>​make display sleep mode option a hidden option, defaulting to suspend</​del>​ +
-  * <​del>​resize panel widgets on gtk style changes</​del>​ +
-  * <​del>​remove options that are not workingwe can add them back later</​del>​ +
-    * <​del>​System tab: "​Prefer saving power over performance"​ - how is it supposed to work anyway (only when on battery)?</​del>​ +
-    * <​del>​System tab: Remove "Hard disks" section completely</​del>​ +
-      * <​del>​the dbus call seems to have been removed anyway in udisks2</​del>​ +
-  * <​del>​nothing handled in xfpm_power_dbus_get_power_save_status;​ setting powersaving via dbus does not work?</​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 ==== +
-  * [[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>​Hook up the device-entries to the respective page in the settings manager</​del>​ +
-  * <​del>​When xfpm isn't running and you open preferences it asks if you want to start xfpm then settings quits, it would be nice if settings either continued to load or waited ​couple seconds and relaunched itself.</​del>​ +
-==== Backlight tab (not completely realized, dialog has been redesigned in a different ​way) ==== +
-  * <​del>​Add checkbox to enable handling ​of brightness management ( = override kernel)</​del>​ +
-    * <​del>​[[https://​bugzilla.xfce.org/​show_bug.cgi?​id=10906|no backlight control on T440s]]</​del>​ +
-    * <​del>​we can check and set /​sys/​module/​video/​parameters/​brightness_switch_enabled</​del>​ +
-    * <​del>​because sometimes xfce4-power-manager might handle backlight better than the kernel driver (finer steps etc.)</​del>​ +
-  * <​del>​hide/​show tab when on desktop/​laptop</​del>​ +
-  * <​del>​Move brightness-settings from display tab</​del>​ +
-  * <​del>​Add option to deactivate brightness notifications</​del>​ +
- +
-====== 1.6 (or later) ======+
  
 +===== Improvements =====
 +  * sync the blanking or DPMS values between xfpm and X11
 +    * 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 DPMS? if so, the option is (a bit) superfluous
 +    * 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.
 +  * further improve coexistance with xscreensaver (DPMS on AC/battery) if possible
 +  * consider doing a fade-to-black,​ if X11's screensaver extension is used (instead of gnome-screensaver or xscreensaver)
   * 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 +  * some machines (most common with IBM/Lenovo thinkpads) can set the maximum level batteries will be charged to (e.g. 80%); xfpm should properly handle this with regard to notifications etc. see [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=8561|bug #8561]] 
-    * enables the user to easily apply additional low-level powersaving stuff that is out of scope of power manager+===== New features ===== 
 + 
 +  * detect installed/​running lockers and add "​Preferred lockscreen:"​ combobox to the settings-dialog (deprecates the "​stupid"​ xflock script) 
 +    * add "​xfce4-power-manager --lock-session"​ commandline-switch (and also add that to xflock4 as first command to try) 
 +    * related bugreports: https://​bugzilla.xfce.org/​show_bug.cgi?​id=5359,​ https://​bugzilla.xfce.org/​show_bug.cgi?​id=10217 (and many more) 
 +    * we should probably also add a timed-locking feature to xfpm, so it really controls all locking options 
 +  * [[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 
 +  * show current watt usage (upower energy rate available in battery info) 
 +  * [[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 ​(e.g. CPU frequency/​governors,​ SATA link power management which can be troublesome on some devices)
     * at the moment, this can be achieved via udev rules     * at the moment, this can be achieved via udev rules
     * could be a hidden option, or on an extra tab     * could be a hidden option, or on an extra tab
-  ​Consider doing a fade-to-blackif X11's screensaver extension is used (instead of gnome-screensaver or xscreensaver+    ​see bug [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=8965|#​8965]]maybe an alternative solution for [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=11127|#​11127]] and others ​(already closed
-  * Detect installed/​running lockers and add "​Preferred lockscreen:"​ combobox to the settings-dialog ​(deprecates the "​stupid"​ xflock script) +  * add hidden? option(s) to execute a custom ​command ​for lock/​hibernation/​suspend/​shutdown (see [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=9683|#​9683]]) 
-    * Add "​xfce4-power-manager --lock-session"​ commandline-switch (and also add that to xflock4 as first command ​to try) +  * optionally display percentage and battery time next to the panel icon (see bug [[https://​bugzilla.xfce.org/​show_bug.cgi?​id=4499|#​4499]]
-    * Related bugreports: ​https://​bugzilla.xfce.org/​show_bug.cgi?​id=5359, https://​bugzilla.xfce.org/​show_bug.cgi?​id=10217 (and many more+    * we could add an option dialog for the panel plugin (properties entry in right-click menu similar ​to the other panel plugins) 
-    * We should probably also add a timed-locking feature ​to xfpm, so it really controls all locking options +===== Documentation ===== 
-  * Add code to handle cpu frequency / governor settings, e.g. powersave/​performance switch for intel_pstate. +  * update website docs 
-  * Show current watt usage (upower energy rate available in battery info)+ 
design/power-manager.1407513786.txt.gz · Last modified: 2014/08/08 18:03 by ochosi