My logi mouse keeps jumping (working not smoothly)


I was working like everyday and i use logi mx master s2 mouse, it was perfect, i’m connecting it through bluetooth. today i rebooted my system to open windows, as my laptop has two different os on two different SSD, when i returned back to ubuntu i noticed that my mouse is not working as usual it keeps jumping. i opened windows and it’s working perfect. the problem is just in ubuntu, so i tried another bluetooth mouse and it works perfect. the problem only with my logi mx master s2 mouse, i have tried to remove all bluetooth files and reinstall bluez but i got same result, also i tried to update my system but i got no result. note that the mouse buttons are not laggy only the movement