I am aware of the following SuperUser questions:
- Prevent laptop from going to sleep when I close the lid, but only if I'm connected to an external display
- automate so that if and only if external monitor is attached, closing laptop lid does nothing
Neither of these have useful answers, and are also both quite old.
In the current version of Windows 10, is there a way to tell Windows to sleep only if the lid is closed and there are no external monitors attached?
In work, I like to close the lid and attach a couple of monitors, at home I just use the laptop as-is.
Sometimes I close the lid before I leave for home, forgetting it's actually still running, and take my laptop out of the bag when I get home to discover it is radioactive hot!
The laptop is a Dell XPS 9550, if that helps.