Comment 8 for bug 1196752

Revision history for this message
Joseph Yasi (joe-yasi) wrote : Re: Suspend only works once when using upower with logind

So Powerdevil in KDE is supposed to call systemd-logind now instead of UPower if it finds it. However, it is checking for the systemd version with a call to org.freedesktop.systemd1.Manager.VErsion and not geting a valid response. For some reason, that method doesn't exist on my system.
gdbus introspect --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1
node /org/freedesktop/systemd1 {
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in s interface_name,
          in s property_name,
          out v value);
      GetAll(in s interface_name,
             out a{sv} properties);
      Set(in s interface_name,
          in s property_name,
          in v value);
    signals:
      PropertiesChanged(s interface_name,
                        a{sv} changed_properties,
                        as invalidated_properties);
    properties:
  };
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s xml_data);
    signals:
    properties:
  };
  interface org.freedesktop.DBus.Peer {
    methods:
      Ping();
      GetMachineId(out s machine_uuid);
    signals:
    properties:
  };
  interface org.freedesktop.systemd1.Manager {
    methods:
      GetUnitFileState(in s file,
                       out s state);
      DisableUnitFiles(in as files,
                       in b runtime,
                       out a(sss) changes);
      EnableUnitFiles(in as files,
                      in b runtime,
                      in b force,
                      out b carries_install_info,
                      out a(sss) changes);
      Reload();
      StartUnit(in s name,
                in s mode,
                out o job);
      StopUnit(in s name,
               in s mode,
               out o job);
      Reload();
    signals:
    properties:
      readonly s Virtualization = '';
  };
};