Google has developed new power saving features for the Chrome browser
Chrome holds the lion's share of the web browser market, but this is definitely not because it is the best option on the market, at least for laptops and smartphones. In fact, Google's browser has become infamous for quickly draining a laptop's battery. Google is trying to combat this stigma both in marketing and on a technical level, and the upcoming feature may add to its growing list of features battery savings that will prevent websites from draining their battery.
To be honest, some of the blame for the battery drain can be placed on the websites themselves, especially those that use jаvascript and system resources sloppily. Google can't make all these sites behave properly, at least not yet, and Chrome should instead mitigate the effects of gluttonous sites and web apps.
Last month, it was reported that Google is trying to enable Chrome to put some web pages to sleep when they are running in the background and throttling jаvascript timers that unnecessarily consume CPU processes and therefore drain battery power. This time, Google is giving websites the option to "suggest" a power-saving mode that Chrome will use.
It is not yet clear how exactly this will work, but websites may use special codes and tags that indicate to Chrome the optimization options for battery or processor. This approach could, for example, allow web applications for video conferences to run for as long as they need, but still consume battery power in a dosed manner. Chrome may reduce the page frame rate or slow down its script execution to save CPU cycles and power consumption.
More importantly, this new system will also allow web pages to adjust their performance based on whether the user has switched the operating system to power saving mode. This will help make web apps, especially Progressive Web Apps or PWAs, more aware of OS battery life and behave more like native apps.