Chromebooks share the same power feature as any other laptop where closing the lid causes the unit goes to sleep. In some situations you may want to disable this (like if you have your Chromebook connected to an external monitor, mouse, and keyboard and don’t need/want the second display).
Before you start you will need to put your Chromebook into developer mode which will reset your device back to factory defaults. If you are unsure how to boot into developer mode check Google first or leave a comment.
- Press CTRL + ALT + ___> to get to the Chrome OS shell (crosh)
- Type in the following command:
> sudo chromeos-firmwareupdate –mode=todev
- Your system will reboot. Once it is back up press CTRL + ALT + ___> again to get to crosh
- Login as root
- Type the following to change directories:
> cd /usr/share/vboot/bin/
- Type and run the following command:
> sudo ./make\_dev\_ssd.sh –remove\_rootfs\_verification –partitions 2
- If prompted, reboot. Press CTRL + ATL + ___> to get back to crosh if you do.
- Mount the root partition read/write:
> mount -o rw,remount /
- Type and run the following command:
> echo 0 > /usr/share/power\_manager/use\_lid
NOTE: If you also wish to prevent your Chromebook from entering sleep mode you can use VIM to edit the “/usr/share/power_manager/<wbr />plugged\_suspend\_ms” file. Just set the number to a really high value, there doesn’t appear to be a way to disable it entirely.</li>
* Run the following commands:
> restart powerd
> restart powerm
* You can check power management status by running “status powerd” and “status powerm” If everything looks good just restart and the Chromebook should stay powered on after closing the lid. If you run into issues feel free to leave a comment.</ol>