Hi,
You can try these steps to fix your Bluetooth speaker repeatedly connecting and disconnecting on your Lenovo laptop. First, disable power-saving for the Bluetooth adapter by going to Device Manager, selecting Bluetooth, opening your adapter’s Properties, then Power Management, and unchecking 'Allow the computer to turn off this device to save power," which prevents Windows from dropping the connection when idle. Second, forget and re-pair the speaker to reset the connection and resolve any handshake or profile issues. Third, set the speaker as the default playback device in Sound Settings so the system keeps it active even when no audio is playing.
When this happens, if you start playing a YouTube video or some music, does the speaker reconnect right away and work normally, or does it stay disconnected for a bit?
Kind regards,