diff --git a/thermal/thermal_info_config_charge_husky.json b/thermal/thermal_info_config_charge_husky.json index bff051d..1ba87af 100644 --- a/thermal/thermal_info_config_charge_husky.json +++ b/thermal/thermal_info_config_charge_husky.json @@ -127,13 +127,23 @@ "Multiplier":1 }, { - "Name":"IS_WLC", + "Name":"WLC_CHECK", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["thb_hda"], - "Coefficient":[1], + "Combination":["thb_hda", "thb_hda"], + "Coefficient":[1, -51], + "Multiplier":1 + }, + { + "Name":"NO_WLC", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "Combination":["WLC_CHECK"], + "Coefficient":[-2], "Multiplier":1 }, { @@ -153,8 +163,9 @@ "VirtualSensor":true, "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"], "Formula":"WEIGHTED_AVG", - "Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"], - "Coefficient":[1.0, -1000000], + "Combination":["VIRTUAL-SKIN-CHARGE"], + "Coefficient":["NO_WLC"], + "CoefficientType": ["SENSOR"], "HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], "HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], "Multiplier":0.001, diff --git a/thermal/thermal_info_config_charge_shiba.json b/thermal/thermal_info_config_charge_shiba.json index ee18d02..08aaa96 100644 --- a/thermal/thermal_info_config_charge_shiba.json +++ b/thermal/thermal_info_config_charge_shiba.json @@ -160,13 +160,23 @@ "Multiplier":1 }, { - "Name":"IS_WLC", + "Name":"WLC_CHECK", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["thb_hda"], - "Coefficient":[1], + "Combination":["thb_hda", "thb_hda"], + "Coefficient":[1, -51], + "Multiplier":1 + }, + { + "Name":"NO_WLC", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "Combination":["WLC_CHECK"], + "Coefficient":[-2], "Multiplier":1 }, { @@ -186,8 +196,9 @@ "VirtualSensor":true, "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"], "Formula":"WEIGHTED_AVG", - "Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"], - "Coefficient":[1.0, -1000000], + "Combination":["VIRTUAL-SKIN-CHARGE"], + "Coefficient":["NO_WLC"], + "CoefficientType": ["SENSOR"], "HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], "HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], "Multiplier":0.001, diff --git a/thermal/thermal_info_config_husky.json b/thermal/thermal_info_config_husky.json index 6a94d17..e325805 100644 --- a/thermal/thermal_info_config_husky.json +++ b/thermal/thermal_info_config_husky.json @@ -717,13 +717,23 @@ "Multiplier":1 }, { - "Name":"IS_WLC", + "Name":"WLC_CHECK", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["thb_hda"], - "Coefficient":[1], + "Combination":["thb_hda", "thb_hda"], + "Coefficient":[1, -51], + "Multiplier":1 + }, + { + "Name":"NO_WLC", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "Combination":["WLC_CHECK"], + "Coefficient":[-2], "Multiplier":1 }, { @@ -743,8 +753,9 @@ "VirtualSensor":true, "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"], "Formula":"WEIGHTED_AVG", - "Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"], - "Coefficient":[1.0, -1000000], + "Combination":["VIRTUAL-SKIN-CHARGE"], + "Coefficient":["NO_WLC"], + "CoefficientType": ["SENSOR"], "HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], "HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], "Multiplier":0.001, diff --git a/thermal/thermal_info_config_shiba.json b/thermal/thermal_info_config_shiba.json index d1485a7..fd0e438 100644 --- a/thermal/thermal_info_config_shiba.json +++ b/thermal/thermal_info_config_shiba.json @@ -729,13 +729,23 @@ "Multiplier":1 }, { - "Name":"IS_WLC", + "Name":"WLC_CHECK", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["thb_hda"], - "Coefficient":[1], + "Combination":["thb_hda", "thb_hda"], + "Coefficient":[1, -51], + "Multiplier":1 + }, + { + "Name":"NO_WLC", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "Combination":["WLC_CHECK"], + "Coefficient":[-2], "Multiplier":1 }, { @@ -755,8 +765,9 @@ "VirtualSensor":true, "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"], "Formula":"WEIGHTED_AVG", - "Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"], - "Coefficient":[1.0, -1000000], + "Combination":["VIRTUAL-SKIN-CHARGE"], + "Coefficient":["NO_WLC"], + "CoefficientType": ["SENSOR"], "HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], "HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], "Multiplier":0.001,