Ubuntu – Ubuntu 19.04 hibernate/suspend

hibernateresumesuspend

I want my notebook (Lenovo-U31-70) to be able hibernate/suspend and i can't do that. I think that i test all the basic solutions I find and nothing works…
I need help to understand what it can be.

I test all the ubuntu versions (16.10 – 19.04) and nothing works.
I hate to use windows but i need to use because of the hibernate function that windows has working.

I have dual-boot win10/ubuntu 19.04 with a 8GB ram and a swap with 11GB

So on this last 3 versions I have done the following.
manually test the option.

$ sudo systemctl hibernate

and of course doesn't work, the display gets black and the power button on, but some times restarts it self. So need pass to the configurations.

$ cat /etc/fstab
$ sudo gedit /etc/default/grub
$ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/sda7"
$ sudo update-grub
$ sudo reboot

After the above changes the result has some changes but not what i want.
The hibernation starts and our notebook shutdown our stays with the display black again.

When the shutdown ocours the restart doesn't resume but starts a new session.

I don't now what i can test more.

I have test other linux distros the Fedora and the hibernation occours without any configuration, but the resume it's the same starts a new one.

Best Answer

For my Ubuntu 19.10 (eoan) hibernate package from universe works seamlessly, when pm-utils fails.

Hardware: Dell Precision 7510

sudo apt-get install hibernate
sudo hibernate

NOTE: don't forget to save all your open documents before trying to hibernate for the first time.

Related Question