Smart backlight control
The smart backlight control keeps the screen on as long as the device is held in your hand. Once you put down the device, the screen turns off according to your screen timeout setting.
Find and tap [Settings] > [Display] > [Smart backlight control].
Tap the switch to enable or disable the function.