I have similar issues with Xubuntu and the wpa_supplicant service, basically, if I suspend/hibernate once, it works, if I try it a second time (without rebooting) it hangs, I get that message, then it returns to login.
Turns out there is a bug with that portion of Network Manager, luckily there is a workaround/fix:
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend_hybrid: Having NetworkManager wake interfaces back
up...Failed.
Looking at the script is uses org.freedesktop.NetworkManager.sleep and
org.freedesktop.NetworkManager.wake.
Calling this results in errors like this: % sudo dbus-send
--print-reply --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep
Error org.freedesktop.DBus.Error.UnknownMethod: Method "sleep" with
signature "" on interface "org.freedesktop.NetworkManager" doesn't
exist
According to the documentation [1], the interface is different / has
changed.
The correct usage would be to call
org.freedesktop.NetworkManager.Sleep with a boolean value, like:
sudo dbus-send --print-reply --system
--dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Sleep boolean:true
So modify the file: gksudo gedit /usr/lib/pm-utils/sleep.d/55NetworkManager
Find the part that says:
org.freedesktop.NetworkManager.sleep
and change to
org.freedesktop.Networkmanager.Sleep boolean:true
Then find the part that says
org.freedesktop.NetworkManager.wake
and change to
org.freedesktop.NetworkManager.Sleep boolean:false
Not sure if that will work for you.. but its worth a shot!
Best Answer
Edit this file:
/var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
eg.:
sudo gedit /var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Add this content:
This will add hibernate option in menu. But if you want to hibernate, when LID will close, then execute this (this will enable hibernation when LID is closed):
And restart system or execute:
sudo systemctl restart systemd-logind.service