>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/freedesktop/login1 --method org.freedesktop.login1.Manager.Suspend "true" 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? ** Package changed: upower (Ubuntu) => systemd (Ubuntu) ** Tags added: saucy -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind Status in “systemd” package in Ubuntu: Confirmed Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: "Sleep has already been requested and is pending" Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

