- Warning temparature is 75. If the temparature is
changed to 85 or more, that is the critical status.
Change-Id: I4a99b332c23db2be4c0532603ff166d778fecca2
Signed-off-by: taeyoung <ty317.kim@samsung.com>
_I("AP temparature(%d)", value);
- if (value < 30) {
- info->state = THERMAL_STATE_LOW;
- info->level = THERMAL_LEVEL_NORMAL;
- return 0;
- }
-
- if (value < 40) {
+ if (value < 75) {
info->state = THERMAL_STATE_NORMAL;
info->level = THERMAL_LEVEL_NORMAL;
return 0;
info->state = THERMAL_STATE_HIGH;
- if (value < 42)
+ if (value < 85)
info->level = THERMAL_LEVEL_WARNING;
- else if (value < 43)
+ else if (value < 100)
info->level = THERMAL_LEVEL_CRITICAL;
else
info->level = THERMAL_LEVEL_POWEROFF;