Patent attributes
A mobile device includes a display, a gyroscope, a camera, a memory, and a hardware processor. The gyroscope can determine an angle between a plane defined by the display and a plane that is substantially perpendicular to the direction of gravity. The camera can capture an image of a user. The memory stores a set angle and a threshold. The processor determines a difference between the set angle and the angle. The processor further receives the image from the camera. The processor determines a location of the user's lips in the image. In response to determining that the difference remains greater than the threshold for a first time interval or that the user's lips remain open for a second time interval, the processor turns off the display. In response to turning off the display, the processor determines that a third time interval has passed and turns on the display.