Wireless mouse freezes frequently for a second on laptop, when on battery

This might be problem with too aggressive power-management autosuspend for USB receiver for wireless mouse. One symptom that this is the case is that the problem with mouse "freezing" / "hanging" for a while happens only if laptop works from battery (off AC adapter).

You can turn off autosuspend using powertop text-mode command line tool (run as root, e.g. using sudo).

Go to "Tunables" tab (using right and left arrows), select "Autosuspend for USB device USB Receiver (Logitech)" (using down and top arrows), and turn it off from "Good" to "Bad" (using key).

Unfortunately I don't know how to configure those power settings in persistent way...


I have updated to Ubuntu 12.10 (from 12.04), and I no longer have those problems. Though powertop2 is now useless: it doesn't show power consumption in Watts after upgrade...