Default [Q] Sudden crash -_-

It's an MB870, OS4.4.1 w/cyanogen10.3. I dont think its the battery, it does the same thing on the wall charge only. I can only make it to the second page of the setup before it shuts down. I have done a factory default through the android recovery which i can still get to. I can't fastboot or rsd because it wont stay on plugged up to the pc. This started when I woke up and took my phone off the charger after using it for an hour. Not sure what to do now, just looking for an idea