Device doesn't go to suspend state if you keep it on usb cable, it only goes to suspend if cable is not connected. (As there is no need to suspend when device is getting external power).