summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-09-07 19:45:20 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-09-07 19:45:20 +0000
commit79293e820d4bf25efd685fb43be78d52b7a093b1 (patch)
treee22f4c68d9582ac145b0f2ad1d1ee98fdcdf30f7 /sys/man/1
parentff1f02c31615450c31163df752fcab74567ad322 (diff)
reform: add pmctl to read more info and to turn power rails off; manpages
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/reform24
1 files changed, 21 insertions, 3 deletions
diff --git a/sys/man/1/reform b/sys/man/1/reform
index b6c393ca3..7b910c134 100644
--- a/sys/man/1/reform
+++ b/sys/man/1/reform
@@ -102,6 +102,13 @@ followed by desired percentage of the effect.
.I pm
presents a file system consisting of the following files:
.TP
+.B battery
+Returns attached battery array statistics in the same manner as
+\fIacpi\fR(8).
+.TP
+.B cputemp
+Exposes the current temperature reading of the CPU.
+.TP
.B light
Provides a way to control the backlight of the built-in LCD by
writing \fIlcd [-+]N\fR,
@@ -113,11 +120,22 @@ Reading
.B light
returns the current brightness.
.TP
-.B cputemp
-Exposes the current temperature reading of the CPU.
+.B pmctl
+Reading
+.B pmctl
+gives the System Controller firmware version string, voltage (mV) of
+each cell and current(mA) of the battery array.
+.IP
+Writing
+.I power off
+to
+.B pmctl
+will turn off all power rails, which is what \fIfshalt\fR(8) does
+after halting the file systems.
.SS Shortcuts
.I shortcuts
-enables LCD brightness and audio volume adjustment via keyboard shortcuts.
+enables LCD brightness and audio volume adjustment via keyboard
+shortcuts.
.PP
The program uses Rio's
.I kbdtap