diff options
author | June McEnroe <june@causal.agency> | 2018-09-07 17:43:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-09-07 17:43:38 -0400 |
commit | ba79267e8593031c620379e52a4e94f4c8cdb486 (patch) | |
tree | e302ea0fafe7553150482cfd446f88e2e68f37bf | |
parent | Revert "Add README.7" (diff) | |
download | src-ba79267e8593031c620379e52a4e94f4c8cdb486.tar.gz src-ba79267e8593031c620379e52a4e94f4c8cdb486.zip |
Add fbatt.1
-rw-r--r-- | bin/fbatt.1 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bin/fbatt.1 b/bin/fbatt.1 new file mode 100644 index 00000000..fc606ede --- /dev/null +++ b/bin/fbatt.1 @@ -0,0 +1,27 @@ +.Dd $Mdocdate$ +.Dt FBATT 1 +.Sh NAME +.Nm fbatt +.Nd framebuffer battery indicator +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +.Nm +displays a battery charge indicator +in the top-right corner +of the Linux framebuffer. +.Sh ENVIRONMENT +.Bl -tag -width "FRAMEBUFFER" +.It Ev FRAMEBUFFER +The framebuffer device. By default, +.Pa /dev/fb0 . +.El +.Sh FILES +.Bl -tag -width "/sys/class/power_supply" +.It Pa /sys/class/power_supply +The first subdirectory containing +.Pa charge_full +and +.Pa charge_now +is used to read the battery charge. +.El |