Huawei P9 - Keep screen on when USB plugged in

Android 6.0 (Marshmallow)
Phone: Huawei P9
Factory OS: Android 6.0 (Marshmallow)

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, Drag down your notifications screen and press Settings. Then under System, select Developer Options. Then check Stay Awake.

If you can’t see Developer options then you need to enable this.

Go to Settings – System – About device – Software info and press on Build number 7 times. Developer options will now appear in the System section of your settings.

 
Looking for more tips?
We have 143 tips for the Huawei P9.