When I close the lid of my laptop, the computer shuts down immediately and won't power on again. I need to take a screwdriver and disconnect-reconnect the battery in order to make it power on.
I really want Linux to ignore the lid switch.
I already tried a lot of answers on stack overflow but none works. What I tried:
systemd-inhibit --what=handle-lid-switch sleep 1d
cat /etc/systemd/logind.conf | grep -i liddoes throw nothing
systemctl unmask sleep.target suspend.target
/etc/acpi/lid.shdoes not exist
apps > gnome-power-manager > buttons, set
I reboot my computer after changing those config files to be sure all services are restarted.
How is this possible? What could I try next in order to make the lid switch be ignored?
I'm using Ubuntu with Cinnamon.