Patent ID: 11326939

Abstract:
Various embodiments of the present invention relate to: an electronic device capable of measuring illuminance by using an optical sensor and providing information on the measured illuminance to a user; and an operating method therefor. The electronic device according to various embodiments of the present invention comprises: a light emitting unit; a sensor having a light receiving unit; and a processor, wherein the processor is set so as to: sense a first illuminance outside the electronic device by using the sensor; emit light by using the light emitting unit when the first illuminance belongs to a predetermined range; confirm whether an external object is nearby by using the sensor based on at least the light emitted using the light emitting unit; determine the first illuminance as the illuminance outside the electronic device when the external object is not nearby; and estimate a second illuminance corresponding to the first illuminance by using a selected method based on at least context information related to the electronic device when the external object is nearby.