Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
design:power-manager [2014/08/06 08:49] – [Pending for merge] hjudtdesign:power-manager [2014/11/18 15:03] – [New features] hjudt
Line 1: Line 1:
-====== Roadmap to 1.======+====== Roadmap to 1.======
  
-==== Pending for merge ====+===== Bug fixes =====
  
  
-==== Investigating / in preparation ==== +===== Code cleanup ===== 
-  * sync sliders in display tab so that they cannot have invalid values +  * do code cleanup until motivation runs dry 
-  critical power action does not work (maybe related to having more than one battery?)+    * sync DPMS/blanking constraints in xfconf instead of in UI 
 +    function names for the settings dialog refer to renamed tabs; rename them or find a better way of dealing with this
  
-==== Open Issues / Bugs ==== +===== Improvements ===== 
-  * fix incorrect display brightness "normallevel after resuming from suspend; or to describe it differentlyreducing the level works, but it won'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+  * sync the blanking or DPMS values between xfpm and X11 
-  * Update docs +    * if the user sets the blank time e.g. in another application or a terminal ("xset s 10")xfpm's UI wouldn'reflect this change of settings at all, but the screen would still blank after 10 seconds. however, this is more the exception than the rulechecking this once at dialog startup should be fine
-  * Hide devices tab if there are no devices +  * "Handle display power management" option also disables DPMS
-  * <del>fix hiding all stuff when related hardware devices are unavailable</del> +    * option a) We change the wording of the label to something like "Enable display power management
-  * <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> +      open question: is setting all DPMS timeouts to 0 equal to disabling DPMS? if so, the option is (a bit) superfluous 
-  * <del>Merge brightness plugin into battery plugin</del> +    * option b) We make it do what it says, i.e. just leave the DPMS values alone if 0 
-    * <del>Something like: http://dot.kde.org/sites/dot.kde.org/files/battery_0.jpg ?</del> +      open question: when does this option actually make sense? is it specifically there for xscreensaverif sowe should probably leave the blank settings alone too in that case. 
-    * <del>Would look something like this in Gtk: {{ :design:powerman_plugin.png?direct&100|}}</del> +  * further improve coexistance with xscreensaver (DPMS on AC/battery) if possible 
-  * <del>split up system sleep mode for battery/AC and put it above "when inactive for"</del> +  * consider doing a fade-to-black, if X11's screensaver extension is used (instead of gnome-screensaver or xscreensaver) 
-    <del>do not use translated string for setting this option</del> +  * better handle machines that have more than one battery (especially warnings and remaining time, tooltip info about battery) 
-  * <del>rename "lock screen" option to "lock screen when system is going to sleep"</del> +    * 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. 
-  <del>move lock screen option to general tab</del> + 
-  <del>move lid actions to controls tab</del> +===== New features ===== 
-  * <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 +  * Detect installed/running lockers and add "Preferred lockscreen:" combobox to the settings-dialog (deprecates the "stupid" xflock script) 
-  * <del>make display sleep mode option a hidden option, defaulting to suspend</del> +    * Add "xfce4-power-manager --lock-session" commandline-switch (and also add that to xflock4 as first command to try) 
-  * <del>resize panel widgets on gtk style changes</del> +    Related bugreports: https://bugzilla.xfce.org/show_bug.cgi?id=5359https://bugzilla.xfce.org/show_bug.cgi?id=10217 (and many more) 
-  * <del>remove options that are not working; we can add them back later</del> +    * We should probably also add timed-locking feature to xfpm, so it really controls all locking options 
-    * <del>System tab: "Prefer saving power over performance" - how is it supposed to work anyway (only when on battery)?</del> +  * [[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]] 
-    * <del>System tab: Remove "Hard disks" section completely</del> +  * Add scale in the panel plugin to handle keyboard brightness 
-      * <del>the dbus call seems to have been removed anyway in udisks2</del> +  * Show current watt usage (upower energy rate available in battery info
-  * <del>nothing handled in xfpm_power_dbus_get_power_save_status; setting powersaving via dbus does not work?</del> +  * [[https://bugzilla.xfce.org/show_bug.cgi?id=9683|add functionality to execute command line programs or scripts on battery/AC changes]] 
-  * <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> +    * 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) 
-==== Battery Plugin ==== +    at the moment, this can be achieved via udev rules 
-  * Fix menu staying open +    could be a hidden option, or on an extra tab 
-    * Steps to reproduce: **1.** open the plugin menu **2.** move with the mouse-cursor back over the panelkeeping the menu open **3.** click somewhere on the panel **4.** move the cursor away from the panel **5.** click the panel plugin again, and a second menu will open on top of the first one + 
-  * [[https://bugzilla.xfce.org/show_bug.cgi?id=4499|Optionally display a label next to the icon indicating remaining time and/or percentage]] +===== Documentation ===== 
-  * <del>Fix plugin icon being cropped with themes that set xthickness/ythickness</del> +  * update website docs
-  * <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 a 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) ====== ====== 1.6 (or later) ======
Line 52: Line 43:
   * 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 62: Line 53:
     * 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