summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/Batt.hs
AgeCommit message (Collapse)Author
2020-02-11Battery: fix time calculations on some Linux systemsPaul Fertser
The calculations are based on the assumption that current_now (or power_now) are always positive. However, power_supply documentation in the kernel sources say nothing about it, and so some drivers provide a signed value (e.g. bq27xxx_battery_current). Discovered and fixed on ac100/paz00 netbook.
2020-01-08FreeBSD battery: Condition to notify if battery is full.Dhananjay Balan
2020-01-06Support for freebsd battery status:Dhananjay Balan
Exposed via -f with_freebsd flag, uses sysctl to query battery status.
2020-01-04Replace parseOpts with a generic functionslotThe
2019-10-15Battery: -P to show %jao
2019-10-12Replacing the cute <> operator to make GHC 8.0/8.2 happyjao
2019-10-12Display additional strings depending on battery statusslotThe
2019-06-30You're just nitpicking, hlintjao
2019-06-30Fix: only call the low battery action when not using ACjao
2019-06-30hlintingjao
2019-06-30New options -a, -A for low battery notificationsjao
2019-04-21Batt: level color set also for AC on/off stringjao
2018-11-25Back to app/src, since it seems they're the default convention for stackjao
2018-11-21All sources moved inside srcjao
2018-11-21Split Modules into Library & Executable StructurePavan Rikhi
Move the Main module to a new `app` directory. All other modules have been nested under the `Xmobar` name. Lots of module headers & imports were updated.