win32api.GetPwrCapabilities

dict = GetPwrCapabilities()

Retrieves system's power capabilities

Comments

Requires Win2k or later.

Win32 API References

Search for GetPwrCapabilities at msdn, google or google groups.

Return Value

Returns a dict representing a SYSTEM_POWER_CAPABILITIES struct