Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PowerManager class

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

Syntax


Public NotInheritable Class PowerManager

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 (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 (operating system)

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

 

 

Community Additions

Show:
© 2015 Microsoft