Not getting battery percentage for bluetooth audio devices
- PipeWire version (
pipewire --version
): 0.3.65 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Ubuntu 23.04 - Desktop Environment: GNOME 44
- Kernel version (
uname -r
): 6.2.0-20-generic - BlueZ version (
bluetoothctl --version
): 5.66 -
lsusb
:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:56c9 IMC Networks HP TrueVision HD Camera
Bus 001 Device 004: ID 0bda:b00a Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bluetooth devices:
Device D4:8A:39:AB:5E:BA F41
Device 11:23:24:98:5D:A0 Rockerz 650
Device 18:95:52:32:A8:7A realme Buds Wireless 2
Description of Problem:
I am not getting battery percentage for my Bluetooth headphones (Rockerz 650 (11:23:24:98:5D:A0)) neither in settings nor using upower -d. For other devices like my phone when connected through bluetooth, it displays the battery percentage. Also the battery percentage is visible for these headphone when connected on Windows on same PC and also on android.
When I run the debug log command: WIREPLUMBER_NO_PW_LOG=1 PIPEWIRE_DEBUG=4 wireplumber 2>&1 | grep --line-buffered -Ei '^\[?[EW]\]?|spa\.bluez5' > pipewire-bluez.log
, the battery percentage was visible in the settings, but not otherwise.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log - Bluetooth debug log, see here: pipewire-bluez.log