I enabled hibernation following this steps: How to enable hibernation in 15.04?
I can now see "hibernate" option and also hibernate seems to turn my computer off. But when I turn back on, it is like a regular boot, with all windows closed. Please help.
Also,
sudo pm-is-supported
gives following result :
$ sudo pm-is-supported
pm-is-supported [--suspend | --hibernate | --suspend-hybrid ]
Hibernating from the command prompt using sudo pm --hibernate
does same thing. Screen goes off, comes back in 1-2 seconds, and computers turns off. Starting closes all my work and boot like a regular boot.