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
1) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR-BC to 1497600
2) Raise SKIN-LOW-FLOOR-BC set_point to 47 degreeC
3) Add back the most aggresive throttling at 54 degreeC
4) Add charging current throttling for both normal and vr mode
Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: Ibcd5bae397abcf9dc9b4c73244ff2d30c77fcbd5
For normal mode, use device_max_limit as recommended by QC
("device_perf_floor is used for chipsets with shared voltage rail
between silver and gold (e.g. 8996/8996pro)
device_max_limit is used for chipsets that have split rail
architecture (i.e. one voltage rail per cluster, 8998, 8994").
For VR mode, add an aggressive throttle just before shutdown.
Bug: 36458508
Test: Booted, checked throttling with adjusted temps
Change-Id: Ie8c3c7d550f1a108fbd268fefed4c53708deeb03