Battery Battery Battery Battery Battery Class
Provides information about the status of the phone's battery.
public : sealed class Battery : IBattery
struct winrt::Windows::Phone::Devices::Power::Battery : IBattery
public sealed class Battery : IBattery
Public NotInheritable Class Battery Implements IBattery
// This class does not provide a public constructor.
Windows Mobile Extension SDK (introduced v10.0.10240.0)
Windows.Phone.PhoneContract (introduced v1)
|RemainingChargePercent RemainingChargePercent RemainingChargePercent RemainingChargePercent RemainingChargePercent||
Gets a value that indicates the percentage of the charge remaining on the phone's battery.
|RemainingDischargeTime RemainingDischargeTime RemainingDischargeTime RemainingDischargeTime RemainingDischargeTime||
Gets a value that estimates how long is left until the phone's battery is fully discharged. Each unit value represents 100 nanoseconds.
|GetDefault() GetDefault() GetDefault() GetDefault() GetDefault()||
Gets the default Battery object for the phone.
|RemainingChargePercentChanged RemainingChargePercentChanged RemainingChargePercentChanged RemainingChargePercentChanged RemainingChargePercentChanged||
Occurs when the value of RemainingChargePercent decreases by 1%.