Is there any tests to confirm its the charging port? Ohm out the pins? I just bought a new battery ($70) and it didn't solve the problem. The ports are $60. I could buy a new Nexus for the price of these components.
I have a 2012 Nexus 7 with suddenly occurring erratic battery behavior...