1 .TH WMACPI 1 "July 13 2007"
3 wmacpi \- Battery status monitor for systems supporting ACPI
5 wmacpi-cli \- Query battery status for systems supporting ACPI
62 This manual page documents briefly the
67 is a program that displays the current battery status in a WindowMaker
68 dock app, on systems that support Intel's Advanced Configuration and
69 Power Interface specification (ACPI).
71 The program monitors a battery, displaying its current percentage
72 charge via a bar and a numeric value. It also displays the current
73 power status for the system, the time remaining (calculated based on
74 the remaining battery capacity and the current rate of power usage),
75 and a scrolling message with some hopefully useful information.
77 Clicking on the window cycles through the batteries that the ACPI
81 queries the battery status from the command line. It prints the power
82 status, the percentage remaining for each battery found, and the time
83 remaining if the system is on battery, or the time remaining for each
84 battery to reach full charge if the batteries are charging.
88 .B \-c, --critical=percentage
89 Set critical low alarm at <percentage>% (default: 10%).
91 .B \-d, --display=display
92 Set the X display to open the window on.
94 .B \-m, --battery=battery number
95 Set the battery to monitor initially.
97 .B \-s, --sample-rate=sample rate
98 Set the rate at which to sample the ACPI data, in number of times per
99 minute. Minimum is 1, ie once a minute, default is 20, maximum is 600.
102 Disable blinking power glyph when charging. Note that it still blinks when
103 the battery reports its capacity state as critical.
105 .B \-f, --force-capacity-mode
106 Force the use of capacity mode for calculating time remaining. By defalt
108 will use the reported values of remaining capacity and present rate to
109 calculate the time remaining on battery. This flag will force the use
110 of the remaining capacity and time samples to calculate the present
111 rate of drain, and from there the time remaining. Note that this mode
112 of calculation generally underreports the time remaining. This mode
113 works around certain buggy ACPI BIOSes that fail to report the current
117 Run wmacpi in command line mode - this operates identically to
120 .B \-a, --samples=samples
121 Average the time remaining over num samples. This greatly improves the
122 accuracy of the reported time remaining.
124 .B \-V, --verbosity=num
125 Increase the verbosity of the program. Setting this to 1 will print extra
126 error information; 2 will produce informational output; 3 will produce
127 copious debugging output.
130 Print the version information.
133 Disable scrolling message.
141 Average the time remaining over num samples. This greatly improves the
142 accuracy of the reported time remaining.
145 Increase the verbosity of the program. If repeated, the result is the
150 to the number of repetitions.
153 Print the version information.
159 was originally written by Tim Copperfield <timecop@japan.co.jp>, then
160 completely rewritten after 1.34 by Simon Fowler <simon@himi.org>.
162 This manual page was originally written by Simon Richter
163 <sjr@debian.org> for the Debian GNU/Linux system, and then updated by
166 Last modification by Simon Fowler <simon@himi.org>, 2007-07-13.