An average value of the ambient light intensity values detected by the at least two ambient light sensors is calculated.
The display screen is controlled to respond according to the average value.
In some embodiments, the display region of the display screen includes a first part and a second part disposed oppositely. One of the two ambient light sensors included in the electronic device may be disposed facing an edge of the first part, and the other one may be disposed facing an edge of the second part.
In some embodiments, when controlling the display screen to respond according to the ambient light intensity value, the processor 301 is configured to perform follows.
A preset adjustment value of ambient light intensity is obtained according to a color of the predetermined picture.
The ambient light intensity value is adjusted according to the preset adjustment value of ambient light intensity to obtain an adjusted ambient light intensity value.
The display screen is controlled to respond according to the adjusted ambient light intensity value.
In some embodiments, when adjusting the ambient light intensity value according to the preset adjustment value of ambient light intensity to obtain the adjusted ambient light intensity value, the processor 301 is configured to perform follows.
A difference value between the ambient light intensity value and the preset adjustment value of ambient light intensity is calculated.
When controlling the display screen to respond according to the adjusted ambient light intensity value, the processor 301 is configured to perform follows.