Bluetooth speaker battery

Are you using PipeWire? If so, but experimental bluetooth features are not enabled, try the following:
first disconnect the device, then run

sudo systemctl edit bluetooth.service

then add

[Service]
ExecStart=
ExecStart=/usr/lib/bluetooth/bluetoothd -E

then run

sudo systemctl daemon-reload
sudo systemctl restart bluetooth
sudo systemctl restart upower

and then reconnect the device.