Score:0

Dell Vostro 3500 with modern suspend S0 - fan is running, battery drain, overheating - how to disable and get back to S3 suspend?

kr flag

I recently moved to a new laptop DELL Vostro 3500 and got stuck with the suspend. When trying to suspend in Ubuntu as usual, it looks like system went to suspend mode, but cpu fan runs even faster. This S0 suspend is unusable as the laptop overheats quickly in a bag and the battery is drained fast.

The last 24 hours I spent with searching and it must have to do with the "modern suspend", or the "connected suspend" and the S0 state. DELL Forums are full of complains and no solution is offered yet. This modern suspend is affecting many new laptops apparently.

Nevertheless there is some workaround in Windows 10 with adding extra keys to registry https://www.notebookcheck.net/Useful-Life-Hack-How-to-Disable-Modern-Standby-Connected-Standby.453125.0.html

reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0

and check with

powercfg /a

if the S0 is disabled and S3 enabled. On my system it has no effect.

Is there any similar Ubuntu way to control and choose between suspend states (S0, S3)?

In BIOS I found only some option to disable C-States, but they have no desired effect.

Alejandro avatar
jp flag
Try to run `echo "mem" | sudo tee -a /sys/power/state` and see if the system goes to sleep. (Save your work and close any running programs before, just in case it sleeps and does not wake up afterwards.)
kr flag
Hi Alejandro, I just tried out. System suspends, fan stops for a second and then spins to max for another 10 seconds, then continuously spinning and hot air comes out. Obviously this S0 state does nothing to stop CPU and other HW..
kr flag
`cat /sys/power/state` shows "freeze mem disk"
Score:0
kr flag

Adding another observation after long time using hibernation.

Recently I changed my additional internal HDD for SSD and the suspend issues seem to be gone. No fan running after suspending. The power draining seems appropriate too while sleeping. Battery percentage drops only abount 10% in 8hrs sleep.

So the suspend and fan issue could be even related to "old" hardware, which is preventing the complete modern suspend.

Score:0
kr flag

This dell community forum thread says it all https://www.dell.com/community/XPS/Ubuntu-deep-sleep-missing-for-xps-9310/td-p/7734008

The S3 is disabled deliberately on firmware level.

$ cat /sys/power/mem_sleep 
[s2idle]

is missing the "deep" option and thus the GRUB directive

mem_sleep_default=deep

won't have any effect.

So until DELL releases some sane BIOS update which lets users decide on what suspend state they want to use S0 <> S3, I set up the hibernate function on 20.04 this way

https://www.dell.com/community/XPS/Ubuntu-deep-sleep-missing-for-xps-9310/td-p/7734008/page/3

and enabling the status power option "hibernate" like this

Hibernate button on ubuntu 20.04

with additional edits from the comments below:

Following the workaround from the FAQ.. copy paste the below content in the file /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla

[Enable hibernate in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Enable hibernate in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes

Reboot & Test

Hibernate works. My DELL Vostro won't melt even in a bag. The slight longer boot time is still fast enough thanks to SSD

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.