summary refs log tree commit diff
path: root/bin/man/fbatt.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
committerJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
commit324026700184917040f360aced5995856eea838f (patch)
tree648db1074e9b7d573fc2d56710711b9bf1eaa0c0 /bin/man/fbatt.1
parentRewrite gfx.7 and render plaintext README (diff)
downloadsrc-324026700184917040f360aced5995856eea838f.tar.gz
src-324026700184917040f360aced5995856eea838f.zip
Move bin man pages to bin/man
Diffstat (limited to 'bin/man/fbatt.1')
-rw-r--r--bin/man/fbatt.134
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/man/fbatt.1 b/bin/man/fbatt.1
new file mode 100644
index 00000000..73bc109c
--- /dev/null
+++ b/bin/man/fbatt.1
@@ -0,0 +1,34 @@
+.Dd September 7, 2018
+.Dt FBATT 1
+.Os "Causal Agency"
+.
+.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
+.It Ev FRAMEBUFFER
+The framebuffer device path.
+.El
+.
+.Sh FILES
+.Bl -tag
+.It Pa /dev/fb0
+The default framebuffer device path.
+.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