Ubuntu – Ubuntu 18.04 – Suspend Issues

18.04suspend

After a clean installation of Ubuntu 18.04, I realize that the sleep mode does not work. When I suspend from the menu button or with the sudo pm-suspend command, the screen turns off but the power LED stays on and the fan continues to run. In addition, no keyboard keys or even the power button wake the computer. The only solution is to force the shutdown by pressing the power button.

After reading different posts, I did not find a solution to my problem.

  • I do not have a nvidia graphics card.
  • The command cat /sys/power/mem_sleep tells me that I'm in deep mode (s2idle shallow [deep])
  • I tried different kernel versions: 4.18.7, 4.17.14 and 4.15.0-34(=current)

Computer specifications: Samsung NP530U3B with ubuntu 18.04 64bit. It's a core i5 with 4Gb of ram and no graphic card.

How can I fix that?

Best Answer

My boss and I had similar issues with our Dell Venue 11 Pro 7140. After many releases, Dell eventually discovered an S3 bug relating to pre-5.0 kernels. They advised 2 things:

  1. Update the BIOS to the latest version available, most likely post-November 2018.

  2. Upgrade to a 5.0 kernel.

Additionally, we found 2 more things were required:

  1. Completely clean your user config (as in, mv ~/.config ~/.config.old) as some previous settings in X11 have hung around in upgrade and are incompatible with S3 "freeze" features.

  2. a. If using Gnome, change Settings->Power->"When the power button is pressed" from "Nothing" to "Suspend".

    b. If using XFCE, change all "freeze" settings to "suspend" in the Power Manager.

Related Question