1 Rookie

 • 

9 Posts

64283

November 10th, 2020 02:00

XPS 13 9310, Ubuntu, deep sleep missing

My computer drains a lot of battery when in sleep mode.

I've tried following the steps outlined in this bug report, tried the diagnosis layed out in this question and disabled the "sign of life" options in the BIOS as described here.

I confirmed my system sleeps in the `s2idle` state. Which I suspect is the problem.

$ sudo journalctl | grep "PM: suspend" | tail -2
May 13 18:41:00 mex kernel: PM: suspend entry (s2idle)
May 13 20:52:36 mex kernel: PM: suspend exit

However I have 2 issues when trying to follow the above guides: Firstly my `/sys/power/mem_sleep` file does not contain a `deep` option:

sudo cat /sys/power/mem_sleep
[s2idle]

And secondly I can't seem to edit the file to add a `deep` option:

$ echo deep | sudo tee /sys/power/mem_sleep
deep
tee: /sys/power/mem_sleep: Invalid argument
$ sudo sh -c 'echo deep > /sys/power/mem_sleep'
sh: 1: echo: echo: I/O error

Not being able to close the lid and have the laptop suspend is very annoying. Any help on this would be greatly appreciated.

OS: Ubuntu 20.04, 5.8.0-26-generic / Hardware: Dell XPS 13 9310

1 Rookie

 • 

11 Posts

August 13th, 2023 11:00

I have the same issue (huge battery drain when suspended and no deep sleep mode available) on dell xps 13 9320, ubuntu 22.04, but my linux kernel is currently 6.2.0-26-generic. Any suggestions? should I change the kernel to 5.8? (none of the solutions I could find online so fare seems to work for my laptop)

(edited)

1 Rookie

 • 

11 Posts

September 7th, 2024 11:22

It does not work on my XPS 13 9320.

I have this kernel

Linux 6.8.0-40-generic x86_64

(edited)

1 Rookie

 • 

11 Posts

September 12th, 2025 12:26

100% agree unfortunately. I am still using the XPS and have to shut it down each time to avoid having a depleted battery the next time I open it. 

It's quite sad because otherwise I really like the Dell XPS 13 (so much that is my second one). However this battery drain issue alone makes it almost unworkable, and to other Linux users I can only recommend to avoid Dell XPS laptops. 

(edited)

Top