PowerManager.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 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.