Function OSSingleton.getPowerSecondsLeft
Returns an estimate of the time left in seconds before the device runs out of battery. Returns -1
if power state is unknown.
Note: This method is implemented on Linux, macOS and Windows.
long getPowerSecondsLeft() nothrow @nogc;