A Gnome extension featuring indicator icons in system tray, serving as meter for Bluetooth device battery levels and providing detailed battery levels via icon/text in the Bluetooth quick settings menu.
Thanks for this extension. It works well with my earbuds, however, my laptop has a stylus with bluetooth functionality for the button at the top, additionally, bluetooth is also useful for checking the precise battery level of the stylus.
Unfortunately, my stylus just uses the generic bluetooth icon, so adding it to supportedIcons might be a no-go:
Stylus power shown in GNOME settings (unfortunately my mouse and keyboard doesn't show up either as they don't use bluetooth, so it might be outside the scope of this issue + extension):
Some possible solutions I thought of were:
add all bluetooth devices here and allow overriding of the supportedIcons check if it set to something other than hide all,
if adding all devices causes clutter, potentially have an "add device manually" button at the bottom of the list to pick devices to add to an allowlist to override the supportedIcons check
or a textbox/checkbox supportedIcons to be user customizable/disabled
Thanks for this extension. It works well with my earbuds, however, my laptop has a stylus with bluetooth functionality for the button at the top, additionally, bluetooth is also useful for checking the precise battery level of the stylus.
The stylus shows up with my battery meters in GNOME but is not shown by the extension. I had a quick skim over the code and suspect it may be due to
supportedIcons
not whitelisting the icon: https://github.com/maniacx/Bluetooth-Battery-Meter/blob/09928b482e27c7996fbf054eb9c471a4a9631c61/lib/bluetoothToggle.js#L12C7-L12C21Unfortunately, my stylus just uses the generic bluetooth icon, so adding it to
supportedIcons
might be a no-go:Stylus power shown in GNOME settings (unfortunately my mouse and keyboard doesn't show up either as they don't use bluetooth, so it might be outside the scope of this issue + extension):
Some possible solutions I thought of were:
supportedIcons
check if it set to something other thanhide all
,supportedIcons
checksupportedIcons
to be user customizable/disabledThank you!