getBatteryLevel static method

Future<int?> getBatteryLevel()

Implementation

static Future<int?> getBatteryLevel() async {
  final int? batteryLevel = await _channel.invokeMethod('getBatteryLevel');
  return batteryLevel;
}