Screen-on controlling method and electronic device
AssigneeHonor Device Co., Ltd.
InventorsWenli Zhang, Di Huang, Tieliang Liu
Life of this patent
Estimating the term…
Abstract
This application provides a screen-on controlling method and an electronic device. Through implementing technical solutions provided in this application, in a solution in which an attitude sensor is of equal importance to a Hall sensor, a device form of an electronic device is determined during closing the electronic device and unfolding the electronic device, so that on and off of two display screens can be properly controlled based on the device form. Proper controlling includes: During closing the electronic device when an initial status of the electronic device is unfolded, the electronic device may trigger an inner screen to be turned off and an outer screen to be turned on as soon as possible.
Claims20
A screen-on controlling method, applied to an electronic device having a foldable screen, wherein the electronic device comprises an inner screen and an outer screen, the inner screen is foldable to form a first screen and a second screen, and the method comprises:
- when an initial status of the electronic device is closed and both the inner screen and the outer screen are off, turning on, by the electronic device, the inner screen, and keeping the outer screen off when the electronic device is unfolded to cause a first included angle to be greater than or equal to a first angle, wherein the first included angle is an included angle between the first screen and the second screen;
- in a process of unfolding the electronic device when the initial status of the electronic device is closed, the first included angle increases;
- and in a process of closing the electronic device when the initial status of the electronic device is unfolded, the first included angle decreases;
- when the initial status of the electronic device is closed and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the inner screen is on and the outer screen is off when the electronic device is unfolded to cause the first included angle to be greater than or equal to the first angle;
- and
- when the initial status of the electronic device is unfolded and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the outer screen is on and the inner screen is off when the electronic device is closed to cause the first included angle to be less than or equal to a second angle, wherein the second angle is greater than the first angle.
A non-transitory computer storage medium, wherein the storage medium stores a computer program, the computer program comprises executable instructions, and the executable instructions, when executed by a processor, enable the processor to perform a method applied to an electronic device having a foldable screen, wherein the electronic device comprises an inner screen and an outer screen, the inner screen is foldable to form a first screen and a second screen, the method comprising:
- when an initial status of the electronic device is closed and both the inner screen and the outer screen are off, turning on the inner screen, and keeping the outer screen off when the electronic device is unfolded to cause a first included angle to be greater than or equal to a first angle, wherein the first included angle is an included angle between the first screen and the second screen;
- in a process of unfolding the electronic device when the initial status of the electronic device is closed, the first included angle increases;
- and in a process of closing the electronic device when the initial status of the electronic device is unfolded, the first included angle decreases;
- when the initial status of the electronic device is closed and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the inner screen is on and the outer screen is off when the electronic device is unfolded to cause the first included angle to be greater than or equal to the first angle;
- and
- when the initial status of the electronic device is unfolded and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the outer screen is on and the inner screen is off when the electronic device is closed to cause the first included angle to be less than or equal to a second angle, wherein the second angle is greater than the first angle.
An electronic device, comprising:
- an inner screen and an outer screen, wherein the inner screen is foldable to form a first screen and a second screen;
- and
- one or more processors and a memory, wherein the memory is coupled to the one or more processors, the memory is configured to store computer program code, the computer program code comprises computer instructions, and the one or more processors invoke the computer instructions, to enable the electronic device to perform a method, the method comprising:
- when an initial status of the electronic device is closed and both the inner screen and the outer screen are off, turning on the inner screen, and keeping the outer screen off when the electronic device is unfolded to cause a first included angle to be greater than or equal to a first angle, wherein the first included angle is an included angle between the first screen and the second screen;
- in a process of unfolding the electronic device when the initial status of the electronic device is closed, the first included angle increases;
- and in a process of closing the electronic device when the initial status of the electronic device is unfolded, the first included angle decreases;
- when the initial status of the electronic device is closed and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the inner screen is on and the outer screen is off when the electronic device is unfolded to cause the first included angle to be greater than or equal to the first angle;
- and
- when the initial status of the electronic device is unfolded and at least one of the inner screen or the outer screen is on, causing the electronic device to be in a state in which the outer screen is on and the inner screen is off when the electronic device is closed to cause the first included angle to be less than or equal to a second angle, wherein the second angle is greater than the first angle.
(canceled)
Dependencies are inferred from the claim text.