Mishaal Rahman, former XDA-Developers’ EIC, has revealed that Google introduced several new BatteryManager APIs in Android 14 beta. Among them, two APIs are public and used to provide information about cycle count and charging status. The remaining APIs are system APIs that report the manufacturing date, date of first use, charging policy, and state of health of the device.

This feature has been present on Apple devices for long time now, and now finally Android 14 could bring this to all android devices when it gets finally released.

According to Rahman’s report, the system APIs can be accessed by any app with the BATTERY_STATS permission, but they are exclusively available on Pixel devices running Android 14 Beta 2 or a higher version. Narek, a developer, has created an app called Batt that utilizes these new APIs to provide information about the battery health and charge cycles of a smartphone. If your device runs on Android 14, you can download the app from GitLab and give it a try.

It is important to note that the accuracy of the data shared by the app cannot be guaranteed, as it relies on the information provided by the APIs, which in turn depends on the tracking capabilities of the charging IC and the support of this feature by the HAL (Hardware Abstraction Layer).

Hopefully, in the stable version of Android 14, Google will introduce a dedicated battery health feature, eliminating the need to rely on third-party apps like Batt to check the battery health status of your device.

By shivam