Re: acpibat(4): remaining battery power with multiple batteries

2020-05-11 Thread Jeremie Courreges-Anglas
On Mon, May 11 2020, "Theo de Raadt" wrote: > You sure about that? In this code, acpi.c is collecting abstracted > information from the 3 battery drivers. (One A/C driver and two battery drivers.) > Maybe one of the drivers > isn't providing enough information? > > Mark Kettenis wrote: > >> Th

Re: acpibat(4): remaining battery power with multiple batteries

2020-05-11 Thread Theo de Raadt
You sure about that? In this code, acpi.c is collecting abstracted information from the 3 battery drivers. Maybe one of the drivers isn't providing enough information? Mark Kettenis wrote: > This wouldn't do the right thing if you have both acpibat(4) and > acpisbs(4), but I think that is alre

Re: acpibat(4): remaining battery power with multiple batteries

2020-05-11 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Mon, 11 May 2020 11:40:23 +0200 > Content-Type: text/plain > > On Fri, May 08 2020, Jeremie Courreges-Anglas wrote: > > Overall remaining battery power is currently the average of the > > remaining power (in percents) of each battery. This is misleading

Re: acpibat(4): remaining battery power with multiple batteries

2020-05-11 Thread Jeremie Courreges-Anglas
On Fri, May 08 2020, Jeremie Courreges-Anglas wrote: > Overall remaining battery power is currently the average of the > remaining power (in percents) of each battery. This is misleading if > your laptop uses a large external battery which drains out first, and > a smaller internal battery (commo

acpibat(4): remaining battery power with multiple batteries

2020-05-08 Thread Jeremie Courreges-Anglas
Overall remaining battery power is currently the average of the remaining power (in percents) of each battery. This is misleading if your laptop uses a large external battery which drains out first, and a smaller internal battery (common scheme on eg thinkpad machines). Overall battery power dec