There are some cases where you wish your chromeOS, Chromebook (or Chromebox) will not to enter into sleep mode. A quick example is when you wish to use it in a conference to present a cool web experiment and you don’t want it to vanish after few minutes. Here are two quick ways to achieve it. Both are a bit of a hack… but it’s not a complicated process.
The hacker way
- Login with the admin user.
- Open a terminal by hiting CTRL+ALT+T
- Type the following
- shell (to drop into a standard bash shell)
- sudo stop powerm – to disable sleep when lid is closed. You could go with the longer version of: sudo initctl stop powerm but there is no reason to type more…
- sudo stop powerd – to disable all other power management features.
- Now logout from the menu – But do not restart! Why? because these settings won’t survive it.
The easy way
Install this Chrome extension – Caffeine after your clone/fork it from Github. It is an experimental extension for Google ChromeBooks that overrides the default power settings.
It is using this API:
which is still under experiment so you will need to enable it before the installation.
How to install:
- Go to about:flags on your Chromebook, enable “Experimental Extension APIs” and then restart your Chromebook.
- Go to extensions, toggle on Developer Mode, and click load unpacked extension.
- Choose the folder containing this source.
- Toggle / unToggle the menu icon to keep Chrome awake. Is it easy or what?
Happy new year!
[Update Sep 2014] – You can now have Keep Aware extension from the Chrome Web Store. This is the easiest way and it got two option: full system awake (sun is up) or display will go to sleep but network and the rest will continue to work (moon is up).
Share only with good friends: