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