Chosen Solution

replace battery charg

Ralph Cross if you are talking about the lightning port, check this guide iPad 5 Wi-Fi Logic Board Replacement step 88 and others

I am not sure what you are asking, but if you are wondering what part you should replace should be easy, use an amp reader to see if the motherboard is pulling any power from the charge port if it’s not then its a port replacement if it is then its a battery replacement.