Bluetooth Speaker disconnects on sleep

When the screen sleeps, my bluetooth speaker disconnects.

The speaker still shows connected in Bluetooth settings, and it's still set as the output device, however it no longer plays...

I must disconnect the speaker as a bluetooth device, connect it again, select it as the output device and then it will play.

Replies

It disconnects when not sleeping too... Just for the record.

So far it has not disconnected while actually being used, but it has disconected just at random.