I am new to ubuntu. I have installed ubuntu 22.04.2 LTS in dual boot. When I connect any Bluetooth speaker with the laptop, no sound comes from the speaker and sometimes sound comes from laptop only. Here is the output of the status of Bluetooth on my laptop:
sawan@sawan-Vivobook:~$ sudo systemctl status bluetooth
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-04-03 07:48:29 IST; 9h ago
Docs: man:bluetoothd(8)
Main PID: 707 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 18383)
Memory: 2.3M
CPU: 238ms
CGroup: /system.slice/bluetooth.service
└─707 /usr/lib/bluetooth/bluetoothd
Apr 03 17:47:48 sawan-Vivobook bluetoothd[707]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:47:48 sawan-Vivobook bluetoothd[707]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Apr 03 17:47:49 sawan-Vivobook bluetoothd[707]: profiles/input/device.c:control_connect_cb() connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:47:56 sawan-Vivobook bluetoothd[707]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:47:56 sawan-Vivobook bluetoothd[707]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:47:56 sawan-Vivobook bluetoothd[707]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Apr 03 17:47:57 sawan-Vivobook bluetoothd[707]: profiles/input/device.c:control_connect_cb() connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:47:59 sawan-Vivobook bluetoothd[707]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 5A:EC:68:1B:68:B1: Connection refused (111)
Apr 03 17:48:14 sawan-Vivobook bluetoothd[707]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Apr 03 17:48:14 sawan-Vivobook bluetoothd[707]: /org/bluez/hci0/dev_5A_EC_68_1B_68_B1/sep1/fd3: fd(42) ready