Or Settings > Power > Battery Manager.
In phones that have Android 6 or later, you'll see the top overall contributors to battery drain. If a particular app shows high battery usage, try reducing the frequency the app is in use, limiting the sync frequency or restricting the background functions of the app to help extend the battery life of the phone.
For phones with Android 5 Lollipop or higher, Device Protection may be enabled, which means that after the factory reset, you'll need to sign in using the same Google Account that was logged into your phone. If you forgot your Google Account password, use your computer web browser and go to www.google.com/accounts/recovery to reset your password first.
To perform a factory reset on most HTC devices:
If you have a security lock on the device, you'll need to enter your security information as well.
The phone will reboot and reset.