Battery.RemainingChargePercent Property
Definition
Important
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.
Gets a value that indicates the percentage of the charge remaining on the phone's battery.
public:
property int RemainingChargePercent { int get(); };
int RemainingChargePercent();
public int RemainingChargePercent { get; }
var int32 = battery.remainingChargePercent;
Public ReadOnly Property RemainingChargePercent As Integer
Property Value
Int32
int
A value from 0 to 100 that indicates the percentage of the charge remaining on the phone's battery.