Configuration to Run Proxmox on a Laptop

# ignore lid close
echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf
# turn off screen after 300 seconds to prevent screen burnin
sed -i -E 's/^(GRUB_CMDLINE_LINUX=)"(.*)"/\1"\2consoleblank=300"/' /etc/default/grub
update-grub
# reboot
shutdown -r now

Relevant Note(s): Proxmox Setup