1WMACPI(1) General Commands Manual WMACPI(1)
2
3
4
6 wmacpi - Battery status monitor for systems supporting ACPI
7
9 acpi - Query battery status for systems supporting ACPI
10
12 wmacpi [ -c value ] [ -d display ] [ -m battery no ] [ -s sample rate ]
13 [ -f ] [ -v ] [ -n ] [ -w ] [ -a samples ] [ -V ] [ -h ]
14
15 acpi [ -a samples ] [ -v ] [ -V ] ] -b ] [ -r ] [ -h ]
16
18 This manual page documents briefly the wmacpi command.
19
20 wmacpi is a program that displays the current battery status in a Win‐
21 dowMaker dock app, on systems that support Intel's Advanced Configura‐
22 tion and Power Interface specification (ACPI).
23
24 The program monitors a battery, displaying its current percentage
25 charge via a bar and a numeric value. It also displays the current
26 power status for the system, the time remaining (calculated based on
27 the remaining battery capacity and the current rate of power usage),
28 and a scrolling message with some hopefully useful information.
29
30 Clicking on the window cycles through the batteries that the ACPI sys‐
31 tem knows about.
32
33 acpi queries the battery status from the command line. It prints the
34 power status, the percentage remaining for each battery found, and the
35 time remaining if the system is on battery, or the time remaining for
36 each battery to reach full charge if the batteries are charging.
37
39 wmacpi
40
41 -c percentage
42 Set critical low alarm at <value>% (default: 10%).
43
44 -d display
45 Set the X display to open the window on.
46
47 -m battery number
48 Set the battery to monitor initially.
49
50 -s sample rate
51 Set the rate at which to sample the ACPI data, in number of
52 times per minute. Minimum is 1, ie once a minute, default is 20,
53 maximum is 600.
54
55 -n Disable blinking power glyph when charging. Note that it still
56 blinks when the battery reports its capacity state as critical.
57
58 -f Force the use of capacity mode for calculating time remaining.
59 By defalt wmacpi will use the reported values of remaining
60 capacity and present rate to calculate the time remaining on
61 battery. This flag will force the use of the remaining capacity
62 and time samples to calculate the present rate of drain, and
63 from there the time remaining. Note that this mode of calcula‐
64 tion generally underreports the time remaining. This mode works
65 around certain buggy ACPI BIOSes that fail to report the current
66 rate.
67
68 -w Run wmacpi in command line mode - this operates identically to
69 acpi
70
71 -a num Average the time remaining over num samples. This greatly
72 improves the accuracy of the reported time remaining.
73
74 -v Increase the verbosity of the program. Can be used more than
75 once - each successive use increases the verbosity.
76
77 -V Print the version information.
78
79 -b Enable blinking of the power glyph when charging the batteries.
80
81 -r Disable scrolling message.
82
83 -h Display help.
84
85 acpi
86
87 -a num Average the time remaining over num samples. This greatly
88 improves the accuracy of the reported time remaining.
89
90 -v Increase the verbosity of the program, as for wmacpi
91
92 -V Print the version information.
93
94 -h Display help.
95
97 wmacpi was originally written by Tim Copperfield <timecop@japan.co.jp>,
98 then completely rewritten after 1.34 by Simon Fowler <simon@himi.org>.
99
100 This manual page was originally written by Simon Richter
101 <sjr@debian.org> for the Debian GNU/Linux system, and then updated by
102 Simon Fowler.
103 Last modification by Simon Fowler <simon@himi.org>, 2007-01-10.
104
105
106
107 August 15 2004 WMACPI(1)