Re: [PATCH v2 3/3] power: supply: bq27xxx: make status more robust

2021-03-14 Thread Sebastian Reichel
Hi, On Wed, Mar 03, 2021 at 10:54:20AM +0100, Matthias Schiffer wrote: > There are multiple issues in bq27xxx_battery_status(): > > - On BQ28Q610 is was observed that the "full" flag may be set even while > the battery is charging or discharging. With the current logic to make > "full"

[PATCH v2 3/3] power: supply: bq27xxx: make status more robust

2021-03-03 Thread Matthias Schiffer
There are multiple issues in bq27xxx_battery_status(): - On BQ28Q610 is was observed that the "full" flag may be set even while the battery is charging or discharging. With the current logic to make "full" override everything else, it look a very long time (>20min) for the status to change