batterystat is a commandline tool that you can use to get information on the status of your batteries.
Based on the same code as the powerful application MiniBatteryLogger, it is an essential tool for system administrators and bash scripters.
batterystat also offers the following options:
-c
Prints the count of locally installed batteries and exits.
-m
Prints additional battery hardware information like manufacturer, manufacture date etc.
-n #
Request information for battery at position #. This is only meaningful for multiple battery systems like Pismo laptops. Default is 1.
-v
Prints version information and exits.
-x
Prints output in XML format.
What's New in This Release: [ read full changelog ]
· Fix for Snow Leopard compatibility.