When connected to HDMI, sound only comes out through the built-in speakers

you can set the audio output in the bluetooth app. I would try that first.