A new laptop has arrived and of course new problems arise after installing Linux. But this time the problem looked familiar.
This time I was working with an ASUS laptop with an Intel 11th Gen processor and an Intel NVMe SSD.
First thing I did was checking if the evil
s2idle sleep mode was enabled, and I that was exactly the case.
$ cat /sys/power/mem_sleep [s2idle] deep
deep mode was available, so this time I didn't need to patch the ACPI table. Then, I just added
"mem_sleep_default=deep" line to the
GRUB_CMDLINE_LINUX_DEFAULT parameter in
/etc/default/grub and updated GRUB according to my distribution.
Now I can suspend and wake up the system without any problem!