Commits


Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>


auxstats: replace /proc ACPI calls with /sys ones (#245) According to <https://askubuntu.com/a/309146>, use of `/proc/acpi` to get battery usage is deprecated. This commit replaces the two files from this API with the single file `/sys/class/power_supply/BAT0/capacity`, simultaneously removing the need to calculate battery percentage.


stats: make more stats work in Linux http://codereview.appspot.com/96084


auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski)


add -W to specify window size. various other little fixes.


various bug fixes


stats helper