working with laptop battery

Chris Rebert clp2 at rebertia.com
Sat Feb 13 20:26:02 EST 2010


On Sat, Feb 13, 2010 at 4:48 PM, Daniel Dalton <d.dalton at iinet.net.au> wrote:
> Hi,
>
> I'm constantly working in the command line and need to write a program
> to give me alerts on my battery. Can someone please tell me what module
> I should use to access battery information? Looking for something that
> perhaps makes use of acpi so I can get estimated time left as well as a
> percentage.

It's probably gonna depend on which OS you're running. Which would be...?

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list