pass-hal: tm1: Update temperature property 45/264245/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093829 accepted/tizen/unified/20210926.235746 submit/tizen/20210924.100744 submit/tizen_6.5/20211028.161601 tizen_6.5.m2_release
authorDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 14 Sep 2021 08:14:18 +0000 (17:14 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 15 Sep 2021 03:33:40 +0000 (12:33 +0900)
Since pass core is changed to handle temperature property with range
value, it should be updated as using object which has start and end
values. Optionally, temperature object can have threshold  used for
preserving upper level policies until temperature is down enoughly.

Change-Id: Ida5a7a1492a1b2693fbb7a7b1e8d8f5063abfa4e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
scripts/pass-resource0.json

index 26a7ea7f8f109c9bf8661349fa660eac06e97b46..a6a29f93d5761d83b35aa65b348cb8d66e7587d1 100644 (file)
        [
                {
                        "name"                  : "Release",
-                       "temperature"           : 70,
+                       "temperature"           : { "start": 0, "end": 73 },
                        "timer_interval_ms"     : 10000,
                        "target_level"          : 0
                }, {
                        "name"                  : "Warning",
-                       "temperature"           : 73,
+                       "temperature"           : { "start": 73, "end": 75 },
                        "timer_interval_ms"     : 5000,
                        "target_level"          : 0
                }, {
                        "name"                  : "LimitAction",
-                       "temperature"           : 75,
+                       "temperature"           : { "start": 75, "end": 85 },
                        "timer_interval_ms"     : 3000,
                        "target_level"          : 3
                }, {
                        "name"                  : "Shutdown",
-                       "temperature"           : 85,
+                       "temperature"           : { "start": 85, "end": 100 },
                        "timer_interval_ms"     : 1000,
                        "target_level"          : 3
                }