pass-hal: tm1: Add support of 'thermal monitor' property 74/174774/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181106.202617 accepted/tizen/unified/20180410.063600 submit/tizen/20180409.024353 submit/tizen_5.0/20181101.000001 submit/tizen_5.0/20181106.000001
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 16 Mar 2018 08:41:09 +0000 (17:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 4 Apr 2018 06:04:02 +0000 (15:04 +0900)
TM1 supports the following four scenarios. Each thermal scenario
has their own unique name, limited temperature and timer interval.
- ReleaseAction
- WarningAction
- LimitAction
- ShutdownAction

Change-Id: Idec94beeb43e3b47c6aca19bcc0b8655243c8004
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass-resource0.conf

index 6f9f9b0cdfd0fe78c6015c8c29a9dcfce594e58a..45b6c69c86695fe71740e75a99fcff682f978d7f 100644 (file)
@@ -53,3 +53,41 @@ support=yes
 
 min_level=1
 max_level=1
+
+########################
+### Thermal Monitor  ###
+########################
+
+# Following action name are defiend on Tizen platform.
+# The 'temperature' of thermal.scenario must be defined in descending order.
+# If you change the following name, doesn't guarantee the compatibility.
+# - ReleaseAction, WarningAction, LimitAction, ShutdownAction
+
+[thermal]
+thermal_support=yes
+thermal_number_of_scenario=4
+thermal_timer_interval_ms=10000
+
+[thermal.scenario0]
+support=yes
+name=ReleaseAction
+temperature=70
+timer_interval_ms=10000
+
+[thermal.scenario1]
+support=no
+name=WarningAction
+temperature=73
+timer_interval_ms=5000
+
+[thermal.scenario2]
+support=yes
+name=LimitAction
+temperature=75
+timer_interval_ms=3000
+
+[thermal.scenario3]
+support=yes
+name=ShutdownAction
+temperature=85
+timer_interval_ms=1000