I am not sure about the losing power, but I had the issue with the phone not recognising the charger or the mini USB when connected to the PC.
Here is what I did to fix it:
Basically, there are some small metal pins inside the mini usb port that come into contact with the pins on the micro USB...