I'm using Xubuntu 21.10
on an ASUS ROG Zephyrus G14 GA401QM-K2030T
laptop. When I close the laptop lid the desktop freezes. Could someone help resolve this issue?
Afterwords:
It seems that the problem appears not only when I close the lid, but also if the computer stays idle for some time.