CPC G09G 5/06 (2013.01) [G01J 3/462 (2013.01); G09G 3/035 (2020.08); G09G 2320/0233 (2013.01); G09G 2320/0242 (2013.01); G09G 2320/0666 (2013.01); G09G 2320/0686 (2013.01); G09G 2360/145 (2013.01)] | 20 Claims |
1. An electronic device comprising:
a housing comprising a front surface and a rear surface;
a display provided in the housing and exposed through the front surface of the housing;
an illuminance sensor provided below a sensor area in an active area of the display, the active area being an area of the display in which visual information is to be displayed;
a processor; and
a memory storing instructions that, when executed by the processor, cause the electronic device to:
determine an illuminance value based on data received from the illuminance sensor;
obtain color information of an image displayed in the active area;
determine a first color value of the active area and a second color value of the sensor area in the active area of the display based on the color information;
obtain a color ratio of the second color value to the first color value;
adjust the illuminance value based on the color ratio; and
configure a luminance of the display based on the adjusted illuminance value.
|