Re: [PATCH 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Richard Tresidder
Hi Guenter    Yep sorry there was a merge that I missed during that initial send of the patch. I sent a version 2 shortly after. Regards    Richard Tresidder On 25/07/2019 9:39 pm, Guenter Roeck wrote: On Thu, Jul 25, 2019 at 1:25 AM Richard Tresidder wrote: When a battery or batteries in

Re: [PATCH 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Guenter Roeck
On Thu, Jul 25, 2019 at 1:25 AM Richard Tresidder wrote: > > When a battery or batteries in a system are in parallel then one or more > may not be providing any current to the system. > This fixes an incorrect > status indication of FULL for the battery simply because it wasn't > discharging at

[PATCH 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Richard Tresidder
When a battery or batteries in a system are in parallel then one or more may not be providing any current to the system. This fixes an incorrect status indication of FULL for the battery simply because it wasn't discharging at that point in time. The battery will now be flagged as IDLE. Have also