Abstract:
Various embodiments of the present disclosure relate to an apparatus and a method for controlling an optical sensor in an electronic device. The electronic device includes: a light emission element configured to emit light; a first light reception element configured to detect an intensity of light which is reflected from an object based on the light emitted by the light emission element; a second light reception element configured to detect a shape of the object using the light which is reflected from the object based on the light emitted by the light emission element; and a processor. The processor is configured to: control the light emission element to emit light with an intensity corresponding to an operation mode of the electronic device; and receive light which is reflected from the object via the first light reception element or the second light reception element based on the operation mode of the electronic device. Other embodiments are possible.
Abstract:
A method is provided for operating an electronic device. The method includes detecting an ultraviolet ray value through an ultraviolet ray detection sensor; acquiring an image including a sun object; comparing a position of the sun object within the acquired image to a position of a guide object; and correcting the detected ultraviolet ray value based on a difference between the position of the sun object and the position of the guide object
Abstract:
A electronic device and method are disclosed herein. The electronic device includes a display, a fingerprint recognition sensor configured to recognize a fingerprint received through the display, and a processor. The processor is configured to implement the method, which includes detecting a fingerprint using a fingerprint recognition sensor of the electronic device through a display of the electronic device; and controlling the display to display at least one object based on the fingerprint.
Abstract:
An electronic device and a method for controlling a gesture sensor of the same are provided. The electronic device includes a gesture sensor and a threshold determining module configured to receive a light amount measurement with respect to light incident to the gesture sensor, to compare the light amount measurement with a light amount reference value, and to determine a light amount threshold that is used based on object recognition of the gesture sensor by adding the weight value to the light amount measurement.
Abstract:
The present disclosure includes an electronic device and a method thereof. The electronic device includes a display, an ambient light sensor, and at least one processor, operatively connected to the display and the ambient light sensor. The at least one processor is configured to detect, by using the ambient light sensor, ambient light of the electronic device during a first duration in a state in which the display is turned off, identify a setting for being used for the ambient light sensor, based at least in part on a characteristic of the ambient light, detect, by using the ambient light sensor, ambient light of the electronic device during a second duration based at least in part on the identified setting, and control a function of the display, based at least in part on the characteristic of the ambient light detected during the second duration.
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.
Abstract:
Provided is a method for authenticating a user in an electronic device. In illustrative embodiments, a fingerprint input from the user is be detected by receiving detection signals for respective sample points across an area of the fingerprint input. A determination value may be computed, which represents a degree of distribution of the detection signals according to signal strengths. It is then determined whether the determination value falls outside a preset reference range. If the determination value falls outside the preset reference range, the method determines that the fingerprint input from the user is invalid.
Abstract:
An electronic device and method are disclosed herein. The electronic device includes a display, a fingerprint recognition sensor configured to recognize a fingerprint received through the display, and a processor. The processor is configured to implement the method, which includes detecting a fingerprint using a fingerprint recognition sensor of the electronic device through a display of the electronic device; and controlling the display to display at least one object based on the fingerprint.
Abstract:
The present disclosure includes an electronic device and a method thereof. The electronic device includes a display, an ambient light sensor, and at least one processor, operatively connected to the display and the ambient light sensor. The at least one processor is configured to detect, by using the ambient light sensor, ambient light of the electronic device during a first duration in a state in which the display is turned off, identify a setting for being used for the ambient light sensor, based at least in part on a characteristic of the ambient light, detect, by using the ambient light sensor, ambient light of the electronic device during a second duration based at least in part on the identified setting, and control a function of the display, based at least in part on the characteristic of the ambient light detected during the second duration.
Abstract:
A method and an electronic device for measuring illuminance are provided. An operating method of the electronic device includes identifying time intervals when a display of the electronic device operates in a deactivated state, and determining illuminance using at least one sensing value measured through an illuminance sensor during the identified time intervals. The illuminance sensor may be disposed under the display.