summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 17:43:38 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 17:43:38 -0400
commit414bbb0e6e5af21fdef5766c472a3048850aab1b (patch)
treee6586083448e7732b9ce453231753865db206c86
parentRevert "Add README.7" (diff)
downloadsrc-414bbb0e6e5af21fdef5766c472a3048850aab1b.tar.gz
src-414bbb0e6e5af21fdef5766c472a3048850aab1b.zip
Add fbatt.1
-rw-r--r--bin/fbatt.127
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
itle='2018-11-13 15:47:10 -0500'>2018-11-13Add gzputs.3June McEnroe 2018-11-13Add gzprintf.3June McEnroe 2018-11-13Add gzfwrite.3June McEnroe 2018-11-13Add gzwrite.3June McEnroe 2018-11-12Add gzfread.3June McEnroe 2018-11-12Add gzread.3June McEnroe 2018-11-12Add gzsetparams.3June McEnroe 2018-11-12Add gzbuffer.3June McEnroe 2018-11-12Add gzdopen to gzopen.3June McEnroe 2018-11-12Add gzopen.3June McEnroe 2018-11-12Add inflateBackEnd.3June McEnroe 2018-11-12Add inflateBack.3June McEnroe 2018-11-12Add inflateBackInit.3June McEnroe 2018-11-11Add inflateGetHeader.3June McEnroe 2018-11-11Add inflateMark.3June McEnroe 2018-11-11Add inflatePrime.3June McEnroe 2018-11-11Add inflateReset.3June McEnroe 2018-11-11Add inflateCopy.3June McEnroe 2018-11-11Add inflateSync.3June McEnroe 2018-11-11Add inflateGetDictionary.3June McEnroe 2018-11-11Add inflateSetDictionary.3June McEnroe 2018-11-11Add inflateInit2.3June McEnroe