| CPC H04M 1/72412 (2021.01) [G01S 13/04 (2013.01); H04M 1/72448 (2021.01)] | 20 Claims |

|
1. A method performed by a primary electronic device comprising:
performing a first ranging measurement with a secondary electronic device to obtain a first range value;
based on the first range value being within a presence threshold, determining that a proximity state for the primary electronic device is a near state indicating that the secondary electronic device is near the primary electronic device;
turning on a functional state of the primary electronic device based on the secondary electronic device being in the near state;
selecting an initial value for an absence threshold for determining when the proximity state of the secondary electronic device is a far state;
until the absence threshold is exceeded:
performing a second ranging measurement between the primary electronic device and the secondary electronic device to obtain a second range value;
comparing the second range value to the absence threshold; and
determining whether the second range value exceeds the absence threshold based on the comparison to the absence threshold;
updating the proximity state of the primary electronic device from the near state to the far state based on the second range value exceeding the absence threshold; and
turning off the functional state of the primary electronic device based on the secondary electronic device being in the far state.
|