Edgar Cervantes / Android Authority
Tl; DR
- Google introduced a new metric into the beta of the reading console to detect excessive wake locks.
- The tool helps developers to identify and repair the application behavior that drain the batteries without the user’s knowledge.
- This is part of Google’s longer term plan to improve the consistency of the performance of Android applications on devices.
If the battery of your phone has never dropped mysteriously overnight or died halfway through the day for no apparent reason, the culprit could be an ill-behavioral application in the background. Now Google said It deploys new tools that could help solve this problem, starting with a metric aimed at spotting one of the most common sources of battery emptying.
As part of a new beta version, Android developers will now be able to follow the “excessive wake locks” using the Android Vitals dashboard in the game console. Wake -up locks are functions at the system that keep your phone awake even when it is supposed to be inactive. Some applications use them for legitimate reasons, such as playing music or a tracking location, but when used incorrectly, especially in the background, they can seriously harm the battery life.
The new metric indicators apply wake applications for more than three hours in a 24-hour window, but only when the application runs in the background without active leading service. According to Google, this is one of the largest battery complaints among Android users, and the new tool gives developers a clearer way to catch and solve the problem before it affects too many people.
Google works in close collaboration with the main manufacturers of phones like Samsung to establish a more coherent definition of what “good” performance on Android devices really looks like. The objective is to help developers write more effective applications that behave well on different phones and brands, not only on a handful of test devices.
This is only the first step in what Google describes as a multi -year plan to give developers more information on how their applications work in the real world. At the bottom, the company plans to deploy additional measures focused on the battery performance and lifespan, and can even explore modifications to the Play Store which would eventually use these measures to highlight well -optimized applications for users.
For the moment, the excessive metric of Wake Lock is still in beta version, and Google actively encourages the developers to try it and provide comments.