-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Not working on ubuntu 20.04 with pipewire configuration.
$ bluetooth_battery E4:41:22:AB:AD:D1
Traceback (most recent call last):
File "<string>", line 3, in connect
_bluetooth.error: (16, 'Device or resource busy')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/bin/bluetooth_battery", line 8, in <module>
sys.exit(main())
File "/home/user/.local/lib/python3.8/site-packages/bluetooth_battery/bluetooth_battery.py", line 163, in main
print("Battery level for {} is {}".format(device, str(query)))
File "/home/user/.local/lib/python3.8/site-packages/bluetooth_battery/bluetooth_battery.py", line 93, in __str__
return "{:.0%}".format(self._perform_query() / 100)
File "/home/user/.local/lib/python3.8/site-packages/bluetooth_battery/bluetooth_battery.py", line 101, in _perform_query
sock.connect(self._bt_settings)
File "<string>", line 5, in connect
bluetooth.btcommon.BluetoothError: [Errno 16] Device or resource busy
And without pipewire I cant use mic from bluetooth headset so cant switch back.
magoafono, emelcd, Martinz64, crisanieves, webdagger and 17 more
Metadata
Metadata
Assignees
Labels
No labels