New Bluetooth APIs for AOSP finally track battery levels

Android manufacturers and custom ROM makers usually put in APIs to track Bluetooth accessories’ battery levels. Unfortunately, these indicators are fairly crude, mostly only appearing on the notification bar and not in a settings page. Even though third-party apps can take advantage of reporting data through a Bluetooth SIG standards, they tend to be hit-and-miss.

Well, it looks like Google is finally going to take on this tricky task — really, when has working out background tasks through Bluetooth ever been an easy thing? — with some new APIs to retrieve and display Bluetooth accessory battery levels and their state changes. Spotted by XDA-Developers, a couple of commitments to the Android Open Source Project gerrit show that specific battery percentage numbers could also be displayed. Subordinate standards from Plantronics and Apple as well as Bluetooth Low Energy may also be supported somehow.

These naturalized APIs will not appear on Android 8.0 as the level 26 API library has been finalized. They could, however, appear in a point-one update library.

Share This Post

Watch the Latest Pocketnow Videos

About The Author
Jules Wang
Jules Wang is News Editor for Pocketnow and one of the hosts of the Pocketnow Weekly Podcast. He came onto the team in 2014 as an intern editing and producing videos and the podcast while he was studying journalism at Emerson College. He graduated the year after and entered into his current position at Pocketnow, full-time.