This topic has not yet been rated - Rate this topic

DeviceStatus.PowerSource Property

Windows Phone

March 22, 2012

Indicates whether the device is currently running on battery power or is plugged in to an external power supply.

Namespace:  Microsoft.Phone.Info
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public static PowerSource PowerSource { get; }

Property Value

Type: Microsoft.Phone.Info.PowerSource
Returns PowerSource.

For more information about the DeviceStatus API, see Device Status for Windows Phone.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)