Default Completely dead Nexus 10 won't even charge

I have a completely dead Nexus 10. About a month ago the tablet kept getting stuck in a boot loop. I eventually got it turned on and tried to do a factory reset. It seemed to do that fine but when it booted into the OS it crashed after a minute or two with corrupted graphics and a very high pitched beeping noise? I left it alone since then and now when I try to charge nothing is happening even after having left it plugged in overnight? Any suggestions on what I can do, is it a lost cause perhaps?