예제 #1
0
def screensavermanager():
	set_backlight('on')
	Clock.unschedule(turnscreenoff)
	print('ScreenSaverManager called')
	print('unschedule previous turn-off')
	Clock.schedule_once(turnscreenoff,300)
	print('Turn screen on and schedule screen turn shutdown')
예제 #2
0
def turnscreenoff(self,*args):
	set_backlight('off')
	print('Screen turns off')