I believe the proper solution is (assuming you are using gnome):


gnome-power-cmd suspend

or


gnome-power-cmd hibernate