Google Chrome may be the top performing web browser today, but its impressive features often take their toll on battery. That is because Chrome tabs consume a lot of system resources even when they are running in the background. Google is now working on a timer that would throttle background pages in an effort to help improve battery life and browser performance.
Google engineer Alexander Timin describes the throttling mechanism:
- Each WebView has a budget (in seconds) for running timers in background.
- A timer task is only allowed to run when the budget is non-negative.
- After a timer has executed, its run time is subtracted from the budget.
- The budget regenerates with time (at rate of 0.01 seconds per second).
Google plans to roll out the new feature for Windows, Mac, Linux, Chrome OS, Android, and Android WebView, though there’s no official release date for the stable Chrome 56 yet.