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.
Provides information about whether the phone's battery is in power-saving mode.
public ref class PowerManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)] /// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] class PowerManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)] [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)] public static class PowerManager
Public Class PowerManager
Object IInspectable PowerManager
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows.Phone.PhoneContract (introduced in v1.0)
Gets a value that indicates whether the phone's battery is in power-saving mode.
Gets a value indicating whether power saving mode is currently enabled on the phone, regardless of whether power saving mode is currently active.
Occurs when the power-saving mode of the phone's battery is changed.
Submit and view feedback for