-api-id | -api-type |
---|---|
P:Microsoft.Windows.System.Power.PowerManager.PowerSourceKind |
winrt property |
Gets the current power source of the device.
The current power source of the device.
This property corresponds to the GUID_ACDC_POWER_SOURCE power setting GUID.
PowerSourceKindChanged event, PowerSourceKind enum, Power management with the app lifecycle API