ChannelPowerLevel Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The additional data associated with the PowerLevelChanged message.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
| Member name | Description | |
|---|---|---|
| NormalPowerLevel | The battery capacity is not low. All push notification types will be sent to the device. | |
| LowPowerLevel | The battery capacity is low. Only raw notifications will be sent to the device. | |
| CriticalLowPowerLevel | The battery capacity is critically low. No push notifications of any type will be sent to the device. |
Capabilities
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
ID_CAP_PUSH_NOTIFICATION | Windows Phone 8, Windows Phone OS 7.1 |
For more info, see App capabilities and hardware requirements for Windows Phone 8.