>> It's probably gonna depend on which OS you're running. Which would be...?
>
> Sorry, forgot to mention this. I'm running debian linux.

I don't know about python modules but have a look at

/proc/acpi/battery/BAT0/info
/proc/acpi/battery/BAT0/state

You can parse the numbers you want from there.

HTH,
Daniel


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to