Check out my answer here:
https://askubuntu.com/a/582035/13903
Uninstall/purge blueman-manager or any extra bluetooth software. Go vanilla and just leave the original Ubuntu bluetooth software to rule out any conflicts.
- Press the bluetooth mouse's discovery mode.
Press the bluetooth mouse's discovery mode.
Open a terminal and type the command
hcitool scanThen paste the first half of your bluetooth address as the OUI.
- Open a terminal and type the command
hcitool scan
- Then paste the first half of your bluetooth address as the OUI.
So if your bluetooth mouse's address is
AB:CD:EF:GH:IJ:KL
It would look like this:
<device oui="AB:CD:EF:" type="mouse" name="Microsoft Sculpt Comfort Mouse" pin="0000"/>
Insert that line with the rest of the entries in
/usr/share/gnome-bluetooth/pin-code-database.xml
This helps to reconnect mice that may require a pin to pair.
This should solve most reconnection issues because Ubuntu doesn't know the PIN when it reconnects. You need to provide it with one (if it needs it default is 0000).
name isn't required, pin isn't required either. oui is required however. First find out if your mouse needs apin then try this. You can also try without using the name parameter if you don't know it.