If it is related to the proposed fix above then it is caused by a buggy Embedded Controller. The same chip is responsible both for power-management and for controlling the internal keyboard. When it is queried for the battery status and a key is held down or the mouse is in action the result is dropped packets and corruption of the i8042 stream.
It is likely that KDE or ?Desklets contains a battery status applet that probes for the battery status more frequently.
If it is related to the proposed fix above then it is caused by a buggy Embedded Controller. The same chip is responsible both for power-management and for controlling the internal keyboard. When it is queried for the battery status and a key is held down or the mouse is in action the result is dropped packets and corruption of the i8042 stream.
It is likely that KDE or ?Desklets contains a battery status applet that probes for the battery status more frequently.