Go to Settings/Display then change 'sleep time' option
Also, go to Settings/Developer options and enable 'stay awake' option for phone to stay awake while charging
Thanks but that was not the expected answer
If the phone is charging the display gets darker after 15 or 30 seconds. This annoying for me.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb