wmacpi: Bump to version 2.2rc3.
[dockapps.git] / wmacpi / wmacpi.1
blob93cf646f9582559dda98fc62eb2f2ebaecb1b3d8
1 .TH WMACPI 1 "July 13 2007"
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 -x
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, --critical=percentage
89 Set critical low alarm at <percentage>% (default: 10%).
90 .TP
91 .B \-d, --display=display
92 Set the X display to open the window on.
93 .TP
94 .B \-m, --battery=battery number
95 Set the battery to monitor initially.
96 .TP
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.
101 .B \-n, --no-blink
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
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 \-x, --cmdline
117 Run wmacpi in command line mode - this operates identically to 
118 .B acpi
121 .B \-a, --samples=samples
122 Average the time remaining over num samples. This greatly improves the
123 accuracy of the reported time remaining.
125 .B \-V, --verbosity=num
126 Increase the verbosity of the program. Setting this to 1 will print extra 
127 error information; 2 will produce informational output; 3 will produce 
128 copious debugging output.
130 .B \-v, --version
131 Print the version information.
133 .B \-r, --no-scroll
134 Disable scrolling message.
136 .B \-h, --help
137 Display help.
139 .B acpi
141 .B \-a num
142 Average the time remaining over num samples. This greatly improves the
143 accuracy of the reported time remaining.
145 .B \-V
146 Increase the verbosity of the program. If repeated, the result is the
147 same as setting 
148 .B \--verbosity
150 .B wmacpi
151 to the number of repetitions.
153 .B \-v
154 Print the version information.
156 .B \-h
157 Display help.
158 .SH AUTHOR
159 .B wmacpi
160 was originally written by Tim Copperfield <timecop@japan.co.jp>, then
161 completely rewritten after 1.34 by Simon Fowler <simon@himi.org>.
163 This manual page was originally written by Simon Richter
164 <sjr@debian.org> for the Debian GNU/Linux system, and then updated by
165 Simon Fowler. 
167 Last modification by Simon Fowler <simon@himi.org>, 2007-07-13.