2014-08-18 22:56:27 +00:00
|
|
|
.TH WMACPI 1 "July 13 2007"
|
2014-08-18 22:56:10 +00:00
|
|
|
.SH NAME
|
2014-08-18 22:56:14 +00:00
|
|
|
wmacpi \- Battery status monitor for systems supporting ACPI
|
2014-08-18 22:56:10 +00:00
|
|
|
.SH NAME
|
2014-08-18 22:56:32 +00:00
|
|
|
wmacpi-cli \- Query battery status for systems supporting ACPI
|
2014-08-18 22:56:10 +00:00
|
|
|
.SH SYNOPSIS
|
2014-08-18 22:56:14 +00:00
|
|
|
.B wmacpi
|
2014-08-18 22:56:10 +00:00
|
|
|
[
|
|
|
|
.RI -c
|
|
|
|
value ]
|
|
|
|
[
|
|
|
|
.RI -d
|
|
|
|
display ]
|
|
|
|
[
|
|
|
|
.RI -m
|
|
|
|
battery no ]
|
|
|
|
[
|
2014-08-18 22:56:12 +00:00
|
|
|
.RI -s
|
|
|
|
sample rate ]
|
|
|
|
[
|
2014-08-18 22:56:21 +00:00
|
|
|
.RI -f
|
2014-08-18 22:56:10 +00:00
|
|
|
]
|
2014-08-18 22:56:21 +00:00
|
|
|
[
|
|
|
|
.RI -v
|
2014-08-18 22:56:11 +00:00
|
|
|
]
|
2014-08-18 22:56:21 +00:00
|
|
|
[
|
2014-08-18 22:56:11 +00:00
|
|
|
.RI -n
|
|
|
|
]
|
2014-08-18 22:56:10 +00:00
|
|
|
[
|
2014-08-18 22:56:27 +00:00
|
|
|
.RI -x
|
2014-08-18 22:56:14 +00:00
|
|
|
]
|
|
|
|
[
|
|
|
|
.RI -a
|
|
|
|
samples ]
|
|
|
|
[
|
2014-08-18 22:56:27 +00:00
|
|
|
.RI -v
|
2014-08-18 22:56:10 +00:00
|
|
|
]
|
|
|
|
[
|
|
|
|
.RI -h
|
|
|
|
]
|
|
|
|
.PP
|
2014-08-18 22:56:32 +00:00
|
|
|
.B wmacpi-cli
|
2014-08-18 22:56:10 +00:00
|
|
|
[
|
|
|
|
.RI -a
|
|
|
|
samples ]
|
|
|
|
[
|
2014-08-18 22:56:27 +00:00
|
|
|
.RI -V
|
2014-08-18 22:56:10 +00:00
|
|
|
]
|
|
|
|
[
|
2014-08-18 22:56:27 +00:00
|
|
|
.RI -v
|
2014-08-18 22:56:10 +00:00
|
|
|
]
|
2014-08-18 22:56:18 +00:00
|
|
|
]
|
|
|
|
.RI -b
|
|
|
|
]
|
|
|
|
[
|
|
|
|
.RI -r
|
|
|
|
]
|
2014-08-18 22:56:10 +00:00
|
|
|
[
|
|
|
|
.RI -h
|
|
|
|
]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
This manual page documents briefly the
|
2014-08-18 22:56:14 +00:00
|
|
|
.B wmacpi
|
2014-08-18 22:56:10 +00:00
|
|
|
command.
|
|
|
|
.PP
|
2014-08-18 22:56:14 +00:00
|
|
|
.B wmacpi
|
2014-08-18 22:56:10 +00:00
|
|
|
is a program that displays the current battery status in a WindowMaker
|
|
|
|
dock app, on systems that support Intel's Advanced Configuration and
|
|
|
|
Power Interface specification (ACPI).
|
|
|
|
.PP
|
|
|
|
The program monitors a battery, displaying its current percentage
|
|
|
|
charge via a bar and a numeric value. It also displays the current
|
|
|
|
power status for the system, the time remaining (calculated based on
|
|
|
|
the remaining battery capacity and the current rate of power usage),
|
|
|
|
and a scrolling message with some hopefully useful information.
|
|
|
|
.PP
|
|
|
|
Clicking on the window cycles through the batteries that the ACPI
|
|
|
|
system knows about.
|
|
|
|
.PP
|
2014-08-18 22:56:32 +00:00
|
|
|
.B wmacpi-cli
|
2014-08-18 22:56:10 +00:00
|
|
|
queries the battery status from the command line. It prints the power
|
|
|
|
status, the percentage remaining for each battery found, and the time
|
|
|
|
remaining if the system is on battery, or the time remaining for each
|
|
|
|
battery to reach full charge if the batteries are charging.
|
|
|
|
.SH OPTIONS
|
2014-08-18 22:56:14 +00:00
|
|
|
.B wmacpi
|
2014-08-18 22:56:10 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-c, --critical=percentage
|
|
|
|
Set critical low alarm at <percentage>% (default: 10%).
|
2014-08-18 22:56:10 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-d, --display=display
|
2014-08-18 22:56:10 +00:00
|
|
|
Set the X display to open the window on.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-m, --battery=battery number
|
2014-08-18 22:56:10 +00:00
|
|
|
Set the battery to monitor initially.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-s, --sample-rate=sample rate
|
2014-08-18 22:56:19 +00:00
|
|
|
Set the rate at which to sample the ACPI data, in number of times per
|
|
|
|
minute. Minimum is 1, ie once a minute, default is 20, maximum is 600.
|
2014-08-18 22:56:12 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-n, --no-blink
|
2014-10-05 15:29:59 +00:00
|
|
|
Disable blinking power glyph when charging. Note that it still blinks when
|
2014-08-18 22:56:11 +00:00
|
|
|
the battery reports its capacity state as critical.
|
2014-08-18 22:56:12 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-f, --force-capacity-mode
|
2014-08-18 22:56:21 +00:00
|
|
|
Force the use of capacity mode for calculating time remaining. By defalt
|
|
|
|
.B wmacpi
|
|
|
|
will use the reported values of remaining capacity and present rate to
|
|
|
|
calculate the time remaining on battery. This flag will force the use
|
|
|
|
of the remaining capacity and time samples to calculate the present
|
|
|
|
rate of drain, and from there the time remaining. Note that this mode
|
|
|
|
of calculation generally underreports the time remaining. This mode
|
|
|
|
works around certain buggy ACPI BIOSes that fail to report the current
|
|
|
|
rate.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-x, --cmdline
|
2014-10-05 15:29:59 +00:00
|
|
|
Run wmacpi in command line mode - this operates identically to
|
2014-08-18 22:56:32 +00:00
|
|
|
.B wmacpi-cli\&.
|
2014-08-18 22:56:14 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-a, --samples=samples
|
2014-08-18 22:56:14 +00:00
|
|
|
Average the time remaining over num samples. This greatly improves the
|
|
|
|
accuracy of the reported time remaining.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-V, --verbosity=num
|
2014-10-05 15:29:59 +00:00
|
|
|
Increase the verbosity of the program. Setting this to 1 will print extra
|
|
|
|
error information; 2 will produce informational output; 3 will produce
|
2014-08-18 22:56:27 +00:00
|
|
|
copious debugging output.
|
2014-08-18 22:56:10 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-v, --version
|
2014-08-18 22:56:10 +00:00
|
|
|
Print the version information.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-r, --no-scroll
|
2014-08-18 22:56:18 +00:00
|
|
|
Disable scrolling message.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-h, --help
|
2014-08-18 22:56:10 +00:00
|
|
|
Display help.
|
|
|
|
.TP
|
2014-08-18 22:56:32 +00:00
|
|
|
.B wmacpi-cli
|
2014-08-18 22:56:10 +00:00
|
|
|
.TP
|
|
|
|
.B \-a num
|
|
|
|
Average the time remaining over num samples. This greatly improves the
|
|
|
|
accuracy of the reported time remaining.
|
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-V
|
|
|
|
Increase the verbosity of the program. If repeated, the result is the
|
2014-10-05 15:29:59 +00:00
|
|
|
same as setting
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \--verbosity
|
|
|
|
for
|
2014-08-18 22:56:14 +00:00
|
|
|
.B wmacpi
|
2014-08-18 22:56:27 +00:00
|
|
|
to the number of repetitions.
|
2014-08-18 22:56:10 +00:00
|
|
|
.TP
|
2014-08-18 22:56:27 +00:00
|
|
|
.B \-v
|
2014-08-18 22:56:10 +00:00
|
|
|
Print the version information.
|
|
|
|
.TP
|
|
|
|
.B \-h
|
|
|
|
Display help.
|
|
|
|
.SH AUTHOR
|
|
|
|
.B wmacpi
|
2014-08-18 22:56:14 +00:00
|
|
|
was originally written by Tim Copperfield <timecop@japan.co.jp>, then
|
2014-08-18 22:56:26 +00:00
|
|
|
completely rewritten after 1.34 by Simon Fowler <simon@himi.org>.
|
2014-08-18 22:56:10 +00:00
|
|
|
.PP
|
|
|
|
This manual page was originally written by Simon Richter
|
2014-08-18 22:56:14 +00:00
|
|
|
<sjr@debian.org> for the Debian GNU/Linux system, and then updated by
|
2014-10-05 15:29:59 +00:00
|
|
|
Simon Fowler.
|
2014-08-18 22:56:10 +00:00
|
|
|
.br
|
2014-08-18 22:56:27 +00:00
|
|
|
Last modification by Simon Fowler <simon@himi.org>, 2007-07-13.
|