How To Solve Wireless Controller For PS3 Not Working Issue

Recently my friend borrowed my wireless PS3 controller until which it was working fine, but since he returned it whenever I plug it in for charging, it doesn’t connect. It is like it has got no power. I wonder if it has to do anything with its lithium battery or it could be that a soldered connection to the USB port got undone. So how to fix this issue with my wireless controller for ps3 and can it be repaired as it is worth 50$?

