Abstract:
A method for operating an electronic device including a sensor unit that uses infrared rays is provided. In the method, a light source is illuminated using at least one light emitting device. Whether the illuminated light source is received by a light receiving device including at least one light receiving channel is determined. A relevant function corresponding to an amount of light of the light source received by the at least one light receiving channel is performed.
Abstract:
An electronic device according to one example of the present invention comprises: a proximity sensor for generating proximity information on an object which approaches the electronic device; an iris sensor for detecting an iris; and a first processor for controlling the electronic device, wherein the first processor can be set to: determine the distance between the electronic device and the object on the basis of the proximity information generated by the proximity sensor; detect the iris by using the iris sensor when the distance between the electronic device and the object is greater than a first reference value; and inactivate the iris sensor when the distance between the electronic device and the object is less than or equal to the first reference value. In addition, other examples are possible.