wmacpi: Bump to version 1.99r7.
[dockapps.git] / wmacpi / wmacpi.1
blob304a423f8c04ad62110842c661e428a0b2048098
1 .TH WMACPI 1 "April 15 2004"
2 .SH NAME
3 wmacpi \- Battery status monitor for systems supporting ACPI
4 .SH NAME
5 acpi \- Query battery status for systems supporting ACPI
6 .SH SYNOPSIS
7 .B wmacpi
9 .RI -c
10 value ]
12 .RI -d
13 display ]
15 .RI -m
16 battery no ]
18 .RI -s
19 sample rate ]
21 .RI -f
24 .RI -v
27 .RI -n
30 .RI -w
33 .RI -a
34 samples ]
36 .RI -V
39 .RI -h
41 .PP
42 .B acpi
44 .RI -a
45 samples ]
47 .RI -v 
50 .RI -V
53 .RI -b
56 .RI -r
59 .RI -h
61 .SH DESCRIPTION
62 This manual page documents briefly the
63 .B wmacpi
64 command.
65 .PP
66 .B wmacpi
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).
70 .PP
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.
76 .PP
77 Clicking on the window cycles through the batteries that the ACPI
78 system knows about.
79 .PP
80 .B 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.
85 .SH OPTIONS
86 .B wmacpi
87 .TP
88 .B \-c percentage
89 Set critical low alarm at <value>% (default: 10%).
90 .TP
91 .B \-d display
92 Set the X display to open the window on.
93 .TP
94 .B \-m battery number
95 Set the battery to monitor initially.
96 .TP
97 .B \-s 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.
101 .B \-n
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
106 Force the use of capacity mode for calculating time remaining. By defalt
107 .B wmacpi
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
114 rate.
116 .B \-w
117 Run wmacpi in command line mode - this operates identically to 
118 .B acpi
121 .B \-a num
122 Average the time remaining over num samples. This greatly improves the
123 accuracy of the reported time remaining.
125 .B \-v
126 Increase the verbosity of the program. Can be used more than once -
127 each successive use increases the verbosity.
129 .B \-V
130 Print the version information.
132 .B \-b
133 Enable blinking of the power glyph when charging the batteries.
135 .B \-r
136 Disable scrolling message.
138 .B \-h
139 Display help.
141 .B acpi
143 .B \-a num
144 Average the time remaining over num samples. This greatly improves the
145 accuracy of the reported time remaining.
147 .B \-v
148 Increase the verbosity of the program, as for
149 .B wmacpi
151 .B \-V
152 Print the version information.
154 .B \-h
155 Display help.
157 .SH SEE ALSO
158 .BR wmapm (1)
160 .SH AUTHOR
161 .B wmacpi
162 was originally written by Tim Copperfield <timecop@japan.co.jp>, then
163 completely rewritten after 1.34 by Simon Fowler <simon@dreamcraft.com.au>.
165 This manual page was originally written by Simon Richter
166 <sjr@debian.org> for the Debian GNU/Linux system, and then updated by
167 Simon Fowler. 
169 Last modification by Simon Fowler <simon@dreamcraft.com.au>, 2004-08-15.