xtd 0.2.0
Loading...
Searching...
No Matches

◆ battery_life_remaining()

int32 xtd::forms::power_status::battery_life_remaining ( ) const
noexcept

Gets the approximate number of seconds of battery time remaining.

Returns
The approximate number of seconds of battery life remaining, or -1 if the approximate remaining battery life is unknown.