My iPad Air 2 keeps charging and Uncharging. I don’t think it’s a charger problem since I plugged into my iPhone SE and there’s no problem. When I plugged into my iPad, it keeps switching between charging and not charging rapidly.
Video: https://i.stack.imgur.com/y2YPN.jpg
Similar to this situation: https://discussions.apple.com/thread/6300997