#Android Shell power commands to keep screen on
#this command will set it do that the screen will stay on
#while plugged into usb
#the screen will still dim
#this enabled "Stay awake" option under Developer Options
svc power stayon usb
#to disable
svc power stayon false
#To keep screen on with out changing system settings
#wiggle mouse option
while true; do input keyevent mouse ; sleep 5 ; done