Yes, power is one thing that can do this. Does it help to retry with the controller battery removed? If you have spare data cables it may help to test others with the controller.
Could you please share your setup so we can learn more about the issue? Please include both the brand and model.
mouse:
keyboard:
extras: extended usb cables, third party usb hub, usb switch, titan or cronus device?