Sometimes I find it handy to perform power actions from the command line or after running a script.
Its pretty simple
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
Related External Links: