If your iphone stops charging on your magsafe charger
If your iphone stops charging on your magsafe charging stand. (this only works for iphones supporting magsafe charging)
Before you buy a new charger check your phoene. Swith it off and back on again.
I found this solved the problem caused when an ios upgrde was done automatically recently.