isPresent property
bool
isPresent
True if there is a battery in the bay. Only applicable for UPowerDeviceType.battery.
Implementation
bool get isPresent => (_properties['IsPresent'] as DBusBoolean).value;
True if there is a battery in the bay. Only applicable for UPowerDeviceType.battery.
bool get isPresent => (_properties['IsPresent'] as DBusBoolean).value;