wmacpi-ng is a Window Maker
dockapp, based on Tim
It started out as some hacking to make wmacpi-1.34 work
with a current (2.5.7x) development kernel, and then proceeded to grow
into an almost complete rewrite - the diff between wmacpi 1.34 and
wmacpi-ng 0.90 is about 3300 lines, which is more lines than are in
- Support for the current Linux ACPI interface (as of 2003-06).
- Multiple battery support: displays percentage and status for a
single battery, but calculates time remaining based on the capacity of
all batteries found.
- Can monitor any of the batteries found - takes a command line option
to tell it to monitor a particular battery, and clicking on the
dockapp window will cycle through all the known batteries. If your
system has more than one battery, the most sensible way to monitor all
of them is one instance of wmacpi-ng for each, with a -m <battery
- Displays time remaining until the battery being monitored is fully
charged, as long as the battery supports this.
- Averages current power usage over a number of samples, to give far
more stable and accurate results for time remaining. Without this, the
reported time remaining jumps around quite a lot.
- Provides a command line tool to query battery status (this is also
provided by Grahame Bowland's acpi tool).
- Sanely handles strange, dodgy or unknown values reported by the ACPI
subsystem (at least, the ones I know of that cause problems - please
report any cases where wmacpi-ng fails to do the sane thing).
Started on AC
power, with a fully charged battery.
After pulling the AC power cord out.
This is a Fujitsu
Lifebook p2120 with two high capacity batteries - phear my battery
plugging the power cord back in - the time displayed is the time left
until the battery is fully charged.
Download the latest version from here.