Share via


PowerManager.RemainingDischargeTime Property

Definition

Gets the total runtime remaining from all batteries connected to the device.

public:
 static property TimeSpan RemainingDischargeTime { TimeSpan get(); };
static TimeSpan RemainingDischargeTime();
public static System.TimeSpan RemainingDischargeTime { get; }
var timeSpan = PowerManager.remainingDischargeTime;
Public Shared ReadOnly Property RemainingDischargeTime As TimeSpan

Property Value

The total runtime remaining from all batteries connected to the device.

Applies to