if you want to charge your iPhone, and you plug in but your phone is not connected to the charger. Reason behind this can be :
Your iOS device might have a dirty or damaged charging point.
You are not using the right charging cable.
Your charging accessory is not Apple-certified, it is defective or damaged.
Your USB charger is not designed to charge devices.
You should try these steps if your iPhone is not charging when you plugged in:
Remove any debris from the changing port on the bottom of your device.
Restart your iPhone
Try a different charger or USB cable.
Update your old iOS to the latest iOS..
Contact Apple Support to set up service.
To Get Latest Tech Updates, Tips and How to's Everyday.