getBattery function

  1. @JS('navigator.getBattery')
  2. @staticInterop
BatteryManager getBattery()

Implementation

@JS('navigator.getBattery')
@staticInterop
external BatteryManager getBattery();