The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Indicates whether the device is currently running on battery power or is plugged in to an external power supply.
<object property="enumerationValue" .../>
|Battery||The device is running on battery power.|
|External||The device is plugged in to an external power source, such as being docked to a computer or connected to a power supply.|
In addition to accessing this property directly, you can register for the PowerSourceChanged event handler to be notified when the power source of the device has changed.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1