If you turn your old laptop in to a server/media server you can close the lid with this command sudo nano /etc/systemd/logind.conf HandleLidSwitch=ignore