Windows Dev Center

PowerManager.PowerSavingMode | powerSavingMode property

Gets a value that indicates whether the phone's battery is in power-saving mode.

Syntax


var powerSavingMode = Windows.Phone.System.Power.PowerManager.powerSavingMode;

Property value

Type: PowerSavingMode

true if the phone's battery is in power-saving mode; otherwise, false.

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

See also

PowerManager

 

 

Community Additions

ADD
Show:
© 2015 Microsoft