{
    "Sensors": [
        {
            "Name": "battery",
            "Type": "BATTERY",
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "60.0"],
            "Multiplier": 0.001
        },
        {
            "Name": "battery_cycle",
            "Type": "BCL_VOLTAGE"
        },
        {
            "Name": "maxfg_base",
            "Type": "UNKNOWN",
            "Multiplier": 0.001
        },
        {
            "Name": "soc",
            "Type": "BCL_PERCENTAGE",
            "HotThreshold": ["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
            "Multiplier": 1
        },
        {
            "Name": "BCL_AUDIO_BAACL",
            "Type": "BCL_VOLTAGE",
            "VirtualSensor": true,
            "Formula": "COUNT_THRESHOLD",
            "TriggerSensor": "soc",
            "Combination": ["battery", "soc"],
            "Coefficient": [-25000, 80],
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
            "PollingDelay": 0,
            "PassiveDelay": 1000,
            "Multiplier": 1,
            "SendCallback": true
        },
        {
            "Name": "soc_therm",
            "Type": "UNKNOWN",
            "TempPath": "/dev/thermal/tz-by-name/soc_therm/tz_temp",
            "Multiplier": 0.001
        },
        {
            "Name": "rffe_therm",
            "Type": "UNKNOWN",
            "TempPath": "/dev/thermal/tz-by-name/rffe_therm/tz_temp",
            "Multiplier": 0.001
        },
        {
            "Name": "modem_therm",
            "Type": "UNKNOWN",
            "TempPath": "/dev/thermal/tz-by-name/modem_therm/tz_temp",
            "Multiplier": 0.001
        },
        {
            "Name": "gnss_tcxo_therm",
            "Type": "UNKNOWN",
            "TempPath": "/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
            "Multiplier": 0.001
        },
        {
            "Name": "usb_conn_therm",
            "Type": "UNKNOWN",
            "HotThreshold": ["NAN", 30.79, "NAN", "NAN", "NAN", "NAN", "NAN"],
            "TempPath": "/dev/thermal/tz-by-name/usb_conn_therm/tz_temp",
            "Multiplier": 0.001,
            "PollingDelay": 300000,
            "PassiveDelay": 7000
        },
        {
            "Name": "charger_therm",
            "Type": "UNKNOWN",
            "HotThreshold": ["NAN", 34.89, "NAN", "NAN", "NAN", "NAN", "NAN"],
            "TempPath": "/dev/thermal/tz-by-name/charger_therm/tz_temp",
            "Multiplier": 0.001,
            "PollingDelay": 300000,
            "PassiveDelay": 7000
        },
        {
            "Name": "VIRTUAL-SKIN",
            "Type": "SKIN",
            "Version": "0.1",
            "VirtualSensor": true,
            "TriggerSensor": "charger_therm",
            "Formula": "WEIGHTED_AVG",
            "Combination": ["soc_therm", "rffe_therm", "modem_therm"],
            "Coefficient": [0.223, 0.175, 0.493],
            "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 100.0, 140.0],
            "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
            "Offset": 2631,
            "Multiplier": 0.001,
            "PollingDelay": 300000,
            "PassiveDelay": 7000,
            "SendCallback": true,
            "BindedCdevInfo": [
                {
                    "CdevRequest": "tpu_cooling",
                    "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
                },
                {
                    "CdevRequest": "gxp-cooling",
                    "LimitInfo": [0, 0, 0, 0, 0, 99, 99]
                }
            ]
        },
        {
            "Name": "VIRTUAL-SKIN-HINT",
            "Type": "UNKNOWN",
            "Hidden": true,
            "VirtualSensor": true,
            "TriggerSensor": "charger_therm",
            "Formula": "MAXIMUM",
            "Combination": ["VIRTUAL-SKIN"],
            "Coefficient": [1.0],
            "HotThreshold": ["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0],
            "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
            "Multiplier": 0.001,
            "SendPowerHint": true,
            "PollingDelay": 300000,
            "PassiveDelay": 7000
        },
        {
            "Name": "cellular-emergency",
            "Type": "POWER_AMPLIFIER",
            "VirtualSensor": true,
            "TriggerSensor": "charger_therm",
            "Formula": "MAXIMUM",
            "Combination": ["VIRTUAL-SKIN"],
            "Coefficient": [1.0],
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", 138.0, "NAN"],
            "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
            "Multiplier": 0.001,
            "PollingDelay": 300000,
            "PassiveDelay": 7000,
            "SendCallback": true
        },
        {
            "Name": "VIRTUAL-SKIN-CHARGE",
            "Type": "UNKNOWN",
            "Version": "0.1",
            "VirtualSensor": true,
            "TriggerSensor": "charger_therm",
            "Formula": "MAXIMUM",
            "Combination": ["VIRTUAL-SKIN"],
            "Coefficient": [1.0],
            "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,
            "PollingDelay": 300000,
            "PassiveDelay": 7000,
            "PIDInfo": {
                "K_Po": ["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
                "K_Pu": ["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
                "K_I": ["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"],
                "K_D": ["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
                "I_Max": ["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"],
                "S_Power": ["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"],
                "MinAllocPower": ["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
                "MaxAllocPower": ["NAN", "NAN", 6219, "NAN", "NAN", "NAN", "NAN"],
                "I_Cutoff": ["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
                "I_Default": 1302
            },
            "ExcludedPowerInfo": [
                {
                    "PowerRail": "PARTIAL_SYSTEM_POWER",
                    "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24]
                }
            ],
            "BindedCdevInfo": [
                {
                    "CdevRequest": "chg_mdis",
                    "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
                    "MaxReleaseStep": 1,
                    "MaxThrottleStep": 1,
                    "CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
                    "LimitInfo": [0, 0, 1, 1, 1, 26, 26]
                }
            ]
        },
        {
            "Name": "VIRTUAL-SKIN-SPEAKER",
            "Type": "UNKNOWN",
            "Version": "0.1",
            "VirtualSensor": true,
            "TriggerSensor": "usb_conn_therm",
            "Formula": "WEIGHTED_AVG",
            "Combination": ["usb_conn_therm", "maxfg_base"],
            "Coefficient": [0.89, 0.01],
            "HotThreshold": ["NAN", 37.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
            "HotHysteresis": [0.0, 1.9, 0.0, 0.0, 0.0, 0.0, 0.0],
            "Offset": 8426,
            "Multiplier": 0.001,
            "PollingDelay": 300000,
            "PassiveDelay": 7000,
            "SendCallback": true
        },
        {
            "Name": "USB-MINUS-CHARGER",
            "Type": "UNKNOWN",
            "VirtualSensor": true,
            "TriggerSensor": "usb_conn_therm",
            "Formula": "WEIGHTED_AVG",
            "Combination": ["usb_conn_therm", "charger_therm"],
            "Coefficient": [1.0, -1.0],
            "Multiplier": 0.001
        },
        {
            "Name": "VIRTUAL-USB-THROTTLING",
            "Type": "USB_PORT",
            "Version": "0.1",
            "VirtualSensor": true,
            "Formula": "COUNT_THRESHOLD",
            "TriggerSensor": "usb_conn_therm",
            "Combination": ["usb_conn_therm", "USB-MINUS-CHARGER"],
            "Coefficient": [46000, 7000],
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
            "BindedCdevInfo": [
                {
                    "CdevRequest": "usbc-port",
                    "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
                }
            ],
            "Multiplier": 1,
            "PollingDelay": 300000,
            "PassiveDelay": 7000
        },
        {
            "Name": "VIRTUAL-USB-UI",
            "Type": "USB_PORT",
            "Version": "0.1",
            "VirtualSensor": true,
            "Formula": "COUNT_THRESHOLD",
            "TriggerSensor": "usb_conn_therm",
            "Combination": ["usb_conn_therm", "USB-MINUS-CHARGER"],
            "Coefficient": [46000, 10000],
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
            "Multiplier": 1,
            "SendCallback": true,
            "PollingDelay": 300000,
            "PassiveDelay": 7000
        },
        {
            "Name": "LEFT-INNER-DISPLAY",
            "Type": "UNKNOWN",
            "Hidden": true,
            "VirtualSensor": true,
            "Formula": "WEIGHTED_AVG",
            "Combination": ["usb_conn_therm"],
            "Coefficient": [0.561],
            "Offset": 10729,
            "Multiplier": 0.001
        },
        {
            "Name": "RIGHT-INNER-DISPLAY",
            "Type": "UNKNOWN",
            "Hidden": true,
            "VirtualSensor": true,
            "Formula": "WEIGHTED_AVG",
            "Combination": ["soc_therm"],
            "Coefficient": [0.799],
            "Offset": 1620,
            "Multiplier": 0.001
        },
        {
            "Name": "INNER-DISPLAY-DIFF",
            "Type": "UNKNOWN",
            "VirtualSensor": true,
            "Formula": "WEIGHTED_AVG",
            "Combination": ["RIGHT-INNER-DISPLAY", "LEFT-INNER-DISPLAY"],
            "Coefficient": [1.0, -1.0],
            "Multiplier": 0.001
        },
        {
            "Name": "LITTLE",
            "Type": "CPU",
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
            "VrThreshold": "NAN",
            "Multiplier": 0.001
        },
        {
            "Name": "MID",
            "Type": "CPU",
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
            "VrThreshold": "NAN",
            "Multiplier": 0.001
        },
        {
            "Name": "BIG",
            "Type": "CPU",
            "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", "NaN", "NaN"],
            "Multiplier": 0.001
        },
        {
            "Name": "G3D",
            "Type": "GPU",
            "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
            "VrThreshold": "NAN",
            "Multiplier": 0.001
        },
        {
            "Name": "TPU",
            "Type": "NPU",
            "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", "NaN", "NaN"],
            "Multiplier": 0.001
        }
    ],
    "CoolingDevices": [
        {
            "Name": "thermal-cpufreq-0",
            "Type": "CPU",
            "WritePath": "/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
        },
        {
            "Name": "thermal-cpufreq-1",
            "Type": "CPU",
            "WritePath": "/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
        },
        {
            "Name": "thermal-cpufreq-2",
            "Type": "CPU",
            "WritePath": "/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
        },
        {
            "Name": "thermal-gpufreq-0",
            "Type": "GPU",
            "WritePath": "/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
        },
        {
            "Name": "chg_mdis",
            "Type": "BATTERY"
        },
        {
            "Name": "usbc-port",
            "Type": "BATTERY"
        },
        {
            "Name": "tpu_cooling",
            "Type": "NPU",
            "WritePath": "/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
        },
        {
            "Name": "gxp-cooling",
            "Type": "NPU",
            "WritePath": "/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
        }
    ],
    "PowerRails": [
        {
            "Name": "PARTIAL_SYSTEM_POWER",
            "VirtualRails": true,
            "Formula": "WEIGHTED_AVG",
            "Combination": [
                "S1S_VDD_CAM",
                "S4S_VDD2H_MEM",
                "S5S_VDDQ_MEM",
                "S9S_VDD_AOC",
                "L2S_PLL_MIPI_UFS",
                "L21S_VDD2L_MEM",
                "VSYS_PWR_DISPLAY",
                "VSYS_PWR_WLAN_BT",
                "S1M_VDD_MIF",
                "S5M_VDD_INT",
                "S6M_LLDO1",
                "S7M_VDD_TPU",
                "S8M_LLDO2",
                "VSYS_PWR_MODEM"
            ],
            "Coefficient": [
                1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
            ],
            "PowerSampleDelay": 7000,
            "PowerSampleCount": 5
        }
    ]
}
