Bluetooth gets disconnected

When i connect my bluetooth speaker it automatically gets disconnected if i am not playing anything, or if i stopped the video for few mintues and ran again it will get disconnected. why this happening and how can i fix it?

  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends

Well you could try playing imperceptively low sound whenever you’re connected to it.

Curious if it’s just that speaker.

i was looking for some permanent solution

dont have any other bluetooth i could try connecting with my phone though, will give it a shot