Ejemplo n.º 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')
Ejemplo n.º 2
0
def turnscreenoff(self,*args):
	set_backlight('off')
	print('Screen turns off')