From 216009575ce3a3aec405727f92c53cd75697abd2 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 17 Dec 2011 15:08:46 +0100 Subject: Doc updates regarding Batt changes --- NEWS | 14 ++++++++++---- README | 10 +++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/NEWS b/NEWS index d790948..b63122a 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,16 @@ % xmobar - Release notes -% Jose A. Ortega Ruiz -## Version 0.14.1 (Dec 11, 2011) +## Version 0.15 -A quick upgrade to 0.14 (which see) with more precise versions for -build dependencies. +_Incompatible changes_ + + - `Batt` monitor no longer uses `-c` to specify the charge file: it + should figure things out by itself. + +_Bug fixes_ + + - Stricter build dependencies versioning in cabal file. + - [issue 64]: display of `watts` in `Batt` monitor fixed. ## Version 0.14 (Dec 10, 2011) diff --git a/README b/README index 6ba4b51..cbfa231 100644 --- a/README +++ b/README @@ -426,8 +426,8 @@ Monitors have default aliases. `BatteryP Dirs Args RefreshRate` - Aliases to `battery` -- Dirs: list of directories in `/sys/class/power/` directory where to - look for the `state` and `info` files. Example: +- Dirs: list of directories in `/sys/class/power_supply/` where to + look for the `state` and `info` files of each battery. Example: `["BAT0","BAT1","BAT2"]`. Only the first 3 directories will be searched. - Args: default monitor arguments (see below), plus the following specif ones: @@ -441,9 +441,6 @@ Monitors have default aliases. - `-p`: color to display positive power (battery charging) - `-f`: file in `/sys/class/power_supply` with AC info (default: "AC/online") - - `-c`: file in `/sys/class/power//` with full charge - information (default: "charge_full"; for instance, olpc systems - use "charge_full_design") - Variables that can be used with the `-t`/`--template` argument: `left`, `leftbar`, `timeleft`, `watts`, `acstatus` @@ -456,8 +453,7 @@ Monitors have default aliases. "-L", "10", "-H", "80", "-p", "3", "--", "-O", "On - ", "-o", "", "-L", "-15", "-H", "-5", - "-l", "red", "-m", "blue", "-h", "green", - "-c", "charge_full_design"] + "-l", "red", "-m", "blue", "-h", "green"] 600 In the above example, the thresholds before the "--" separator refer to the `` field, while those after the separator affect -- cgit v1.2.3