batteryLevel property

GamepadBatteryLevel get batteryLevel

The current battery of the controller, or GamepadBatteryLevel.unknown if disconnected.

Implementation

GamepadBatteryLevel get batteryLevel;