Re: cwfg: flag sensor as invalid on bogus reads

2021-03-26 Thread Patrick Wildt
Am Sat, Mar 27, 2021 at 12:00:32AM +0100 schrieb Klemens Nanni: > On Fri, Mar 26, 2021 at 11:22:32PM +0100, Patrick Wildt wrote: > > It's pretty normal for voltage to go up once AC is connected. In the > > end, afaik batteries are charged by applying voltage. Additionally > > if an external

Re: cwfg: flag sensor as invalid on bogus reads

2021-03-26 Thread Klemens Nanni
On Fri, Mar 26, 2021 at 11:22:32PM +0100, Patrick Wildt wrote: > It's pretty normal for voltage to go up once AC is connected. In the > end, afaik batteries are charged by applying voltage. Additionally > if an external supply provides power, there's a smaller voltage drop. I thought as much,

Re: cwfg: flag sensor as invalid on bogus reads

2021-03-26 Thread Patrick Wildt
Am Fri, Mar 26, 2021 at 12:26:51AM +0100 schrieb Klemens Nanni: > Follow-up to "arm64: make cwfg(4) report battery information to apm(4)". > > This driver continues to report stale hw.sensors values when reading > them fails, which can easily be observed on a Pinebook Pro after > plugging in the

cwfg: flag sensor as invalid on bogus reads

2021-03-25 Thread Klemens Nanni
Follow-up to "arm64: make cwfg(4) report battery information to apm(4)". This driver continues to report stale hw.sensors values when reading them fails, which can easily be observed on a Pinebook Pro after plugging in the AC cable. Running on battery looks like this (note sensors and apm are in