Android s beta 3 release 0.3
google_battery: handle gdf > 100 in ssoc_change_curve()
SSOC: l=100% gdf=100.02 uic=100.00 rl=100.00 ct=-1 curve:[15.00 15.00][96.99 100.00][100.00 100.00] rls=1 bd_cnt=1
SSOC: l=100% gdf=100.02 uic=100.00 rl=100.00 ct=-1 curve:[15.00 15.00][95.00 100.00][100.00 100.00] rls=-1 bd_cnt=1
[96.99 100.00] should change to [100.00 100.00] instead of [95.00 100.00].
Bug: 187133830
Change-Id: I7c3364be702002cd2aaa1a2042c645807228b824
Signed-off-by: Ken Tsou <kentsou@google.com>
1 file changed