I don't know how , but somehow automatic power-off of usb devices got accidently enabled. Now my usb mouse goes off even if it's idle for 2-3 seconds. it's really irritating.
P.S. This happened after i installed powertop and powernap. May be it has something to do with these two.