TheWeirdDev / Bluetooth_Headset_Battery_Level

A python script to get battery level from Bluetooth headsets
GNU General Public License v3.0
760 stars 83 forks source link

Update bluetooth_battery.py #79

Open ayush-qubit opened 2 years ago

ayush-qubit commented 2 years ago

Added a command line option "--all" which shows battery percentage of all connected devices. Also modified by adding "--devices" a command line option which takes devices MAC address. Instead of running it like "python3 bluetooth_battery.py ", you can run it by "python3 bluetooth_battery.py --devices "