Recently I purchased logitech bluetooth mouse. It's lagging on ubuntu 20.04 and I found solution here. Unfortunately this solution suggests run it manually. I tried systemd and crontab to automatically run it. But no success. Can you tell me how to run this script or update bluetooth configuration?
Here is script I needed to run
sed -i -E "s/^(MinInterval=.+)$/MinInterval=6/;s/^(MaxInterval=.+)$/MaxInterval=7/;s/^(Latency=.+)$/Latency=0/;s/^(Timeout=.+)$/Timeout=2160/" /var/lib/bluetooth/device_address/mouse_address/info
sudo service bluetooth restart