Bluetooth keyboard keeps connecting and disconnecting after rebooting

on a fresh boot when ever i try to enter a key on the bluetooth keyboard i just get a connected prompt followed by a disconnected prompt, nothing registers.

I have to open bluetooth manager and set the keyboard to pairing mode then connect it.