Apparently the devs disabled it in 12.04 because that were worried that some machines might have issues. I followed the instructions here and problem solved. http://askubuntu.com/questions/94754/how-to-modify-policykit-to-allow-hibernation-in-upower