Hello,
It is possible that the batteries needs to be replaced since it does work if the said controller is plugged in. We would suggest that you reach out the manufacturer of the controller for further troubleshooting.
For further queries, feel free to post back.
Regards.