summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Manali Bhutiyani <manalib@google.com> 2024-04-30 23:09:36 +0000
committer Manali Bhutiyani <manalib@google.com> 2024-09-03 02:16:17 +0000
commitc65d8403fdba8250b72ff354497731ebfc425b12 (patch)
tree5ceaed4352413a1ccd0bcca24d961e4075fafca4 /libs/androidfw/StringPool.cpp
parent10ff8b86006f526b9e15a21d62b7350a185387a9 (diff)
[power-throttling] Fine tune algorithm
This change fine-tunes the power-based throttling algorithm to take into account the current brightness instead of max brightness for the Throttling limit. It also fixes underutilzation of power and resets the pmic handler, if thermal state is 0. Test: Manual and updated atests atest DisplayServiceTests atest com.android.server.display.brightness.clamper.BrightnessPowerClamperTest Flag: com.android.server.display.feature.flags.enable_power_throttling_clamper Bug: 302814899 Change-Id: I754c86c26d51fde1ccd6c91ba649f58fc73afcd2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions