Re: [PATCHv1] power: supply: document current direction

2020-10-03 Thread Sebastian Reichel
Hi, On Fri, Oct 02, 2020 at 06:23:03PM +0200, Andreas Kemnade wrote: > On Thu, 27 Aug 2020 16:02:48 +0200 > Sebastian Reichel wrote: > > > Currently the sign for CURRENT_NOW and CURRENT_AVG is a bit > > of a mess. There are basically 3 different ways battery fuel > > gauges report the current:

Re: [PATCHv1] power: supply: document current direction

2020-10-02 Thread Andreas Kemnade
On Thu, 27 Aug 2020 16:02:48 +0200 Sebastian Reichel wrote: > Currently the sign for CURRENT_NOW and CURRENT_AVG is a bit > of a mess. There are basically 3 different ways battery fuel > gauges report the current: > > 1. uses negative values for discharging and positive values >for charging

[PATCHv1] power: supply: document current direction

2020-08-27 Thread Sebastian Reichel
Currently the sign for CURRENT_NOW and CURRENT_AVG is a bit of a mess. There are basically 3 different ways battery fuel gauges report the current: 1. uses negative values for discharging and positive values for charging 2. uses positive values for discharging and negative values for