Bluetooth volume doesn't sync with speaker sometimes
Expected Behavior
When device is connected to a bluetooth speaker, the volume should be synced (either adjusting the volume on the device or on the speaker, it should sync -> adjusting volume on the speaker shows the volume slider on the smartphone). This should work at any time with the same bluetooth speaker.
Current Behavior
With the same bluetooth speaker, the volume doesn't sync every time. When the speaker gets turned on and connects to the smartphone (they are already paired), volume gets synced. When selecting the not-connected speaker from bluetooth menu on smartphone to connect, volume doesn't get synced, that means volume can be adjusted on each device (smartphone and speaker) seperately. This happens for example in combination with a Sony HT-SF200.
Possible Solution
Maybe there is a different behaviour between LineageOS connecting actively to a bluetooth speaker versus LineageOS passively connecting to a bluetooth speaker.
Steps to Reproduce
- Turn on bluetooth on your device
- Go to bluetooth menu
- Select the bluetooth speaker to connect to
- When connected, adjust volume -> volume does not sync
/device dumpling /version lineage-18.1 /date 2021-04-06 /kernel 4.4.258-lineage+ /baseband .c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1 /mods MindTheGApps
Issue also occurs on repartitioned Nexus 7 (2013) (flox) on LineageOS 18.1 with the same bluetooth speaker. In the logcat, the steps are reproduced on dumpling. Relevant parts are 15:33:00-15:33:25 (volume sync is "OK) and 15:34:00-15:34:25 (volume sync is "Not OK").logcat.txt
I have read the directions.