Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c65d8403 authored by Manali Bhutiyani's avatar Manali Bhutiyani
Browse files

[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
parent 10ff8b86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment