CPC H04N 23/745 (2023.01) [G09G 3/34 (2013.01)] | 20 Claims |
1. An electronic device comprising,
a housing including a front surface and a rear surface facing in a direction opposite to the front surface,
a display included in the housing and visually exposed through a portion of the front surface,
an illuminance sensor including a first modulator obtaining a first signal for first illuminance values during a first integration time and a second modulator obtaining a second signal for second illuminance values during a second integration time and disposed between the display and the rear surface to overlap an area of the display when viewed from above the front surface, the first modulator and the second modulator operating at least partially simultaneously, and
a processor positioned in the housing and operatively connected with the display, wherein the processor is configured to:
calculate the first illuminance values based on the first signal obtained through the first modulator,
calculate the second illuminance values based on the second signal obtained through the second modulator,
determine that an ambient light source is a flickering light source based on the second illuminance values,
if obtaining display parameter information associated with an image output through the display, compensate for the first illuminance values based on the display parameter information and adjust a brightness value of the display based on the compensated first illuminance values, and
if failing to obtain the display parameter information, adjust the brightness value of the display based on the second illuminance values.
|