bBuetooth joystick "sleeps" after a couple seconds of inactivity

I have a 8bitdo M30 joystick after a second or two without input when I press a button it doesn’t register it. I don’t think it’s an issue with the joystick because I had the same problem with my Logitech mouse where it would sorta sleep after a couple second without moving it and installing Solaar it solved it.