Ubuntu 12.04 Hibernate

There’s no option for this. The instructions for Ubuntu 12 say hibernate is disabled by default because it doesn’t work with some hardware. I tried Running pm-hibernate from a tty while logged out and it worked. I like Pinto to hibernate from the log-in screen when no one is logged in. I don’t ever hibernate while I’m logged in. I tried my old instructions to set this up, but they no longer work, I suspect due to Unity changes. I tried installing Advanced Settings (Tweak advanced Gnome 3 settings.) to change this, but this seems to control actions when logged in. Next I found this. Under org.gnome.settings-daemon.plugins.power, I changed lid-close-battery-action to hibernate and restarted. At the log-in screen closing the lid suspended instead of hibernated.