Is your iPhone or iPad isn’t charging as it’s supposed to be ? Then you might have suffer from Lightning Port problem. The charger port on the bottom can be a trap for pocket gunk or fairly small pieces of lint or sediment can prevent charging.
Check the bottom of your iPhone or iPad, if you see anything at all in the Lightning Port, that probably something is in there. You need to grab something like a wooden or plastic tooth pick to get this object out. But you need to be careful, don’t use wet or metal stick.
Once you’ve cleaned out the port, try plugging it back in again. It should work. If you’ve still problem, then you should check your USB cable.