The mouse's bottom LED goes off after 3 seconds after the connection and cursor movements and the wheel stops. Pressing any button, reconnecting or resetting the USB device resumes it for another 3 seconds (when resumed by pressing a button, this event does no go to X).
This happens when using any of the USB ports. This mouse works well with another computer with Linux. It was working well before.
Why can it happen? How can I fix it?
Update: It happens only if the laptop is on battery.
Answer: this is caused by the powersaving done by laptop-mode-tools. To temporary turn off powersaving, one can use
for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done