My Mouse keeps jumping or lagging?

Okay so i have this generic mouse which is not even a popular brand it doesn't show in google images because its just a generic mouse right lol. I decided to use it since my old one broke, it uses AAA 1.5 v batteries which i plugged in new and it has that little usb kind of like a unifying logitech one looks like it but it isn't lol

It worked fine months ago on my old friends laptop and now when i try it on mine it works but just jumps around, even one little push can make it like skip 2 inches through the screen.

it did install the drivers i plugged it in the usb 3.0 ports and it installed the window came up, it seems like it works a little better if its int he other end of the laptop not in the neearest side, but it still lags around

is my laptop compatible? I'm using win 8.1 lenovo y510p

it has the little dpi button whch i don't know how to use since the mouse keeps jumping all over,
i tried restarting my computer

please someone help

Have you tried changing the batteries? You may have simply put in old ones or ones that have expired. What you're describing is typical low battery behavior.

It could also be that there's some corrosion on the battery contacts that's preventing the proper flow of charge.