简体   繁体   中英

iOS How can I get the battery level of the connected bluetooth device

AS you know , iPhone can get the battery level of connected bluetooth devices(not ble devices) and show it on the status bar . How can I get this information programmatically ?

As I know, For classic BT, only devices contain headset profile can.

check this https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf

On your main screen, scroll left most, where you can see News, weather etc... Scroll down on this page, and you can see an "EDIT" option click on this and you can add "Battery" option. Once done, the left most screen will show the battery level of iphone as well as connected bluetooth devices

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM