In Ubuntu 14.04 I used to use the following command to suspend the computer as a user without root privileges:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" \ /org/freedesktop/UPower org.freedesktop.UPower.Suspend
Unfortunately in Ubuntu 16.04 this doesn't work anymore and I get an error message:
Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'Suspend'
Apparently there has been some changes so what would be the correct command now?