View previous topic :: View next topic |
Author |
Message |
mauricio.historia n00b
Joined: 18 Dec 2021 Posts: 11
|
Posted: Fri Dec 27, 2024 9:36 pm Post subject: Bluetoothctl does not display battery energy status |
|
|
I enabled the bluez experimental flag and pointed out the kernel modules from the manual with the exception of 'Bluetooth High Speed (HS) features" which I didn't find. I enabled the Experimental = true line in /etc/bluetooth/main.conf.
On the Debian system bluetoothctl info correctly displays "Battery Percentage" on the same headphones (Galaxy Buds Pro 2) on Gentoo it is not displayed.
Does anyone have any ideas?
Thanks. |
|
Back to top |
|
|
keekkenen n00b
Joined: 05 Oct 2024 Posts: 28
|
Posted: Thu Jan 02, 2025 6:43 pm Post subject: Re: Bluetoothctl does not display battery energy status |
|
|
Yes, it's very strange, I have the same situation, but Plasma "Power and Battery" shows me the correct headset battery level. _________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6188 Location: Dallas area
|
Posted: Thu Jan 02, 2025 8:42 pm Post subject: |
|
|
Is dbus running? The experimental flag works with dbus. My headphones do report battery to bluetoothctl, but dbus is running on my system.
I do have a magic trackpad that doesn't report the battery to bluetoothctl but instead puts it in a subdir of /sys/class/power_supply/ _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
keekkenen n00b
Joined: 05 Oct 2024 Posts: 28
|
Posted: Thu Jan 02, 2025 9:12 pm Post subject: |
|
|
Anon-E-moose wrote: | Is dbus running? The experimental flag works with dbus. My headphones do report battery to bluetoothctl, but dbus is running on my system.
I do have a magic trackpad that doesn't report the battery to bluetoothctl but instead puts it in a subdir of /sys/class/power_supply/ |
Yes, dbus works..
Code: | /sys/class/power_supply |
By this path I found only my mouse and something about nvme.
Plasma software reported too about any devices (usb and Bluetooth headsets, mouses) low level battery. _________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
|
FranciscoJaimes n00b
Joined: 15 Jan 2025 Posts: 24 Location: Mexico
|
Posted: Wed Jan 15, 2025 10:07 pm Post subject: |
|
|
It seems that the "Battery Percentage" feature for Bluetooth devices may require additional configuration or packages in Gentoo. Here's what you can try:
Ensure bluez is correctly configured: Make sure the bluez package has the correct USE flags enabled for battery support (e.g., bluetooth and experimental).
Check bluez version: Verify you're using the latest stable or experimental version of bluez that supports the battery feature.
Check main.conf settings: Double-check that Experimental=true is set in /etc/bluetooth/main.conf, and restart the Bluetooth service.
Use upower: Ensure the upower package is installed, as it provides battery status for Bluetooth devices.
Debug with bluetoothctl: Run bluetoothctl with power on and agent on, then connect your headphones and check the info command output to see if battery info is detected.
If these steps don’t work, try updating your Bluetooth stack or refer to any Gentoo-specific Bluetooth guides. |
|
Back to top |
|
|
|