Fixed it, edit /etc/systemd/logind.conf
uncomment the following lines and edit
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
Fixed it, edit /etc/systemd/logind.conf
uncomment the following lines and edit
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore