Abstract:
An electronic device comprising: a memory; a headphone jack; and at least one processor operatively coupled to the memory, configured to: detect an impedance of a first portion of the headphone jack; and detect whether a foreign substance is present in the headphone jack based on the impedance of the first portion of the headphone jack.
Abstract:
A method for operation of an electronic device and an electronic device are provided. The method includes determining if an object is detected at a first terminal and a second terminal among a plurality of terminals of an ear jack. If the object is detected, the impedance of the second terminal is calculated, and a type of the object is determined according to the calculated impedance.
Abstract:
Various embodiments of the present disclosure provide an electronic device of a metal member and a method therefor. The electronic device includes: a memory; an abnormality detection circuit; and a processor functionally connected with the memory or the abnormality detection circuit, wherein the processor is configured to detect whether there is an abnormality in an electric shock prevention circuit or whether a leakage path is formed from a ground of the electronic device to the metal member by using the abnormality detection circuit, and to control charging a battery of the electronic device according to whether there is the abnormality in the electric shock prevention circuit or whether the leakage path is formed. Other embodiments are possible.
Abstract:
Disclosed is an electronic device includes a housing, a display within the housing, and exposed through a surface of the housing, a light emitting unit and a light receiving unit within the housing, and a processor electrically coupled with the display, the light emitting unit and the light receiving unit. The light emitting unit includes at least one light source for outputting light of at least one wavelength band. The light receiving unit includes at least one region for receiving the light of the at least one wavelength band. The processor is configured to control a function of the light emitting unit and/or the light receiving unit based on at least one mode. Other embodiments are disclosed.
Abstract:
An apparatus and method for obtaining biometric information in an electronic device are provided. The electronic device includes a display comprising one or more pixels, the one or more pixels including a first sub pixel, a second sub pixel, and a third sub pixel, and one or more sensors configured to obtain biometric information about an external object, and a processor. The processor is configured to cause the electronic device to: identify first biometric information and second biometric information from the biometric information, and output light having first properties through a first pixel set corresponding to the first biometric information, and obtain the first biometric information using the one or more sensors, and output light having second properties through a second pixel set corresponding to the second biometric information, and obtain the second biometric information using the one or more sensors.
Abstract:
Disclosed is an electronic device and a method for sensing proximity in an electronic device, which reduces an error in sensing a proximity distance by considering a color of an object when sensing the proximity distance to the object based on an amount of light reflected from the object.
Abstract:
A method for operation of an electronic device and an electronic device are provided. The method includes determining if an object is detected at a first terminal and a second terminal among a plurality of terminals of an ear jack. If the object is detected, the impedance of the second terminal is calculated, and a type of the object is determined according to the calculated impedance.
Abstract:
A method for operation of an electronic device and an electronic device are provided. The method includes determining if an object is detected at a first terminal and a second terminal among a plurality of terminals of an ear jack. If the object is detected, the impedance of the second terminal is calculated, and a type of the object is determined according to the calculated impedance.
Abstract:
The present disclosure relates to an apparatus for preventing noise in an electronic device. An apparatus for preventing noise in an electronic device includes a microphone unit including a microphone, the microphone unit connected to a first power terminal and a second power terminal, and a switch unit including at least one switch and at least one resistance, the switch unit connected to the first power terminal and the microphone in series.
Abstract:
A method for operation of an electronic device and an electronic device are provided. The method includes determining if an object is detected at a first terminal and a second terminal among a plurality of terminals of an ear jack. If the object is detected, the impedance of the second terminal is calculated, and a type of the object is determined according to the calculated impedance.