First off, I am rooted.
Second, this problem has happened to those without rooted phones:
http://forums.androidcentral.com/htc-one-m8/375255-htc-one-m8-keeps-restarting.html
So my phone died.
I plugged it in, and decided to turn it on. I do, and it said the charger I was using was slow. "Ok...