Backlight On / Off works on user interaction with the device, if no activity for a specified period of time, the backlight turns off. There is one way to keep the backlight on is by ResetInactivityTime, which resets the inactivity timer. Please keep in mind that the backlight is a major consumer of energy on your phone and it is really helpful to prevent power by switching backlight off as much as you can. You need to implement the given below code in the timer so that it continuously resets the inactivity time.
Code:
User::ResetInactivityTime();
Bookmarks