OSGetPowerSecondsLeft Method |
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.
Namespace: Godot
public static int GetPowerSecondsLeft()
[Missing <returns> documentation for "M:Godot.OS.GetPowerSecondsLeft"]