Android fixing ‘excessive’ battery drain app wake lock metric

Aman Tech
3 Min Read
Disclosure: This website may contain affiliate links, which means I may earn a commission if you click on the link and make a purchase. I only recommend products or services that I personally use and believe will add value to my readers. Your support is appreciated!

Given that excessive battery drain “one of the most important frustrations for Android users,” Google is starting A new attempt to help developers to customize their apps’ wake lock behavior of apps.

Partial wake lock is a mechanism … that allows developers to keep the CPU running after the display of the device (whether due to system timeout or power button -pressing user) … Excessive use of partial wake lock leaves the device’s battery as it prevents the device from entering the low power states.

To address this issue, Google is introducing a new “excessive wake lock” metric as part of Android Vitals. Game console That developers have access. When “excessive” “is added to all partial wake locks, added together, lasting for more than 3 hours in a 24-hour period.”

The current recurrence of excessive wake lock matrix tracks the time only when the wake lock occurs when the app is in the background and does not contain the foreground service.

Google is working with Samsung and other top OEMS on this effort: “Samsung is excited to collaborate with Android and Google Play on new performance metrics. By sharing our user experience insight, we go aim to provide the developers to provide extraordinary display and battery life in the ecosystem. Will lead the experience. “

there is New developer documentation It provides “clear guidance on interpretation of the metrics”. Google has also updated its normal Wake lock documentation “With effective wake lock implementation strategies and best practices.”

Advertisement – Scroll for more ingredients

We encourage developers to examine this page and provide feedback with the case of their use on this new metric. Your input is invaluable in refining these matrix before their general availability.

That is the form Available hereGoogle aims to “perform and provide wide, fleet-wide visibility in battery and battery, to equip the developers with the data required to diagnose and solve the obstacles of performance.”

It is currently in beta, with Google “actively seeking a response to the metric definition and how it aligns with cases of your app use.” Once launched, Google “will detect Play Store Treatment to help users to choose apps that meet their needs.”

Later this year, Google “can introduce additional matrix in Android Vital, which highlights additional important performance issues.”

Source link


Discover more from AM TechHive

Subscribe to get the latest posts sent to your email.

Share This Article
Leave a Comment