-api-id | -api-type |
---|---|
E:Microsoft.Windows.System.Power.PowerManager.PowerSourceKindChanged |
winrt event |
Raised when the power source of the device has changed.
To get the current power source of the device in response to this event, use the PowerSourceKind property. This event corresponds to the GUID_ACDC_POWER_SOURCE power setting GUID.
PowerSourceKind property, PowerSourceKind enum, Power management with the app lifecycle API