PowerSavingMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the phone's battery is in power-saving mode.
public enum class PowerSavingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PowerSavingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PowerSavingMode
var value = Windows.Phone.System.Power.PowerSavingMode.off
Public Enum PowerSavingMode
- Inheritance
-
PowerSavingMode
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Off | 0 | The phone's battery is not in power-saving mode. |
On | 1 | The phone's battery is in power-saving mode. |