ELECTRONIC DEVICE INCLUDING PROXIMITY SENSOR HAVING A PLURALITY OF LIGHT RECEIVING ELEMENTS AND METHOD OF CONTROLLING THE SAME
Abstract:
An electronic device may include: a display having at least one hole disposed in at least a part thereof such that light from the outside can be transmitted therethrough; a light-emitting element disposed under the display and configured to output a first infrared ray to the outside; a first light-receiving element disposed under the display at a position corresponding to the at least one hole, and configured to receive a second infrared ray transmitted from the outside; a second light-receiving element disposed under the display at a position where light from the outside is shielded; and at least one processor configured to, based on that a first sensing value according to the second infrared ray, output from the first light-receiving element, satisfies a first specified condition, while the first infrared ray is output: based on that a second sensing value output from the second light-receiving element does not satisfy a second specified condition, identify that a proximate object exists, and based on that the second sensing value satisfies the second specified condition, identify that the proximate object does not exist.
Information query
Patent Agency Ranking
0/0