NAME¶
wmbatppc, batppc - Battery monitor for Apple laptops using PMU
SYNOPSIS¶
wmbatppc
DESCRIPTION¶
wmbatppc displays, as a WindowMaker dockapp, power management information
on new PowerBooks (aka Pismo) and iBook.
batppc prints power management information on the console.
Both
wmbatppc and
batppc retrieve the power management information
either from
pmud (using a TCP/IP connection on the localhost or a UNIX
domain socket) or from
/proc/pmu.
By default, both
wmbatppc and
batppc will use
/proc/pmu.
OPTIONS¶
- -r time
- Sets the update interval (in milliseconds), default: 100
- -display display
- This option specifies the X server to contact; see X(1).
- -w
- This option enables the WindowMaker/AfterStep GUI (64*64 pixmap)
- -o
- This option disables the On-Screen Display (only available if wmbatppc was
built with XOSD support).
- -x
- This option enables the swallowed application GUI (24*176 pixmap) intended
for use with the GNOME Panel.
- -t
- This option indicates wmbatppc to connect to pmud via the TCP port 879 on
localhost.
- -u [PATH]
- This option indicates wmbatppc to connect to pmud via a UNIX domain
socket. The optional PATH argument can be used to specify the path
to the UNIX domain socket to use.
OUTPUT¶
batppc outputs a line similar to the following :
- PC 100% 80% 01:20
-
P = AC plugged in (- when not plugged)
C = charging (- when not charging)
100% = left battery state (--% when no battery)
80% = right battery state
01:20 = time left
Percentages for each battery are coloured in green, yellow or red depending
on the battery state.
BUGS¶
Please report any bugs you may find to:
- jb@jblache.org
-
AUTHOR¶
wmbatppc was originally written by Lou <titelou@free.fr>; it is now
maintained by Julien BLACHE <jb@jblache.org>.
Homepage¶
http://titelou.free.fr/