[python-win32] [Correction] Trying to get the Win32_PortableBattery and Win32_SystemEnclosure classes to work

python at bdurham.com python at bdurham.com
Mon Mar 8 20:18:07 CET 2010


Tim,

The problem with Win32_PortableBattery appears to be that I need to use
Win32_Battery instead.

Using the latter, everything works as expected.

I'm not entirely clear on why there are 2 battery classes and why I
would choose to use vs. the other, but I suspect the
Win32_PortableBattery class is for machines with advanced power supply
management capabilities.

Thank you for your help!

Regards,
Malcolm


More information about the python-win32 mailing list