Start a Conversation

Solved!

Go to Solution

60618

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

2 Posts

August 5th, 2021 10:00

Awesome, I've tried this night to switch to AHCI and now seems to consume less watt in idle.

I've also tried to modify ACPI table to enable S3 state, the laptop go in deep mode but on the resume it shows only Dell logo and I must force an hardware switch off.

3 Posts

August 6th, 2021 00:00

Glad to hear that. For me it absolutely solved the issue and i am happy with S0ix. Not missing S3 anymore.
It's now 4 days after i found out about that, and i am still on the same battery charge with 49% left. Awesome!

September 10th, 2021 10:00

This does not work for me. I changed the disk mode from RAID to AHCI and my battery's still draining way too much in suspend mode. Close to 3% per hour. I have a Dell Vostro 3500 with an 11th gen processor.

2 Posts

September 10th, 2021 22:00

On Dell Vostro 3500, the ACPI table hack works:

$ cat /sys/power/mem_sleep
s2idle [deep]

 

1 Message

September 28th, 2021 18:00

Thank you for this suggestion, I tried it and it worked. My battery consumption on a Dell XPS 13 9300 has improved to the same level you noted. It's worth calling out I did this change alone in a fresh factory reset machine, that should suffice as proof that (in my case) this change alone fixed the excessive battery drain while at sleep.

Edit: I'm using Fedora 34.

1 Message

October 2nd, 2021 09:00

Hello,

Thank you @mgru for your hint, I would like to try on my side since I do have a battery issue on my XPS 13 9310 (sold with Ubuntu pre-installed). Indeed, I'm not able to activate S3 deep sleep mode (Suspend-to-RAM). For now, #cat /sys/power/mem_sleep returns only [s2idle].

Just one question: do you know how to set the disk mode from RAID to AHCI in the BIOS on my machine? How can I even check if it's currently in RAID mode?

Thank you!

1 Message

October 3rd, 2021 09:00

For the record: I also tried to switch from RAID and it made no difference. It almost ruined my Windows install, though (had to fail booting 3 times to boot into safe mode which will install the AHCI drivers). I don't really see why it WOULD have helped, either.

@gwaga i would suggest you not bother switching the hard drive mode.

1 Message

October 16th, 2021 04:00

Worked for me XPS 13 9310, Fedora 34.

Switched from RAID to AHCI, no problems rebooting.

It solved battery drain but, moreover,the problem with the suspend state: closing lid the system did not suspend, but the screen stayed on. For the moment it suspends correctly...

2 Posts

October 20th, 2021 02:00

I meant XPS 15 9510 model.

2 Posts

October 20th, 2021 02:00

Hello,

> The S3 deep sleep mode is not available on the XPS 13 9310. This is by design.

What about XPS 13 9510 ?

I'm considering purchasing this model.


Regards, M.

 

2 Posts

October 27th, 2021 01:00

Same problem with 9310 model. Could you tell us (@DELL) which is the status of this issue? 

81 Posts

October 29th, 2021 09:00

I thought DELL's already stated that 9310 does not support S3 state. So that's the (unfortunate) status...

November 1st, 2021 01:00

Same issue with my new 9510.... Every day I find a little issue, and it's just the fifth day...

1 Message

November 9th, 2021 08:00

If your XPS runs hot and has very high battery drain while suspended, check that you have not disabled C-States Control in BIOS.

I turned off C-States Control to get rid of mouse lag -- which worked. But the side effect was the above mentioned; computer running hot and draining all battery in hours when suspended.

 

1 Message

November 11th, 2021 08:00

Hi, I own the XPS 15 9510, running Ubuntu 20.04, 5.11.0-40-generic, and I also only see a s2idle option.

Please let us know when this will be fixed.

No Events found!

Top