mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 07:33:36 +00:00
thermal: add throttling notification rules to thermal-engine configs
Add monitor algorithms for the temperatures covered by throttling rules to the VR-mode and non-VR-mode thermal-engine.conf files, with "report" actions that send event notifications to the Android framework. Bug: 30982366 Test: manual on walleye (with artifically low threshold) Change-Id: I33ff9c44c684640f4af960a53533717d02506814
This commit is contained in:
@@ -13,5 +13,5 @@ sensor back_therm
|
|||||||
sampling 1000
|
sampling 1000
|
||||||
thresholds 52000
|
thresholds 52000
|
||||||
thresholds_clr 48000
|
thresholds_clr 48000
|
||||||
actions cluster0+cluster1+gpu+battery
|
actions cluster0+cluster1+gpu+battery+report
|
||||||
action_info 883200+902400+342000000+3
|
action_info 883200+902400+342000000+3+1
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ sampling 2000
|
|||||||
sensor back_therm
|
sensor back_therm
|
||||||
thresholds 50000 52000 54000
|
thresholds 50000 52000 54000
|
||||||
thresholds_clr 49000 51000 53000
|
thresholds_clr 49000 51000 53000
|
||||||
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
|
actions cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report
|
||||||
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
|
action_info 1094400+1190400+414000000+1 883200+902400+342000000+1 300000+300000+257000000+1
|
||||||
|
|
||||||
[BATTERY-MONITOR]
|
[BATTERY-MONITOR]
|
||||||
algo_type monitor
|
algo_type monitor
|
||||||
@@ -76,3 +76,12 @@ thresholds 56000
|
|||||||
thresholds_clr 55000
|
thresholds_clr 55000
|
||||||
actions shutdown
|
actions shutdown
|
||||||
action_info 1
|
action_info 1
|
||||||
|
|
||||||
|
[THROTTLING-NOTIFY]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor back_therm
|
||||||
|
thresholds 40000
|
||||||
|
thresholds_clr 39000
|
||||||
|
actions report
|
||||||
|
action_info 1
|
||||||
|
|||||||
Reference in New Issue
Block a user