Yes I think the PC is sleeping, because often I can turn the screen on just
by pressing some key (not always, but the machine is on). Sometimes I can
see the cursor flashing.
I found a solution on Internet where they said "The problem was a
combination of a bug in the handling of closing/opening the laptop lid and
a kernel compatibility issue with the new 12th gen intel hardware"
and the solution (still working, but if I close the lid doesn't sleep!) is
on changing some settings in grub file and in logind.conf file.
from "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_dc=0
intel_idle.max_cstate=2"
Yes I think the PC is sleeping, because often I can turn the screen on just
by pressing some key (not always, but the machine is on). Sometimes I can
see the cursor flashing.
I found a solution on Internet where they said "The problem was a
combination of a bug in the handling of closing/opening the laptop lid and
a kernel compatibility issue with the new 12th gen intel hardware"
and the solution (still working, but if I close the lid doesn't sleep!) is
on changing some settings in grub file and in logind.conf file.
from "GRUB_CMDLINE_ LINUX_DEFAULT= "quiet splash"
to "GRUB_CMDLINE_ LINUX_DEFAULT= "quiet splash i915.enable_dc=0 idle.max_ cstate= 2"
intel_
then add to the file /etc/systemd/ logind. conf
the instructions:
HandleLidSwit ch=ignore chExternalPower =ignore chDocked= ignore
HandleLidSwit
HandleLidSwit