Hello
If you want to disable the lid switch so that your laptop doesn’t go to sleep when you close the lid is should be rather easy to achieve. There are a few ways to do this.
Go into your Bios and disable the lid switch. Where the option is depends on the laptop
Put following in your config and restart your system:
Thanks, but it doesn’t appear to be this. I did try that setting, but it didn’t resolve the issue I’m facing.
I want LID0 to stop waking up my system from sleep. Currently (and only since recently), whenever I put my system to sleep via systemctl, it seems to detect the lid either is open or has moved (?) and then immediately triggers a wakeup.
I do still want the laptop to sleep when I close the lid, and that part is working fine. This is a 2011 Macbook Pro.
Ok
What Laptop do you have? Some laptops have this in their Bios settings, that the system wakes up from sleep after opening the lid.
Futher more the lid sensor only triggers when moved in the closed position (while closing or opening). Does the wake up happen random. Because it should not trigger when just moving the lid a little bit.