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

Skip to content
Commit c9d6972f authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

power: bcl: Add IAVAIL BCL monitor mode support for non-bms targets



IAVAIL BCL monitor mode gets rbat value from power supply bms module
to calculate iavail. Some targets don't have bms module and hence bcl
fails, but rbat value is availabale in power supply battery module for
these targets. Add IAVAIL BCL monitor mode support for non-bms
targets by reading rbat from battery module. BCL checks rbat value
from battery module only if 'qcom,bcl-no-bms' entry is defined in DT.

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