diff options
-rw-r--r-- | news.md | 2 | ||||
-rw-r--r-- | readme.md | 4 | ||||
-rw-r--r-- | src/Plugins/Monitors/Batt.hs | 4 |
3 files changed, 6 insertions, 4 deletions
@@ -28,6 +28,8 @@ _Bug fixes_ - `PipeReader` was polling too often (thanks to zlbruce). - The `MPris` monitor now honours field width and padding optons (-M, -w, etc.). + - `Batt`: sensible thresholds for high/low power consumption (see + [issue #265]. [issue #231]: https://github.com/jaor/xmobar/issues/225 @@ -866,8 +866,8 @@ something like: - `-O`: string for AC "on" status (default: "On") - `-i`: string for AC "idle" status (default: "On") - `-o`: string for AC "off" status (default: "Off") - - `-L`: low power (`watts`) threshold (default: -12) - - `-H`: high power threshold (default: -10) + - `-L`: low power (`watts`) threshold (default: 10) + - `-H`: high power threshold (default: 12) - `-l`: color to display power lower than the `-L` threshold - `-m`: color to display power lower than the `-H` threshold - `-h`: color to display power higher than the `-H` threshold diff --git a/src/Plugins/Monitors/Batt.hs b/src/Plugins/Monitors/Batt.hs index 2ceac09..81c9aee 100644 --- a/src/Plugins/Monitors/Batt.hs +++ b/src/Plugins/Monitors/Batt.hs @@ -51,8 +51,8 @@ defaultOpts = BattOpts , lowWColor = Nothing , mediumWColor = Nothing , highWColor = Nothing - , lowThreshold = -12 - , highThreshold = -10 + , lowThreshold = 10 + , highThreshold = 12 , onlineFile = "AC/online" , scale = 1e6 , onIconPattern = Nothing |