PORTABLE ELECTRONIC DEVICE AND METHOD FOR CONTROLLING SCREEN PROTECTION FUNCTION OF THE PORTABLE ELECTRONIC DEVICE
First Claim
1. A portable electronic device, comprising:
- a gravity sensor and a display screen;
a storage system and at least one processor; and
one or more programs stored in the storage system and executed by the at least one processor, the one or more programs comprising;
a parameter setting module that sets a tilt angle range for placement of the portable electronic device, and stores the tilt angle range in the storage system;
a tilt angle detection module that detects a horizontal vector and a vertical vector of a gravitational acceleration of the portable electronic device using the gravity sensor, and calculates a tilt angle of the portable electronic device according to the horizontal vector and the vertical vector; and
a screen protection control module that determines whether the tilt angle exceeds the preset tilt angle range, and activates a screen protection program of the portable electronic device to control the display screen to enter into a power saving mode if the tilt angle exceeds the preset tilt angle range, or terminates the screen protection program to control the display screen to enter into a normal display mode if the tilt angle does not exceed the preset tilt angle range.
1 Assignment
0 Petitions
Accused Products
Abstract
In a method for controlling a screen protection function of a portable electronic device, the portable electronic device includes a gravity sensor, a display screen, and a storage system. The gravity sensor detects a horizontal vector and a vertical vector of a gravitational acceleration of the portable electronic device, and a tilt angle of the portable electronic device is calculated according to the horizontal vector and the vertical vector. The method activates a screen protection program of the portable electronic device to control the display screen to enter into a power saving mode if the tilt angle exceeds a preset tilt angle range stored in the storage system, and terminates the screen protection program to control the display screen to enter into a normal display mode if the tilt angle does not exceed the preset tilt angle range.
-
Citations
18 Claims
-
1. A portable electronic device, comprising:
-
a gravity sensor and a display screen; a storage system and at least one processor; and one or more programs stored in the storage system and executed by the at least one processor, the one or more programs comprising; a parameter setting module that sets a tilt angle range for placement of the portable electronic device, and stores the tilt angle range in the storage system; a tilt angle detection module that detects a horizontal vector and a vertical vector of a gravitational acceleration of the portable electronic device using the gravity sensor, and calculates a tilt angle of the portable electronic device according to the horizontal vector and the vertical vector; and a screen protection control module that determines whether the tilt angle exceeds the preset tilt angle range, and activates a screen protection program of the portable electronic device to control the display screen to enter into a power saving mode if the tilt angle exceeds the preset tilt angle range, or terminates the screen protection program to control the display screen to enter into a normal display mode if the tilt angle does not exceed the preset tilt angle range. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for controlling a screen protection function of a portable electronic device, the portable electronic device comprising a gravity sensor and a display screen, the method comprising:
-
setting a tilt angle range for placement of the portable electronic device, and storing the tilt angle range in a storage system of the portable electronic device; detecting a horizontal vector and a vertical vector of a gravitational acceleration of the portable electronic device using the gravity sensor; calculating a tilt angle of the portable electronic device according to the horizontal vector and the vertical vector; determining whether the tilt angle exceeds the preset tilt angle range; and activating a screen protection program of the portable electronic device to control the display screen to enter into a power saving mode if the tilt angle exceeds the preset tilt angle range;
orterminating the screen protection program to control the display screen to enter into a normal display mode if the tilt angle does not exceed the preset tilt angle range. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory storage medium having stored thereon instructions that, when executed by at least one processor of a portable electronic device, cause the processor to perform a method for controlling a screen protection function of the portable electronic device, the portable electronic device comprising a gravity sensor and a display screen, the method comprising:
-
setting a tilt angle range for placement of the portable electronic device, and storing the tilt angle range in a storage system of the portable electronic device; detecting a horizontal vector and a vertical vector of a gravitational acceleration of the portable electronic device using the gravity sensor; calculating a tilt angle of the portable electronic device according to the horizontal vector and the vertical vector; determining whether the tilt angle exceeds the preset tilt angle range; and activating a screen protection program of the portable electronic device to control the display screen to enter into a power saving mode if the tilt angle exceeds the preset tilt angle range;
orterminating the screen protection program to control the display screen to enter into a normal display mode if the tilt angle does not exceed the preset tilt angle range. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification