diff options
| author | Ram Chandrasekar <rkumbako@codeaurora.org> | 2016-10-03 13:37:55 -0600 |
|---|---|---|
| committer | Ram Chandrasekar <rkumbako@codeaurora.org> | 2016-10-04 14:30:39 -0600 |
| commit | 9de049bd7ab7b225da54308f51881b04f5c82563 (patch) | |
| tree | ddc6413ff26169d271f2f3370ed1401796dfc728 /lib/cpu-notifier-error-inject.c | |
| parent | 057bdafd976ca7609ed223dbd4473d535bcb6459 (diff) | |
power: bcl: Listen to battery power supply notification for soc
BCL gets the state of charge(soc) from the BMS power supply, which will
not capture the HLOS overidden soc value. This can create a scenario
where the mitigation will not be released if the soc value is
overridden in HLOS.
Use the battery supply notification, which can get the state of charge
value from the BMS or the HLOS overridden soc value if present.
Change-Id: I66d1ba1c6c3a942a80d3cee24746b00541fde3bc
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
