Okay, so my phone wont even detect the charger being plugged in unless i wiggle it around loads, then keep it held in the one place, it simply doesn't detect anything if i just plug it in and set it down on a table for example.

Is there any really easy way to fix this?

Do i just need a new charger cable, or is it more likely the charger port that is causing this?

Any home fixes?

(Sony Xperia SP)