It's happened to all of us. You fully charge your smartphone battery because you know you'll be out for the whole day and, somehow, your battery dies. Your smartphone doesn't always run out of charge this quickly, so it can't be solely a battery-related issue. There has to be some other culprit.
Good news, Android users. Google is going to step in and help you find the perpetrators.
Google just announced the launch of a new beta vitals metric for Android app developers that will result in a visible warning in the Google Play store for end users if an app causes excessive battery drain.
Google's new “excessive partial wake locks” metric, co-created by Samsung, aims to deter app developers from creating battery-draining apps while also warning users.
Rapid battery drain is usually the result of third-party apps that use wake locks to prevent smartphones from entering sleep mode in order to run background processes on the device when the screen is off.
Google says excessive wake locks are a “heavy contributor to battery drain.” As such, the company has created a threshold of what is deemed acceptable and unacceptable for apps running in the background.
Mashable Light Speed
According to Google, the company "considers a user session excessive if it holds more than 2 cumulative hours of non-exempt wake locks in a 24 hour period." Google has exemptions for apps that offer "clear user benefits" and provides "audio playback or user-initiated data transfer" as examples that would not fall under its bad behavior threshold.
However, the company says the bad behavior threshold for most apps will be crossed "when 5% of an app’s user sessions over the last 28 days are excessive."
When this happens, Google will warn the app developer in their Android vitals overview dashboard.
This is how the Google Play warning label for battery draining apps will be displayed. Credit: Google
If an app developer doesn't deal with their excessive wake locks issue, then it will affect how users see the app. According to Google, apps that cross the bad behavior threshold will receive a warning label in the Google Play store.
"This app may use more battery than expected due to high background activity," reads the notice.
Furthermore, Android users may have trouble finding these apps at all as Google will also make these apps ineligible for some discovery sections in the Google Play store.
This new update from Google seems like a pretty clear win-win. It forces app developers to create better apps and helps preserve users' battery life.