Battery.RemainingDischargeTime 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 estimates how long is left until the phone's battery is fully discharged. Each unit value represents 100 nanoseconds.
public:
property TimeSpan RemainingDischargeTime { TimeSpan get(); };
TimeSpan RemainingDischargeTime();
public System.TimeSpan RemainingDischargeTime { get; }
var timeSpan = battery.remainingDischargeTime;
Public ReadOnly Property RemainingDischargeTime As TimeSpan
Property Value
A value that estimates how long is left until the phone's battery is fully discharged. Each unit value represents 100 nanoseconds.
Remarks
Divide by 10^7 to get the total number of seconds.