- In the System Tray (at the bottom-right corner of the task-bar), find the Battery icon. We may have to click the small arrow to show all icons to see Battery icon. Right-click Battery and choose Power Options:
(Alternatively, on Windows 10, we can head to Settings > System > Power & sleep and select Additional power settings from the right menu.)
- On the left of the resulting Power Options menu, select Choose what closing the lid does:
- You'll see options for the power and sleep buttons. Under When I close the lid, change the dropdown box for Plugged in to Do nothing.
(If we like, we can also change the setting for On battery. However, this can cause issues.)
- Click Save Changes and we're good to go.