IPad charges intermittently, starts and then stops.
I have a new 9-inch iPad Pro with iOS 11.2.6
In the past several months I have started to have charging problems. When plugged in it starts to charge, the charging icon is visible. Usually I leave it overnight. When I come back I see that it has not charged at all. When I remove the lighting cable and plug it back in the charging icon is visible again.
The happens only intermittently, not every time I plug it in