Share via


Battery.RemainingDischargeTime Property

Definition

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.

Applies to