When I close the laptop, the screen turns off but it doesn’t suspend. I can manually suspend using power button or by running
I tried editing
logind.conf file, but nothing changed. I checked the value of
/proc/acpi/button/lid/LID0/state and it works correct, it changes when I open and close the laptop accordingly, but when I run
acpi_listen and close the laptop, nothing happens, no event is triggered. I think there is an issue with lid switch events.
I tried this solution but it didn’t work. I have used windows and ubuntu before and I had the same issue with ubuntu. It works fine in windows though.
Distro: Fedora Linux 37 (Workstation Edition)
Host: HP Laptop 15-da2xxx
GPU: NVIDIA GeForce MX110