diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-07-20 16:54:55 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-07-20 16:54:55 -0700 |
| commit | b4713c2ca1a04552445a8fe7602fe1669f76fce4 (patch) | |
| tree | 20a2234dab682285995664a3b449237ab544e076 /lib/mpi/mpi-internal.h | |
| parent | 6899c6bffff40d6dbcda2166d3b86eabb181bcf4 (diff) | |
smb-lib: account for Jeita while distributing FCC
The master charger has built in Jeita compensation where it reduces
FCC when the battery is in cool/warm Jeita threshold. This skews
the distribution of FCC between master and slave in parallel
configuration.
Fix this by checking if soft Jeita is active. If so reduce the requested
fcc so that master and slave get reduced share. However, since master
is reducing its FCC, add the reduction again to its share so the net
FCC on master is as per the distribution.
This also calls to handle the battery temperature change interrupt and
redistribute FCC.
Change-Id: I413cc0231a9125422efc71ed67717921af939959
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
