Disable laptop lid switch

A while ago I came across (very likely on these boards) a solution to the issue of ignoring the laptop lid switch, that recommended the creation of an 80-lidswitch.conf symlink in the /etc/systemd/logind.conf.d that points to /dev/null. That worked fine for a while, though my suspicion is that the boot-up troubles that I am currently experiencing with some of the latest CL releases may be caused by this “solution.” At any rate, just to be on the safe side and eliminate this as a potential cause, I am now looking for a different solution to the matter of disabling the lid switch. Is there anything else that would disable the lid switch (more specifically, disable the laptop’s going to sleep while the lid is closed)? What is the last word in terms of performing this feat? Is there a more elegant solution?