Windows Dev Center

PowerSavingMode enumeration

Specifies whether the phone's battery is in power-saving mode.

Syntax


var value = Windows.Phone.System.Power.PowerSavingMode.off;

Members

The PowerSavingMode enumeration has these members.

MemberValueDescription
Off | off0

The phone's battery is not in power-saving mode.

On | on1

The phone's battery is in power-saving mode.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System.Power
Windows::Phone::System::Power [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.Power
Windows::Phone::System::Power [C++]

Metadata

Windows.WinMD

Attributes

[Version(0x06020000)]

 

 

Community Additions

ADD
Show:
© 2015 Microsoft