-
Notifications
You must be signed in to change notification settings - Fork 34
show battery percentage of paired devices #14
Comments
I've tried to add this feature, but can't find a way to get battery level of bluetooth device on linux. |
I think it's not yet possible: |
Hi guys. I think its possible. https://github.com/TheWeirdDev/Bluetooth_Headset_Battery_Level For me, works well, to get my Headset battery level. I can help to geyt this to work. |
I'm pretty sure UPower can give you this information: slaw@nyancat:~$ bluetoothctl devices
Device D9:86:B5:62:2C:85 MX Anywhere 3
slaw@nyancat:~$ upower -i /org/freedesktop/UPower/devices/mouse_dev_D9_86_B5_62_2C_85
native-path: /org/bluez/hci0/dev_D9_86_B5_62_2C_85
model: MX Anywhere 3
serial: D9:86:B5:62:2C:85
power supply: no
updated: Wed 31 Dec 1969 04:00:00 PM PST (1619398947 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: no
state: unknown
warning-level: none
percentage: 55%
icon-name: 'battery-missing-symbolic' |
Not sure how usable or up-to-date this is , but here is another gnome extension that fetches the battery percentage using upower for a specific Bluetooth tablet: https://github.com/fthx/wacom-indicator/blob/main/extension.js#L74 May be that provides some inspirations. |
Headset battery is (currently) an experimental feature of bluez. Experimental features can be enabled by passing the
(see #42 (comment))
|
Hello, in my day-to-day, I use several bluetooth devices with their own battery, but there is no indication of the percentage.
On my Android, I use the BatON application that provides this information; it would be very useful for users to view this information in that extension as well.
Link to BatON: https://play.google.com/store/apps/details?id=com.limi.baton&hl=pt_BR
Please can you implement this because it would be very useful for me? I am grateful.
The text was updated successfully, but these errors were encountered: