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

Commit 978d23c7 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

power: bcl: Check battery state of charge for frequency mitigation



When BCL monitoring is disabled, the SoC monitoring state is reset
but the last read value is not reset. During BCL frequency mitigation,
it always checks the last read soc value against configured BCL soc
threshold. This will allow the SoC based frequency mitigation to be
active, even when BCL is disabled. Use BCL soc state instead of
the last read battery SoC value to place soc frequency mitigation.

Change-Id: I2b1a171b0bc00cbb4f7029c8de2aaa4817573b49
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 17d7bd58
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