How do I prevent my laptop from sleeping when I close the lid while using an external monitor?
Open Control Panel and go to Power Options, then select 'Choose what closing the lid does.' Under the 'Plugged in' section, select 'Do nothing' and click Save Changes. This ensures the computer does not enter sleep or hibernation mode when the lid is closed. (Page 7)
From the official HP Laserjet Pro Mfp M130 manual, page 7
Have a follow-up question?
Answers from the official manual.
Common questions