Default Serious battery problem

basically I've been having a lot of random shutdowns, boot loops, and some apps just don't work. Chrome for example crashes incessantly. How do I go about getting HTC to replace this faulty phone?

Sent from my HTCONE using Tapatalk