Reduce temperature and charging throttling overshoots by fine-tuning PID
parameters.
Bug: 303547723
Test: boot and charging thermal throtlting worked properly.
Change-Id: Ief0aec34e05cc9639ae995e1a230228e7591cf36
Update vskin-open-sub-1 equation to have better correlation for safety
cases.
Bug: 322147413
Test: Push config and verify lshal
Change-Id: I338f4ddf289f9388c3601149bf22312a81f6af43
- Use dvt data to train the model
- Fall back to vskin-speaker-legacy:
- if all samples not collected
- if vskin-speaker-model temp < 20degC
- if vskin-speaker-model temp >= 57degC
- Add timeResolution to avoid duplicate readings issue.
Bug: 343157242
Test: Push config and tflite model to verify lshal and logcat
Change-Id: I2140a92ae3b19825ec9542e3ec65a365bec2e66f
Continue with existing model but with minor changes:
- Add max_sample_interval_ms
- Add backupSensor
- Add TimeResolution
Bug: 343189782
Test: Local push and verify logs
Change-Id: I31744360d6fcb21542139b78486a35324f5ce94a
Use thb_hda value to find charger type and split vskin-charge into
different categories on basis of charger type.
For each category if charger not active, store time in bucket 0 and if
active store residency in higher buckets.
Thresholds: [-200, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55]
Bug: 341872098
Test: Push locally and verify stats by connecting to different chargers
Change-Id: I15738686a0a6b263ab4b3f2caf1a22d7c31c4518
- Add residency monitoring for vskin-od by severity and by threshold as
[31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57]
- Update vskin-speaker model threshold to align with other vskin
thresholds.
- Add vskin-legacy and set vskin-legacy and vskin-model threshold also
to align with other thresholds.
Bug: 343098605
Test: Local push and verify lshal
Change-Id: I6fc484c20910a4faff8885d8b3d21d4b901b9823
Add a step ratio of 0.4 to vskin-speaker-model prediction.
This will help to:
- reduce the noise due to overfitting
- avoid sudden jump in temperature
Bug: 339522501
Test: Push to device and verify dumpsys and thermal log
Change-Id: Ia266e6135efca77e6dfee79b7111c9be1d53b67a
Since vskin-wired and vskin-wlc equation are different and both control
the same cooling device, add step ratio to ensure smooth transition when
user switches charging mode.
Bug: 331904373
Test: Push locally and verify thermal log
Change-Id: Ibda3e8dfd87dbb0bd5d72adef3cead51f48e45af
Enable undersampling for VSkin-Model adn VSkin-Speaker-Model, this will
enable to avoid unnecesary read temp fails when enough samples not
collected.
Bug: 338920071
Test: Push config and verify for thermal error logs
Change-Id: Ic8af11170c0273286068c12493615c4b838ecacc
Replacec cdevceiling and hardlimit information with freuqencies in
thermal config
Bug: 336698561
Test: Flash Build and boot to home, run adb dumpsys android.hardware.thermal.IThermal/default, check the cdevceiling and hardlimit number for gpu
Change-Id: I7b582b3d19ddea8c5c3a643d57972167ed5b6c87
Signed-off-by: Peter (YM) <peterym@google.com>
Test: Boot to home and flash on device
Bug: 330780045
Change-Id: I6deaa4de72d289468344c3312ac44e266e225883
Signed-off-by: Peter (YM) <peterym@google.com>
- Unhide VSkin-Model to ensure thermal recorder can log
- Reduce vskin-model-legacy-diff to align with other devices
- Remove model backupsensor, since model is not used for throttling
remove backup sensor to collect more field issues.
Bug: 315948438
Test: Push config and verify dumpsys
Change-Id: I4adfcb6a13c58b15f1d97b1130d4bc0f1776f235
tz_temp callback will invoke thermal_zone_device_update and return the
cached temp from thermal core. However, during device resume, the cached
temp may be reset to INVALID number before being returned.
So, change the reading path to upstream temp_show which will return the
temperature from thermistor driver directly.
Current Issue:
We are observing lot of extreme low temp for vskin being reported and
with all coefficients being positive the only way negative vskin is
reported is when thermistors report very low temp. Since abnormality
logging is rate limited this reduces the amount of ml model issues
reported.
Bug: 323987378
Test: Local build and verify lshal
Change-Id: I2445f9d654c2a86c9507bf1654dc44f3b765c889
Hide the subsensor USB-MINUS-CHARGER.
Bug: 303547449
Test: Local build, verify no thermal error logs and lshal.
Change-Id: Ia3b09b6c33191fde861c3861d5d159be285a200a
- Add vskin-model.
- Rename existing vskin to vskin-legacy.
- Add input validation for model and fallback on vskin-legacy for
vskin-model.
- Add abnormality and residency stats for vskin model.
Bug: 315948438
Test: Local build and verify lshal and thermal logcat.
Change-Id: I3930939b9ed3777ed6eb5bce745c9f099f639fb1
Update the formula for L/R brightness compensation.
Bug: 309716793
Test: Load config and veirfy thermal log and lshal
Change-Id: I33c0054b19197b4fa7f298090d6b2c2acb1f076f
Remove the below power rails as they're going to be replaced with
different ones for better ODPM coverage.
- S8S_VDD_G3D_L2
- L9S_GNSS_CORE
Bug: 331556280
Test: Push config and verify thermal logs
Change-Id: Ic5c6cb7c4ddae258c89cbe3cb50a104f7044e016
- Update WLC moderate threshold from 38 to 41.
- Update rule to identify WLC scneario (acc to pa/2736243).
- Update WLC equation to latest equation.
- Keep inital vskin-charge equation as vskin-charge persist.
- lower charger_threm trigger point to align with vskin-charge persist
trigger temp.
- Set vskin-charge-persist as vskin-wlc if current state is wlc else set
to vskin-wired.
- to ensure vskin wired status is recorded, unhide is_wlc, vskin-wired
and vskin-charge-persist.
Bug: 303547723
Test: Boot to home and check logs
Change-Id: I1b86b3c15caca6353447c76f2f72bb7c18cccfd6
Update the trigger sensors and equation for virtual-skin.
Bug: 303547449
Test: Local build, verify no thermal error logs and lshal.
Change-Id: I72677b58a4c4e29f4cd5e95b98691e4e1efb0fdc
Inefficient OPPs were removed for the LITTLE cores from em table.
This change is to update the cdev ceilings in thermal policy to reflect
the EM changes
Bug: 331397497
Test: Build and boot on device.
Change-Id: I770b4495715a8da8e90248c0df043d2aa489c8d4
We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so remove the CPU thermal policy at lower
temperature to avoid the interfence on CPU scheduler.
Bug: 329697728
Test: Build and verify behavior by sending powerhint
Change-Id: Ida42089c9752ce03875da9f390cc6d4a360151d8
Signed-off-by: Peter (YM) <peterym@google.com>
To monitor and verify the feature of "sensor name based brightness
throttling", add VIRTUAL-SKIN-OUTER-DISPLAY of type DISPLAY.
But to ensure no regression, set its equation to be same as VIRTUAL-SKIN
and in future once verified we can update the equation.
Bug: 326615866
Test: Local build and verify thermal logs
Change-Id: I370990837911ab4b733aa9adca624ff1788f9500
Update emergency and shutdown threshold values to align with previous
generation foldable device.
Bug: 303547512
Bug: 322147413
Test: Build and verify lshal and use emul_temp to trigger shutdown
Change-Id: I3229de36dafcff7fdb29a6f1dd014bd49324c285
This reverts commit fb839117d6.
Reason for revert: Probable culprit for b/326235335. Will be verifying through ABTD for confirmation and before submitting the revert.
Change-Id: Ie82a56007090386c5f4425b3495fc8ccfdfc884c
Update emergency and shutdown threshold values to align with previous
generation foldable device.
Bug: 303547512
Bug: 322147413
Test: Build and verify lshal and use emul_temp to trigger shutdown
Change-Id: Ia98dc74d5964868fa893ef1badfe0f5e37093e40
To Align with latest GPU available frquencies
Bug: 318313844
Test: run gpu stress test
Change-Id: I5260ee09877f9e4167535baa09ebc8d091587007
Signed-off-by: Peter (YM) <peterym@google.com>
The battery_mitigation takes over the brownout event
and informs subsystems to do mitigation.
Bug: 319285945
Change-Id: I6b318197a5248470cce670747393f67663689487
Signed-off-by: samou <samou@google.com>
Add LEFT-INNER-DISPLAY, RIGHT-INNER-DISPLAY virtual sensors.
Add INNER-DISPLAY-DIFF (diff of right - left) virtual sensor.
The INNER-DISPLAY-DIFF sensor will be used for inner display thermal
compensation.
Bug: 309716793
Test: Push config to device and verify thermal log and lshal
Change-Id: I4f7fbb2006b84dd6ab945d0de94f5d5ca2ffcd49
Add service which will device thermal config on basis of following
conditions:
- No display panel / proto, use thermal_info_config_proto
Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
2023-12-18 19:28:00 +08:00
Renamed from thermal_info_config_comet.json (Browse further)