maniacx / Bluetooth-Battery-Meter

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.
https://extensions.gnome.org/extension/6670/bluetooth-battery-meter/
GNU General Public License v3.0
107 stars 11 forks source link

Port to GNOME 47 #37

Closed antrmn closed 2 months ago

antrmn commented 2 months ago

GNOME 47.rc has been released, with the stable release set for September 18. Please update for GNOME 47 compatibility. The upgrade guide can be found here: Port Extensions to GNOME Shell 47

Thanks!

thenameisluk commented 2 months ago

funny thing in the manifest there are two shell 46 so that second 46 might be a typo (haven't tested it yet) @maniacx is it?

thenameisluk commented 2 months ago

yep the externsion seams to work

@antrmn if you want to get it working, just update ~/.local/share/gnome-shell/extensions/Bluetooth-Battery-Meter\@maniacx.github.com/metadata.json to this

{
  "_generated": "Generated by SweetTooth, do not edit",
  "description": "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 sett>
  "gettext-domain": "Bluetooth-Battery-Meter@maniacx.github.com",
  "name": "Bluetooth Battery Meter",
  "session-modes": [
    "unlock-dialog",
    "user"
  ],
  "settings-schema": "org.gnome.shell.extensions.Bluetooth-Battery-Meter",
  "shell-version": [
    "45",
    "46",
    "47"
  ],
  "url": "https://github.com/maniacx/Bluetooth-Battery-Meter",
  "uuid": "Bluetooth-Battery-Meter@maniacx.github.com",
  "version": 20
}
maniacx commented 2 months ago

Yes. it is typo. I will correct it tonight.

I did install Gnome47 (Fedora rawhide) yesterday and tested it and there are no changes needed with Gnome 47. I was planning to add a feature, to sort bluetooth devices in quicksetting according to history. Connected devices list will appear on top and paired device list will appear at the bottom same default Gnome, But instead of sorting by alphabethical alias order, this will sort the connected devices and paired devices by connection history. i.e recently connected device will be on top of the list and oldest connected will be on bottom of the list and the same for paired devices. However, last minute I found a bug when bluetooth adapter is disconnected it will lose all history. So need to debug and thoroughly test this feature

So for now, I will revert this feature and release without any changes. Thank you for bringing it to my notice.

maniacx commented 2 months ago

@antrmn @thenameisluk

Thanks for notifying. I have already released, and should be available on gnome-extension website.

Feel free to reopen this if there are any issues with the released version.