thermal: enable monitor mode on vdroop
Change smpl_gm triggered to vdroop triggered. Bug: 170304779 Test: Local Test Signed-off-by: George Lee <geolee@google.com> Change-Id: I90b9849be74500fb0d4d072301e3c357cf9838fc
This commit is contained in:
parent
cd374d8ea9
commit
c761b412d4
4 changed files with 140 additions and 12 deletions
|
@ -300,16 +300,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "smpl_gm",
|
"TriggerSensor": "vdroop1",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"smpl_gm"
|
"vdroop1"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1400"
|
"1200"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -341,6 +341,38 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop1",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop2",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
|
@ -300,16 +300,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "smpl_gm",
|
"TriggerSensor": "vdroop1",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"smpl_gm"
|
"vdroop1"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1400"
|
"1200"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -341,6 +341,38 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop1",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop2",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
|
@ -107,16 +107,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "smpl_gm",
|
"TriggerSensor": "vdroop1",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"smpl_gm"
|
"vdroop1"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1400"
|
"1200"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -148,6 +148,38 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop1",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop2",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
|
@ -107,16 +107,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "smpl_gm",
|
"TriggerSensor": "vdroop1",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"smpl_gm"
|
"vdroop1"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1400"
|
"1200"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -148,6 +148,38 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop1",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"vdroop2",
|
||||||
|
"Type":"BCL_VOLTAGE",
|
||||||
|
"HotThreshold":[
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
"NAN",
|
||||||
|
1200,
|
||||||
|
"NAN",
|
||||||
|
"NAN"
|
||||||
|
],
|
||||||
|
"VrThreshold":"NAN",
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue