working with laptop battery

Chris Rebert clp2 at rebertia.com
Sun Feb 14 02:26:02 CET 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