Plasma session goes blackout after leaving it AFK (workaround exists)

Ok so seems like I was right.

https://www.kernel.org/doc/html/latest/power/freezing-of-tasks.html#v-miscellaneous

As a root user typed:
# echo 60000 > /sys/power/pm_freeze_timeout

default value are 20’000ms, so I increased it to 60’000ms (maybe could be less, but it doesn’t hurt). Now first time PC gets to sleep fast like you would expect. But when I you sleep the second time (sometimes third time), it takes several minutes; but in the end it gets to sleep just fine. Kernel log doesn’t show any error while at it. If anyone know how to get it to persist between restart, would be good to know. Or how to make it get to sleep faster.

Also

and

was needed.