How to reset HTC One M9

Any Android smartphone, after excessive usage, needs a reset and usually that is done by rebooting the phone by turning the power off and then switching it On back to normal. This is the normal case. But sometimes if our phones get unlucky, they tend to not respond....