UPowerDevice constructor

UPowerDevice(
  1. DBusClient systemBus,
  2. DBusObjectPath path
)

Implementation

UPowerDevice(DBusClient systemBus, DBusObjectPath path)
    : _object = DBusRemoteObject(systemBus,
          name: 'org.freedesktop.UPower', path: path);