Hi, take a look at the acpi command line utility (http://grahame.azale.net/acpi.shtml) it does exactely what you're looking for, except it misses a UI.
-- mattia On Wed, 25 Sep 2002 14:28:35 +0200 Erich Schubert <[EMAIL PROTECTED]> wrote: > > I've been taking a look at battery/BAT0/state in my system and the first > > line reads: "present: yes". It should be "no" in your empty socket, am I > > right? > > correct. > > > If that's the case, I can modify the scan routines to use the first > > subdir with the correct files AND "present: yes" on the state file. > > IMHO a good idea. That should make your version useable on all machines > that partially worked with the original version. > > Greetings, > Erich > > -- > erich@(mucl.de|debian.org) -- GPG Key ID: 4B3A135C > A man doesn't know what he knows until he knows what he doesn't know. > Die kürzeste Verbindung zwischen zwei Menschen ist ein Lächeln. > Der Wissende weiß, dass er glauben muß. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]