Patent ID: 9362907
Filing Date: 2016-06-07
CPC Classification: H03K

Claim Text:
1. A method of adjusting an electronic device having a processing unit and a sensor sensing proximity of an object, the method comprising: setting a base proximity value to a maximum value in a mapping table by the processing unit; when a call is received or conducted by the electronic device, enabling a proximity function of the sensor by the processor and generating a detected proximity value by the sensor according to the proximity of the object to the sensor, after enabling the sensor; determining a first range from the mapping table according to the detected proximity value by the processing unit; setting the base proximity value to a largest value of the first range by the processing unit; determining a high threshold value and a low threshold value according to the base proximity value by the processing unit comprising: determining whether the proximity function of the sensor is disabled, wherein if the proximity function of the sensor is not disabled, the above steps are performed again, wherein if the proximity function of the sensor is disabled, resetting the base proximity value, the low threshold and the low threshold to default values.