I had the exact same problem as you guys.
I cleaned the contacts inside the charger port and now my phone charges straight away without fiddling with it and it has stopped going crazy.
There was a lot of dirt and fluff inside the charger USB port.
Hope this helps.