Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery indicator for bluetooth devices #206

Open
mar0425 opened this issue Jul 4, 2023 · 10 comments
Open

Battery indicator for bluetooth devices #206

mar0425 opened this issue Jul 4, 2023 · 10 comments

Comments

@mar0425
Copy link

mar0425 commented Jul 4, 2023

Problem

Hey,

is it possible to display battery levels on bluetooth devices (like headphones, speakers) like other OS do?

would be so useful... thanks

Proposal

Display it next to the listed devices when you click on the bt indicator

Prior Art (Optional)

No response

@spotlesscoder
Copy link

This would be a really really great feature.

The most annoying thing when having a meeting is joining and having your headphones turn off in the middle of the meeting.

Depending on the device used, it might not be possible to keep using them during charge. So It would also be nice if a notification with high importance is displayed to the user when the battery percentage drops below a user-chosen threshold for any of the currently connected bluetooth speakers / headphones like it is already done when the laptop battery is almost empty

@danirabbit
Copy link
Member

Just want to make a note that devices which communicate their battery status will appear in the power indicator

@spotlesscoder
Copy link

spotlesscoder commented Nov 6, 2023

I created elementary/wingpanel-indicator-power#253 for the notification topic because I think this is a different feature request than this one here

@spotlesscoder
Copy link

Just want to make a note that devices which communicate their battery status will appear in the power indicator

I tested this with my Bose QC35 II.
They report the battery level on my iPad correctly but when connecting them to my laptop with the latest elementaryOS version, I can only see the laptop battery level when I click the battery icon in the top panel

@danirabbit

This comment was marked as outdated.

@mar0425
Copy link
Author

mar0425 commented Nov 6, 2023

Tested this, none of my devices (tested with three bluetooth headphones and a bluetooth keyboard) show on d-spy under upower, they don´t show in the indicator either, all of them are supposed to be comunicating battery levels (I can see them on my android phone, for example) ... maybe it's an issue with upower?

@danirabbit

This comment was marked as outdated.

@lenemter
Copy link
Member

lenemter commented Nov 7, 2023

You may want to look at https://askubuntu.com/questions/1117563/check-bluetooth-headphones-battery-status-in-linux. It helped me a while ago.

@danirabbit
Copy link
Member

Ah that's good to know it's a Bluez issue and not UPower. It looks like this was marked as non-experimental last month 🎉 https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=495a582675cf0a4b2fee293cc215504ef24a1c43

So we'll have to see when Bluez 5.71 is released and if that's imported in Noble and then it should be fixed :)

@mar0425
Copy link
Author

mar0425 commented Nov 8, 2023

Ended up activating bluez experimental features following @lenemter 's post and my devices are showing now on power menu, I'll keep that config until bluez next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants