commit | 31ebcf9241739c04c7979c1c9703e36dbd901fd9 | [log] [tgz] |
---|---|---|
author | Manali Bhutiyani <manalib@google.com> | Fri Jul 21 06:06:05 2023 +0000 |
committer | Manali Bhutiyani <manalib@google.com> | Sun Oct 15 05:22:07 2023 +0000 |
tree | 4826f8641ea6812184fff66f5a6a0e2553f241bf | |
parent | 4d2514cc7f48be35d6c6b69e165a6cb4f1e0940c [diff] |
Support power-based throttling. This change adds a smart throttler based on power-consumed by the display. We use the power IC HAL apis to provide the power consumed, and throttle brightness in order for display to stay within budget for power-consumption. This feature is feature-flag protected. Bug: 261221454 Bug: 294777007 Test: multiple tests were added. Also manually tested. Change-Id: Ia7d3e54073b0855200818a47d0029d715cd1b27e