Commit Graph

7 Commits

Author SHA1 Message Date
Dan Cross
fa325e9b42 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>
2020-01-10 14:54:30 +00:00
Zach Scott
7d827b5cca 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.
2019-09-19 13:08:36 -04:00
Fazlul Shahriar
3c6ab1854e stats: make more stats work in Linux
http://codereview.appspot.com/96084
2009-08-08 16:45:27 -04:00
Russ Cox
7be768e78c auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski) 2007-09-15 19:06:48 -04:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
78802e6993 various bug fixes 2004-04-24 04:52:49 +00:00
rsc
f0f4401f0c stats helper 2004-04-23 05:12:11 +00:00