Question Nexus 7 Not Charging while powered on / Not detected

My nexus 7 (2012) stopped charging when it is turned on and it will not be recognized by any pc. (not a driver issue)
I noticed this occurred after using a possibly faulty car charger with my nexus 7.
Any help will be greatly appreciated.

I have tried many chargers including the stock charger however it doesn't work.
Now I can't transfer files or root my nexus 7 and do many other things to do with the USB.

P.S My warranty is expired.