IPhone 5 not charging when idling my phone behavior is very strange. If I plug the charger in and do not use the phone, it not charging. It only can be charged if I using it. I've reset but it's still the same. Do you have any idea about it.

Thank you.
This sounds like it may have something to do with the charger cable connection. Before I realized there was lint in my phone's charger port, I was able to sometimes get it to charge when pulling horizontally on the cable.

Check out the phone's lighting port and the laptop's usb ports with a flashlight to see if there is any lint in there blocking the connection