Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 858 Bytes

powermanager_powersourcekindchanged.md

File metadata and controls

27 lines (15 loc) · 858 Bytes
-api-id -api-type
E:Microsoft.Windows.System.Power.PowerManager.PowerSourceKindChanged
winrt event

Microsoft.Windows.System.Power.PowerManager.PowerSourceKindChanged

-description

Raised when the power source of the device has changed.

-remarks

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.

-see-also

PowerSourceKind property, PowerSourceKind enum, Power management with the app lifecycle API

-examples