Hi, This patch set adds new attributes for userspace, and fixes the the accuracy issue of coulomb counter calculation, as well as optimizing the battery capacity calibration in some abnormal scenarios.
Any comments are welcome. Thanks. Yuanjiang Yu (6): power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN attribute power: supply: sc27xx: Fix conditon to enable the FGU interrupt power: supply: sc27xx: Fix the the accuracy issue of coulomb calculation power: supply: sc27xx: Optimize the battery capacity calibration power: supply: sc27xx: Make sure the alarm capacity is larger than 0 power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute drivers/power/supply/sc27xx_fuel_gauge.c | 175 +++++++++++++++++++++--------- 1 file changed, 124 insertions(+), 51 deletions(-) -- 1.7.9.5