getIsRechargeable method

Future<bool> getIsRechargeable()

Gets org.freedesktop.UPower.Device.IsRechargeable

Implementation

Future<bool> getIsRechargeable() async {
  var value = await getProperty(
    'org.freedesktop.UPower.Device',
    'IsRechargeable',
    signature: DBusSignature('b'),
  );
  return value.asBoolean();
}