indicator says "busy"
JimKatsanoss opened this issue · 10 comments
This might have been addressed before.... any fixes?
Debug stuff:
Usage of object.actor is deprecated for Indicator
get@resource:///org/gnome/shell/ui/environment.js:317:29
_refresh@/home/jimkatsanos/.local/share/gnome-shell/extensions/bluetooth-battery@michalw.github.com/extension.js:84:13
_runLoop@/home/jimkatsanos/.local/share/gnome-shell/extensions/bluetooth-battery@michalw.github.com/extension.js:47:14
Bluetooth battery indicator: xxx is offline [Errno 16] Device or resource busy
but im currently listening to music
same error
from journalctl
Bluetooth battery indicator: Couldn't find the RFCOMM port number D0:BC:C1:3A:5B:7E is offline [Errno 16] Device or resource busy
From the Troubleshoot guide in the ReadMe
journalctl
Bluetooth battery indicator: Couldn't find the RFCOMM port number 00:00:00:00:00:00 is offline [Errno 111] Connection refused
py script
py ~/Downloads/bluetooth_battery.py 00:00:00:00:00:00 Traceback (most recent call last): File "/home/user/Downloads/bluetooth_battery.py", line 166, in <module> main() File "/home/user/Downloads/bluetooth_battery.py", line 162, in main query = BatteryStateQuerier(*device.split(".")) File "/home/3laws/Downloads/bluetooth_battery.py", line 81, in __init__ self._bt_settings = bluetooth_mac, int(bluetooth_port or RFCOMMSocket.find_rfcomm_port(bluetooth_mac)) File "/home/user/Downloads/bluetooth_battery.py", line 60, in find_rfcomm_port raise bluetooth.BluetoothError("Couldn't find the RFCOMM port number. Perhaps the device is offline?") bluetooth.btcommon.BluetoothError: Couldn't find the RFCOMM port number. Perhaps the device is offline?
use a diferent extension, it's at https://extensions.gnome.org/extension/1401/bluetooth-quick-connect/ , it does a similar thing as this extension, along with making it easier to connect bluetooth devices.
I'm already using that extension, it's pretty nice indeed. But it also doesn't display the battery level (if even I tick that option on).
I'm already using that extension, it's pretty nice indeed. But it also doesn't display the battery level (if even I tick that option on).
I am no longer using gnome, so I don't think I can help you there
try using Upower script.
Upower doesn't work with Airpods Pro (mine, at least, running latest Arch stuff).
I did fork this repo and integrate it with my own fork of AirStatus.
I consider its quality to be not that great, because of this limitation - so for now I'm not sure if it's a good idea to try and merge it to this repo.
Having said that, my fork shows left and right battery levels:
With this new AirPods
config option:
@MichalW - do you think it's good enough the merge? We can add a notice of that limitation in the readme.