Re: [RFC PATCH v2 1/6] power: supply: add cap2ocv batinfo helper

2020-12-08 Thread Vaittinen, Matti
Hi deee Ho Linus, Thanks (again) for taking a look at this! Highly appreciated :] On Tue, 2020-12-08 at 09:54 +0100, Linus Walleij wrote: > On Fri, Dec 4, 2020 at 1:41 PM Matti Vaittinen > wrote: > > > The power-supply core supports concept of OCV (Open Circuit > > Voltage) => > > SOC (State Of

Re: [RFC PATCH v2 1/6] power: supply: add cap2ocv batinfo helper

2020-12-08 Thread Linus Walleij
On Fri, Dec 4, 2020 at 1:41 PM Matti Vaittinen wrote: > The power-supply core supports concept of OCV (Open Circuit Voltage) => > SOC (State Of Charge) conversion tables. Usually these tables are used > to estimate SOC based on OCV. Some systems use so called "Zero Adjust" > where at the near end

[RFC PATCH v2 1/6] power: supply: add cap2ocv batinfo helper

2020-12-04 Thread Matti Vaittinen
The power-supply core supports concept of OCV (Open Circuit Voltage) => SOC (State Of Charge) conversion tables. Usually these tables are used to estimate SOC based on OCV. Some systems use so called "Zero Adjust" where at the near end-of-battery condition the SOC from coulomb counter is used to re