This topic has not yet been rated - Rate this topic

PowerManager class

Applies to Windows Phone only

Provides information about whether the phone's battery is in power-saving mode.

Syntax


public ref class PowerManager abstract sealed 

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The PowerManager class has these types of members:

Events

The PowerManager class has these events.

EventDescription
PowerSavingModeChanged Occurs when the power-saving mode of the phone's battery is changed.

 

Properties

The PowerManager class has these properties.

PropertyAccess typeDescription

PowerSavingMode

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

PowerSavingModeEnabled

Read-onlyGets a value indicating whether power saving mode is currently enabled on the phone, regardless of whether power saving mode is currently active.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.