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.
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.)cat /sys/power/state
shows "freeze mem disk"