Chrome 86 could offer improved battery life thanks to this trick

In an effort to reduce how much battery life Chrome uses, Google's Chromium team is currently experimenting with limiting the frequency of power-hungry JavaScript timers.

In a document titled "Throttling JavaScript Timers to Reduce Battery Usage in Background Tabs", the Chromium team explains how developers often misuse JavaScript timers, saying:

"We used Devtools to inspect the work done by popular sites in the background. We found that a lot of work was done from JavaScript timers. Furthermore, we found that the work done from these Javascript timers was often not valuable to the user when the page was backgrounded (e.g. checking if scroll position changed, reporting logs, analyzing interactions with ads)."

The Chromium team's experiments began after it made the hypothesis that reducing the number of wake ups from JavaScript timers in backgrounded pages could extend battery life without negatively affecting the user experience of Chrome.

JavaScript timers

Currently the wake ups in background pages in Chrome are limited to one wake up per second and around one percent of CPU usage. However, to improve battery life the Chromium team conducted experiments where these wake ups were limited to just one per minute.

They ran one experiment on Chrome with 36 background tabs and the about:blank tab in the foreground as well as a second experiment with 36 background tabs and YouTube in the foreground playing a fullscreen video to test their hypothesis. In both experiments, the background tabs included popular sites such as Twitter, Gmail, Amazon and Best Buy.

To conduct their tests, the Chromium team used a MacBook Pro from 2018 and measured how long it took to drain the device's battery on Chrome with no throttling, Chrome with throttling and Safari 13.1. Even when throttling was enabled in Chrome, the device's battery drained faster than when the tests were done using Safari. However, with throttling enabled, Chrome was much closer to Safari in terms of its impact on battery life than before. During the team's YouTube tests, limiting JavaScript timers aggressively extended the MacBook's battery life by almost 36 minutes or around 13 percent.

End users are always looking to get a bit more battery life out of their devices and Google's Chromium team has found a way to accomplish this without negatively affecting Chrome's user experience.

Via ZDNet

How It works

Search Crack for

Latest IT News

Aug 5
Microsoft is expanding the calling capabilities in Teams with a new service and dedicated phone systems from its partners.
Aug 5
Microsoft and Samsung have teamed up again to announce a new feature for the excellent Your Phone app in Windows 10.
Aug 5
Messenger ups business offering with new Facebook chat plugin.
Aug 5
Linux Kernel 5.8 is available to download now and includes the highest number of commits.
Aug 4
Microsoft's new Advanced Communications plan allows users to host large-scale meetings and events in Teams.
Aug 4
Windows Credential Manager offers a straightforward way to store your login data in Windows 10.
Aug 4
Partner-only model may signify changes to come for Zoom.

Latest cracks