On Mon, 2 Jan 2023 at 11:16, SET <set@nmset.info> wrote:
The laptop randomly goes in s2idle mode instead of deep. Resuming from s2idle
is the problem

Have you tried configuring the kernel to use deep sleep instead?

https://wiki.archlinux.org/title/Dell_Inspiron_15_(7590)#S3_Suspend

Paul