On Wed, Aug 5, 2009 at 12:33 PM, Robert Heller<heller@xxxxxxxxxxxx> wrote: > > If the laptop uses the (old!) APM interface, xapm will work. If the > laptop uses the (newer, current) ACPI interface, I have written a little > utility that displays the battery state. Visit > http://www.deepsoft.com/OddsAndEnds and scroll down to the section > titled 'TkBattery' for more information. This program just > reads/monitors the files under /proc/acpi/ac_adapter/ and > /proc/acpi/battery/, which map to the state of the power cord (plugged > in or not) and the battery(ies) info and state files. All of these > files are just text files that can be read by a program (or a simple > script). Ahh.. The /proc/acpi/battery info might be the info I need. It looks like the "design capacity" and "last full capacity" will give the information I need. In my case, design capacity is 4800 mAh and last full is 768 mAh. This works out about right given that, when new, it lasted a little under two hours and now it dies in about 10 minutes. Thanks a bunch... BTW, someone suggested the battery applet monitor but at least on my version it only gives the charge state, not the battery condition. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos