Tech NewsWhat's New

Android 14 Beta Introduces New BatteryManager APIs with Promising Features

A Battery Health feature to show the device battery’s maximum remaining capacity is one feature that is absent on Android devices unlike it is the case with iPhones.

In an exciting development, Mishaal Rahman, the former EIC of XDA-Developers, has uncovered some intriguing details about the Android 14 beta. It appears that Google has incorporated several new BatteryManager APIs into the latest beta version. Among these APIs, two are public, serving to deliver valuable information regarding cycle count and charging status. The remaining APIs are system-based, offering insights into manufacturing dates, initial usage dates, charging policies, and the overall health status of the device.

According to Rahman’s findings, any application equipped with the BATTERY_STATS permission can now utilize these system APIs. However, at present, they are exclusively available on Pixel devices running Android 14 Beta 2 or higher. An enterprising developer named Narek has already capitalized on this opportunity by creating an app called Batt, leveraging the newfound APIs to provide users with detailed reports on their smartphone’s battery health and charge cycles. If your device is running Android 14, you can conveniently download Batt from GitLab and put it to the test.

It is important to note that the accuracy of the data shared by Batt cannot be guaranteed. The app relies on the information provided by the APIs, which, in turn, depends on the tracking capabilities of the charging IC. Additionally, the functionality may be contingent upon the support of the Hardware Abstraction Layer (HAL).

Back to top button

Adblock Detected!

Hello, we detected you are using an Adblocker to access this website. We do display some Ads to make the revenue required to keep this site running. please disable your Adblock to continue.