From what I see upower does the correct thing and calls logind in the right way when it sees that it's running. But then logind doesn't actually complete the suspend operation.
Try #1 succeeds, takes down services like network-manager etc. but doesn't acutally suspend.
Trying again results in:
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
(According to introspection data, you need to pass 'b')
so it seems to depend on systemd running to actually suspend?
From what I see upower does the correct thing and calls logind in the right way when it sees that it's running. But then logind doesn't actually complete the suspend operation.
gdbus call --system --dest org.freedesktop .login1 --object-path /org/freedeskto p/login1 --method org.freedesktop .login1. Manager. Suspend "true"
Try #1 succeeds, takes down services like network-manager etc. but doesn't acutally suspend. org.freedesktop .DBus.Error. ServiceUnknown: The name org.freedesktop .systemd1 was not provided by any .service files
Trying again results in:
Error: GDBus.Error:
(According to introspection data, you need to pass 'b')
so it seems to depend on systemd running to actually suspend?