Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: working with laptop battery
Daniel Fetchinson
2/14/2010 2:22:00 AM
>> 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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: working with laptop battery
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password