HTC One M8 - Keep screen on when USB plugged in

Android 4.4 (Kit Kat)
Phone: HTC One M8
Factory OS: Android 4.4 (Kit Kat)

Have you updated your Operating System?
Then view tips for the most recent OS version(s): Android 9 (Pie) & Android 8 (Oreo)
Or view tips for all Android versions

Keep screen on when USB plugged in

Sometimes you may need your screen to stay on when plugged in via USB.

To do this, go to your Home Screen and press the menu key (bottom right). Select Settings – More – Developer Options. Then check Stay Awake.

 
Looking for more tips?
We have 144 tips for the HTC One M8.