Configure screen on/off: charging/time of day I want to configure my tablets such that if the device is plugged into a charger and it is between, say, 7 am and 10pm, then the screen doesn't turn off, otherwise, it will. Is this possible? 

Edit ------
You can do it easily enough with Tasker. You can create a task that:


checks if the device is on charge (to do it you can either use the extended variable %myPOWER provided here or create your own global variable)
checks for the time of the day
sets the screen timeout to 'never'


Create a task with two actions.
The first one:


Choose Display ->  Display timeout
Set all sliders to the maximum, it means never power off the screen
Add this 'if' condition (tap the plus sign at the bottom of the page): %myPOWER = ac (use 'Math: Equals' to set the field in the middle) 


For the second task, set minutes to your normal timeout time and add the condition: %myPOWER = none.

Now create a profile:


Choose 'Time' as the context for the profile
Set from 7:00 to 22:00
Enter the name of the task you created