[Xfce4-commits] <xfce4-weather-plugin:master> Update README, NEWS and TODO.

Harald Judt noreply at xfce.org
Tue Feb 5 15:24:04 CET 2013


Updating branch refs/heads/master
         to cde2cfc9f6d694d5bbb7ccfed862db04fb60041b (commit)
       from 7f9d46522e16bfae8ba923818857a8a51ce598bf (commit)

commit cde2cfc9f6d694d5bbb7ccfed862db04fb60041b
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Feb 5 15:06:17 2013 +0100

    Update README, NEWS and TODO.

 NEWS   |    2 ++
 README |   12 ++++++++++++
 TODO   |    1 -
 3 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 21f4bb1..78c4ae7 100644
--- a/NEWS
+++ b/NEWS
@@ -116,6 +116,8 @@
   easier discernable.
 - New icon theme: "Liquid Dark", a variation of the liquid icon theme
   better suited for dark panels.
+- Add optional support for upower for extending battery life. Power
+  saving can be disabled via a hidden option in the config file.
 - Improvements for translators of RTL languages.
 - Use GArrays for storing timeslices and glib data structures in many
   other places to improve portability and maintenance.
diff --git a/README b/README
index bfd3919..53479ac 100644
--- a/README
+++ b/README
@@ -146,6 +146,7 @@ met in addition to those of XFCE-4.10:
 
 * >=libxml-2.4.0
 * >=libsoup-2.26.0
+* >=upower-0.9.0 (optional)
 
 You might also need developer libraries necessary for building other
 parts of XFCE. Usually autogen.sh / configure will tell you, otherwise
@@ -542,3 +543,14 @@ config file in $HOME/.config/xfce4/panel, then restart the panel with
   GeoNames username manually (see INFORMATION FOR PACKAGE MAINTAINERS
   AND DISTRIBUTORS on how to register). Delete this option completely
   to use the default GeoNames username set at build time.
+
+* power_saving: If the plugin has been compiled with support for
+  upower, it will try to extend battery life by taking the following
+  measures:
+  1) If the lid is closed, hide the scrollbox.
+  2) If the machine is on battery or the lid is closed,
+     - decrease the regular update interval to 30 seconds,
+     - stop the scrollbox animation and
+     - update the summary window clock only every minute.
+  Setting this value to false will deactivate power saving. If upower
+  support has not been compiled in, then this setting has no effect.
diff --git a/TODO b/TODO
index 4b949a6..ba1b29f 100644
--- a/TODO
+++ b/TODO
@@ -3,7 +3,6 @@ categories, but not prioritized or mandatory.
 
 Maintenance and optimizing stuff
 ======================================================================
-* Use upower for power saving mode (e.g. stop scrollbox animations).
 
 Data
 ======================================================================


More information about the Xfce4-commits mailing list