New Chrome OS 105 feature could boost Chromebook battery life
While most of you are running Chrome OS 103, I’m testing Chrome OS 105 in the Dev Channel. I see a new flag in that version that expands upon a change from way back in version 88. And this tweaked Chrome OS 105 feature could boost Chromebook battery life.
The change has to do with throttling down and waking up JavaScript on web pages in the background. These are the tabs you might have open, for example, but aren’t actively looking at or interacting with. Chrome OS 88 introduced what Google calls an “Intensive throttling of Javascript timer wake ups” function. There are a few conditions on when these wake ups happen that you can read about in the documentation here.
Essentially, there’s a 5-minute window between wake ups for JavaScript code on a web page. The idea is that the more often the code is allowed to run, the more battery life is used by a Chromebook CPU. So limiting, or throttling, the time code can run will reduce overall energy usage.
In Chrome OS 105, I see an experimental flag at chrome://flags#quick-intensive-throttling-after-loading
.
It enables a feature called “Quick intensive timer throttling of loaded background pages” and further enhances the JavsScript timer access on background pages. It changes the grace period from the initial feature in Chrome OS 88 from 5 minutes to 10 seconds.
All of the technical bits aside, what does this Chrome OS 105 feature do in a tangible way? According to the Chromium page describing the changes:
This is expected to extend battery life. An experiment on the Canary and Dev channels did not reveal any regression to our guiding metrics and there are significant improvement[s] (~10%) to CPU time when all tabs are hidden and silent.
To be clear, I wouldn’t expect a 10% boost in Chromebook battery life over what you get today.
You have to realize that the efficiencies only affect a particular feature or use case of Chrome OS. The best way to explain this is that JavaScript code will use 10% less energy than before; there are obviously many other aspects of overall battery life.
Even so, the energy savings could be noticeable.
How many people continuously use a Chromebook with only a single browser tab open all the time? I doubt there are many and this feature wouldn’t help them. However, if you have multiple browser tabs open, something I’d bet the vast majority of Chromebook users do, then the efficiency from this Chrome OS 105 feature will kick in.
It would take highly controlled tests for me to determine the battery boost on a Chromebook from this. So I’ll refrain from doing that and let Google handle it. In the meantime, I’ll keep the new flag enabled and see if I notice any general Chromebook battery life boost for now.
One thought on “New Chrome OS 105 feature could boost Chromebook battery life”
Comments are closed.
Sounds good, this java script thing seems to be a resource hog.
So many commercial websites do seem to think they can just take your whole CPU / Memory or something.
There are websites that you can open 20 tabs and it doesn’t seem to affect performance. Then there’s websites where opening two tabs will get your fans going. But in terms of what you think the websites should use in resources is no different other than one is poorly coded / doesn’t care.
That along with websites that have 4/5 adverts running is what ruins the web. As if one can concentrate on 5 adverts at once. I actually like adverts (sites have to make money somehow) but sites should be allowed no more than one at a time and maybe it a standard area of the page that is the same across all sites.