[ltp] Looking for a script, pretty sure it was posted here

Daniel Skorka linux-thinkpad@linux-thinkpad.org
Wed, 22 Feb 2006 16:12:03 +0100


On Wed, Feb 22, 2006 at 09:53:40AM -0500, David A. Desrosiers wrote:
> 
> 	Before my laptop crashed, I had a script called 'battery' that 
> conveniently would show me the amount of minutes, percent, and charge 
> left on the current battery. I've looked through the entire list, and 
> I can't seem to find it. Google wasn't much help either.
> 
> 	This is not the battery drain script that has been posted here 
> many times, but a simple little utility script that parsed the info in 
> /proc/acpi/battery/BAT0/state and output a human-readable version of 
> it.

Debian has a packaged called 'acpi' which contains a binary called
'acpi' which does exactly that.

Daniel