Send the following on WhatsApp
Continue to ChatHTC One M8 Sweep to Sleep Module: Screen off w/o power button https://pocketables.com/2014/05/htc-one-m8-sweep-to-sleep-module-screen-off-wo-power-button.html
HTC One M8 Sweep to Sleep Module: Screen off w/o power button https://pocketables.com/2014/05/htc-one-m8-sweep-to-sleep-module-screen-off-wo-power-button.html