My ipad is getting detected in PC but not taking charging from wall ch

I changed wire, charger, port with flex cable, tried recovery mode flashing of software from i tunes nothing worked. Only that after flashing it took charging for a couple of plug ins and then stopped again. Please guide

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

Tushar Panjwani you already replaced the battery? If not, then it is time to do so.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0