aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auxstats/Linux.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-3/+3
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>
2019-09-19auxstats: replace /proc ACPI calls with /sys ones (#245)Zach Scott1-22/+8
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.
2009-08-08stats: make more stats work in LinuxFazlul Shahriar1-6/+66
http://codereview.appspot.com/96084
2007-09-15auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski)Russ Cox1-5/+26
2004-04-29add -W to specify window size.rsc1-8/+7
various other little fixes.
2004-04-24various bug fixesrsc1-1/+11
2004-04-23stats helperrsc1-0/+177