OSGetPowerState Method |
Returns the current state of the device regarding battery and power. See OSPowerState constants.
Note: This method is implemented on Linux, macOS and Windows.
Namespace: Godot
public static OSPowerState GetPowerState()
[Missing <returns> documentation for "M:Godot.OS.GetPowerState"]