Ubuntu 20.04 suspend does not work


Answer: 1

22 hours ago

I found a few related questions, but nothing for 20.04, and questions for 20.04 are about resuming after suspend, or suspend on lid close etc.

I recently updated my XPS 15 laptop from Xubuntu 18.04 to 20.04 and suspend is no longer working. Basically nothing happens when I close the lid or click on "suspend" in xfce4-session-input. The screen goes black, but the CPU and fans are still running. Same when I close the lid. When I press a key it asks for the user password.

Any tips on how to fix "sleep" on Ubuntu 20.04?

cat /sys/power/mem_sleep shows [s2idle] deep.


inxi -F output:

System:    Host: omer-XPS-15-9570 Kernel: 5.11.0-25-generic x86_64 bits: 64 Desktop: i3 4.17.1
           Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Machine:   Type: Laptop System: Dell product: XPS 15 9570 v: N/A
           serial: <superuser/root required>
           Mobo: Dell model: 0D0T05 v: A00 serial: <superuser/root required> UEFI: Dell v: 1.8.1
           date: 02/01/2019
Battery:   ID-1: BAT0 charge: 85.8 Wh condition: 88.2/97.0 Wh (91%)
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP L2 cache: 9216 KiB
           Speed: 3961 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 3989 2: 1119 3: 2903
           4: 2982 5: 901 6: 900 7: 900 8: 900 9: 904 10: 3760 11: 3400 12: 3400
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
           resolution: 3840x2160~60Hz
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.6
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
           Sound Server: ALSA v: k5.11.0-25-generic
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci
           IF: wlp59s0 state: up mac: 9c:b6:d0:c3:bb:65
           Device-2: Qualcomm Atheros type: USB driver: btusb
Drives:    Local Storage: total: 476.94 GiB used: 51.82 GiB (10.9%)
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG60ZNV512G NVMe 512GB size: 476.94 GiB
Partition: ID-1: / size: 467.96 GiB used: 51.82 GiB (11.1%) fs: ext4 dev: /dev/nvme0n1p2
Sensors:   System Temperatures: cpu: 31.0 C mobo: N/A
           Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:      Processes: 276 Uptime: N/A Memory: 15.28 GiB used: 856.2 MiB (5.5%) Shell: zsh
           inxi: 3.0.38
Added by: Dr. Leone Walker

Answer: 2

27 hours ago

So you did a "dist-upgrade" from 18 to 20. What are your power settings say? It should look like this:


"Laptop Lid" should be in "Suspend mode". The file /etc/systemd/logind.conf should have not active entries (all entries start with "#")

To confirm that your system is still able to sleep, open a terminal and enter:

sudo systemctl suspend

If that does not work, you seem to have an "inhibitor", some code that prevents your system to go to sleep. Check this answer on how to find out...


In xfce you'll always see the the powermanager listed - this is ok and the standard. If this is the only line, there are no inhibitors that will interfere with the powermanagement.


After we discussed some missing information, it seems that your system can't sleep. As you tried "systemctl suspend" in vain, some driver must be the culprit.

Getting a decent answer would include a list of drivers you are using - add them to your question. Use

inxi -F
Added by: Lew Ratke

Answer: 3

23 hours ago

In my case what solved it was updating my AMD GPU drivers.

Get .deb file from: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-22-10-2 (check exact version, in my case I had Ubuntu 20.04.4), install it with sudo dpkg -i amdgpu-install_***.deb then install latest drivers by running amdgpu-install.

I see you have Nvidia GPU but maybe it's a similar issue or maybe someone else having an AMD GPU sees this answer.

Added by: Betsy O'Conner

Answer: 4

25 hours ago

I have this problem for last month. until I found out that the package of 'linux-header-generic' did not installed properly. Somehow I found that the interface between kernel and component didn't installed. So I install it:

sudo apt-get install linux-generic

I install new kernel with this. And also after restart, in boot section I have to choose new kernel. Because old kernel exist too and Ubuntu choose it on default.

Added by: Earl Flatley I

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9