power: qpnp-fg: Configure SW based Rbias and manage it
There are issues with h/w turning on/off Rbias where it may read the
battery temperature at a point where the Rbias voltage hasn't settled
due to stray capacitance. As a workaround it is required Rbias
voltage is kept on except when going to suspend.
Also since Rbias would be off while we are suspended, there will be
no temperature updates to the FG. Hence use the delta soc interrupt
to wakeup every 1% change to compensate for any temperature changes
missed while suspended.
Write code for it.
Change-Id: I46076281bbeaf59eb74607eb698c4fd937e2df7b
CRs-Fixed: 732144
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment