getBatteryState abstract method

Future<BatteryState> getBatteryState()

Return the current battery state.

Implementation

Future<BatteryState> getBatteryState();