Google is exploring the idea of limiting JavaScript timer wakeups in background webpages starting with Chrome 86, which is shipping a new experimental feature behind chrome://flags. This way, Google Chrome will limit Javascript timer wake ups in background webpages to 1 wake up per minute, similar to Safari. ..
Chrome Upcoming Update May Extend Battery Life Up To 2 Hours
After using the development tools for inspecting the work done by some popular websites in the background, developers concluded that if the webpages are opened in the background Chrome users won’t get advantage from excessive usage of Javascript timers.
Google is announcing a new feature that will reduce the number of Javascript timers waking up in the background tabs. This will increase the battery life without affecting websites or applications that depend on WebSockets or long polls to receive messages and updates.
According to a document reviewed by TheWindowsClub, Google has experimented with a prototype that limits the wake timer of Javascript to 1 minute. Reportedly, for the experiment, Google has opened about 36 apps in the background and a blank tab in the foreground. This experiment was performed twice and at last, the result concluded that throttling JavaScript timers are increasing battery life up to 28%.
Google is working on a new update to Chrome that will allow users to extend their battery life by up to two hours. This feature will be available with the 86 update, and it may be available with desktop and mobile versions as well. This feature is almost similar to the one used by Safari. There is no guarantee that this will be shipped with the next update of Chrome, but it is still being developed. ..