CPC G06F 1/206 (2013.01) [G06F 1/08 (2013.01); G06F 1/1616 (2013.01); G06F 1/1641 (2013.01); G06F 1/1652 (2013.01); G06F 1/1677 (2013.01); G06F 1/3206 (2013.01); G06F 1/324 (2013.01); H04M 2250/12 (2013.01); Y02D 10/00 (2018.01)] | 19 Claims |
1. An electronic device comprising:
a temperature sensor;
at least one processor; and
memory storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to:
determine a distance between a user's contact position with respect to the electronic device and a position at which the at least one processor is positioned in the electronic device;
adjust a first temperature threshold value based on the determined distance, wherein the first temperature threshold value is lower according to a decrease in the determined distance and higher according to an increase in the determined distance;
based on a temperature value detected by the temperature sensor exceeding the adjusted first temperature threshold value, determine whether a condition is satisfied, the condition being related to at least one of a flexible state of the electronic device, or whether a cover case is mounted on the electronic device, or the distance between the user's contact position and the position at which the at least one processor is positioned;
based on the condition being satisfied, operate according to a first clock level corresponding to the temperature value for heating control; and
based on the condition not being satisfied, operate according to a second clock level higher than the first clock level.
|