In some embodiments, the number of the ambient light sensor may be at least two. The at least two ambient light sensors may be spaced apart from each other. As illustrated in
At block 121, an ambient light intensity value detected by each ambient light sensor is obtained.
Controlling the display screen to respond according to the ambient light intensity value at block 130 may include follows.
At block 131, an average value of the ambient light intensity values detected by the at least two ambient light sensors is calculated.
At block 132, the display screen is controlled to respond according to the average value.
The electronic device includes at least two ambient light sensors. The at least two ambient light sensors are spaced apart from each other. As illustrated in
The electronic device may obtain an ambient light intensity value detected by each ambient light sensor. The electronic device calculates the average value of the ambient light intensity values detected by the at least two ambient light sensors, and controls the display screen to respond according to the average value.