Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 740  / 2 Years ago, wed, october 26, 2022, 1:55:52

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 HKLMSystemCurrentControlSetControlPower /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.


More From » 20.04

 Answers
1

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


[#1172] Friday, October 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
issfullus

Total Points: 264
Total Questions: 126
Total Answers: 107

Location: Comoros
Member since Mon, Dec 19, 2022
1 Year ago
;