Date: Mon, 16 Jun 2014 23:43:57 +0200 From: CeDeROM <cederom@tlen.pl> To: Armin Gruner <ag@muc.de>, freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: sysctl hw.acpi.acline Message-ID: <CAFYkXjn4nxAcvZjsjUR5HPz6tY_rNyb5Hg98QtaK3n0hGZxPFA@mail.gmail.com> In-Reply-To: <539F56E9.8070809@muc.de> References: <CAFYkXj=cN=A7ZRs-N5xoER51=daMaaS4uBCQLpfnOC0=Mg0WuA@mail.gmail.com> <539F56E9.8070809@muc.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 16, 2014 at 10:43 PM, Armin Gruner <ag@muc.de> wrote: > it's actually "hw.acpi.battery.state" > (the man page is indeed stale) > The value of hw.acpi.battery.state > 0 means: on AC power > 1 means: on battery > 2 means: charging Hey Armin :-) The same situation here on a desktop I get: root@hexagon:~ # sysctl hw.acpi.battery.state sysctl: unknown oid 'hw.acpi.battery.state': No such file or directory root@hexagon:~ # uname -a FreeBSD hexagon 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Tanks! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjn4nxAcvZjsjUR5HPz6tY_rNyb5Hg98QtaK3n0hGZxPFA>