iPhone 6 shows charging icon but not charging
Maybe, the problem is that there is dirt/dust inside the connector (lightning) port.

Try cleaning with a toothpick (plastic is the best) to remove possible dirt from the port.