Date: Mon, 16 Jun 2014 17:29:05 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: CeDeROM <cederom@tlen.pl> Cc: Anthony Jenkins <Anthony.B.Jenkins@att.net>, freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org, Armin Gruner <ag@muc.de> Subject: Re: sysctl hw.acpi.acline Message-ID: <20140617002905.GW31367@funkthat.com> In-Reply-To: <CAFYkXj=7pa6mECqjWnpAyE%2BB7MhDFb8KPYfbWa0-hGW67ki1bw@mail.gmail.com> References: <CAFYkXj=cN=A7ZRs-N5xoER51=daMaaS4uBCQLpfnOC0=Mg0WuA@mail.gmail.com> <539F56E9.8070809@muc.de> <CAFYkXjn4nxAcvZjsjUR5HPz6tY_rNyb5Hg98QtaK3n0hGZxPFA@mail.gmail.com> <539F6B3F.2000308@att.net> <CAFYkXj=7pa6mECqjWnpAyE%2BB7MhDFb8KPYfbWa0-hGW67ki1bw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
CeDeROM wrote this message on Tue, Jun 17, 2014 at 00:25 +0200: > On Tue, Jun 17, 2014 at 12:10 AM, Anthony Jenkins > <Anthony.B.Jenkins@att.net> wrote: > > The absence of hw.acpi.battery and child oids probably implies there is no battery and the system may be assumed to be on line (A/C) power. > > Hello Anthony! I would prefer to have that information clearly defined > in the manual :-) I guessed that this is a quick fix to first check Which manual? > the OID existence, but if manual tells there is such OID it should be > there, even if there is no battery, huh? This is why I consider this > to be a bug :-) ACPI have tons of optional stuff that isn't required to be present, and apparently acline is one of them. Also, acline is only useful if there are multiple power sources, what if you have a desktop machine always running off a battery, if we defaulted acline=1, then you'd complain that the status is wrong... :) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140617002905.GW31367>