iPad Air. doesnt recognizes charger once is on

When the ipad is off, and then plugin it, it turns on and recognizes the charger, if I disconnect and connect again, it wont recognize the charger. And if its on, doesnt recognizes the charger at all. Ive already changed the U2 IC twice, and still stuck on the same issue.