add screen off function.