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.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla