Commit Graph

8 Commits

Author SHA1 Message Date
Todd Poynor
05abc505c6 thermal: report throttling to Android thermalservice
Add "report" actions to throttling rules of algorithm type
"monitor", or add monitor rule covering throttling range, to send
throttling events to Android thermalservice.

Bug: 30982366
Test: manual on taimen (with artificially low thresholds)
Change-Id: Ib1bf8a148ef2ec654e7a238868d349859f197cb4
2017-09-19 16:38:07 +00:00
Jia-yi Chen
b7fa5f9438 thermal-engine: Update policies for taimen
1) Update applies to EVT2.2 and beyond
2) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR2 to 1497600
3) Raise SKIN-LOW-FLOOR2 set_point to 45 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: I0c10bb36717194aa0f0ac841d1a910eaa634e0c5
2017-07-24 13:35:00 -07:00
John Dias
4e5076133b thermal-engine.conf: add config for new back thermistor
Newer revisions of hardware have changed the placement
of the bd_therm thermistor. To allow software to work
on both old and new hardware, we've renamed that thermistor
to bd_therm on the new hardware, which requires a new
set of throttling constraints using that thermistor.

Bug: 63344220
Test: booted old and new hardware, checked configs,
      and verified that throttling happened at the right
      temps according to the thermistors
Change-Id: I9639142551a8fc1dcbe65559045ae40b2ace5537
2017-07-07 09:35:08 -07:00
John Dias
6b5c4e3b4d Make thermal throttling more aggressive
For normal mode, make throttling more aggressive on Taimen,
in line with tuning on our other devices.
For VR mode, add an aggressive throttle just before shutdown.

Bug: 36458508
Bug: 37544246
Test: Booted, checked throttling with adjusted temps
Change-Id: Ia192535ed305cd6e8e1fbae4c53a7b4b7e3e8c23
2017-07-05 13:47:38 -07:00
Jia-yi Chen
1a90278fed Use bd_therm for thermal throttling
Test: boot & check logcat
Change-Id: Ia10adc2f3ea3f8da377804f0a2d5accf0afd9c8b
2017-06-06 17:07:17 -07:00
Wei Wang
30ed97c4bd taimen: modify pm8998 amux name
Test: build
Change-Id: Ie01b40d88590c44809aa7ad46b68216e43eb4849
2017-05-09 12:18:33 -07:00
Wei Wang
2885b68e2c Interim thermal config to avoid extreme hot cases
Bug: 37544246
Test: Build

Change-Id: I275dde433e91032b9cad54e8858a4a559e09570e
2017-05-04 14:56:53 -07:00
Wei Wang
6961529a06 Split VR thermal config
Bug: 36514493
Test: thermal config changed enter/exit VR mode in muskie
Change-Id: Ic0f3433f2eeadd40a2334f41b33dd08af3a8b40b
2017-04-21 11:10:08 -07:00