×

Method of dynamically adjusting threshold values and related electronic device

  • US 9,362,907 B2
  • Filed: 11/29/2011
  • Issued: 06/07/2016
  • Est. Priority Date: 12/01/2010
  • Status: Active Grant
First Claim
Patent Images

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;

    setting the high threshold as the base proximity value by adjusting with a high value and setting the low threshold value as the base proximity value by adjusting with a low value; and

    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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×