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 remaining discharge time of the battery on 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 remaining discharge time of the battery.