Re: acpibat: add _BIX support

2017-07-22 Thread Theo de Raadt
Converting bif into a bix; that makes my brain a lot happier!

Re: acpibat: add _BIX support

2017-07-22 Thread joshua stein
On Sat, 22 Jul 2017 at 18:07:56 +0200, Mark Kettenis wrote: > > Date: Fri, 21 Jul 2017 23:31:28 -0500 > > From: joshua stein > > > > ACPI 4.0 deprecated _BIF for battery status, so some newer machines > > have _BIX instead which provides the same info plus some extra > > fields. > > > > I used s

Re: acpibat: add _BIX support

2017-07-22 Thread Mark Kettenis
> Date: Fri, 21 Jul 2017 23:31:28 -0500 > From: joshua stein > > ACPI 4.0 deprecated _BIF for battery status, so some newer machines > have _BIX instead which provides the same info plus some extra > fields. > > I used some macro magic to make the diff less painful, and added a > sensor for the

acpibat: add _BIX support

2017-07-21 Thread joshua stein
ACPI 4.0 deprecated _BIF for battery status, so some newer machines have _BIX instead which provides the same info plus some extra fields. I used some macro magic to make the diff less painful, and added a sensor for the new cycle count exported by _BIX which can be useful to see. Index: dev/acp