mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
1819bd4e44
We observed that SoC suddenly increase from 98% or 99% to 100% right after charger removal. This issue caused by charging adjusting algorithm which adjust SoC to sync 100% with end of charging. During charging adjustment, the adjusted SoC could be smaller than original SoC. So when we remove charger, charging adjusting algorithm stop adjusting SoC and then bms report original SoC which is larger than before. Previously, bms driver considered most of this case by using previous SoC when SoC increase during discharging. But if SoC is 100%, previous patch doesn't work. So this patch add SoC 100% case by checking if charger is enabled. Change-Id: I70945d391c9d821eaf875f1bcd1e8787077b98da |
||
---|---|---|
.. | ||
ab8500_btemp.c | ||
ab8500_charger.c | ||
ab8500_fg.c | ||
abx500_chargalg.c | ||
apm_power.c | ||
battery_temp_ctrl.c | ||
bq27x00_battery.c | ||
bq27520_fuelgauger.c | ||
bq27541_fuelgauger.c | ||
bq51051b_charger.c | ||
charger-manager.c | ||
collie_battery.c | ||
da9030_battery.c | ||
da9052-battery.c | ||
ds2760_battery.c | ||
ds2780_battery.c | ||
ds2781_battery.c | ||
ds2782_battery.c | ||
gpio-charger.c | ||
intel_mid_battery.c | ||
isl9519q.c | ||
isp1704_charger.c | ||
jz4740-battery.c | ||
Kconfig | ||
lp8727_charger.c | ||
ltc4088-charger.c | ||
Makefile | ||
max8903_charger.c | ||
max8925_power.c | ||
max8997_charger.c | ||
max8998_charger.c | ||
max17040_battery.c | ||
max17042_battery.c | ||
msm_battery.c | ||
msm_charger.c | ||
olpc_battery.c | ||
pcf50633-charger.c | ||
pda_power.c | ||
pm8xxx-ccadc.c | ||
pm8058_usb_fix.c | ||
pm8921-bms.c | ||
pm8921-charger.c | ||
pmic8058-charger.c | ||
pmu_battery.c | ||
power_supply.h | ||
power_supply_core.c | ||
power_supply_leds.c | ||
power_supply_sysfs.c | ||
qci_battery.c | ||
qci_battery.h | ||
s3c_adc_battery.c | ||
sbs-battery.c | ||
smb137b.c | ||
smb347-charger.c | ||
smb349.c | ||
test_power.c | ||
tosa_battery.c | ||
twl4030_charger.c | ||
wm97xx_battery.c | ||
wm831x_backup.c | ||
wm831x_power.c | ||
wm8350_power.c | ||
z2_battery.c |