Python Forum
Reading Smartphone Battery Level via Bluetooth - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Reading Smartphone Battery Level via Bluetooth (/thread-27666.html)



Reading Smartphone Battery Level via Bluetooth - maxwell - Jun-16-2020

Hello,
similiar to what you may have in your car, I would like to indicate my Smartphone's (in my case an iPhone 6s) battery level in an UI programmed in Python. This should work via Bluetooth. I tried the following from GitHub, but it does not seem to work with Smartphones.
How to implement it in the UI is not the issue. Also, it is no issue to connect the phone via Bluetooth to the Pi. The problem is to retrieve the battery level from the Phone.

Any input on how to accomplish this is much appreciated!

Thank you,
Max


RE: Reading Smartphone Battery Level via Bluetooth - Larz60+ - Jun-17-2020

here are some packages (i haven't tried any, that's left up to you) that look like they can help:
https://pypi.org/search/?q=Bluetooth_Headset_Battery_Level&o=