Date: Fri, 2 Oct 2009 23:28:51 +0200 From: Lagrange Marc <markocpc@gmail.com> To: freebsd-hardware@freebsd.org Subject: Only one sysctl node if two battery on the laptop ? Message-ID: <1b5ab4050910021428m70baea2cm4e3236384e68e66@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I've a Fujitsu Siemens CELSIUS Mobile H which can have two battery. apm command show : % apm APM version: 1.2 APM Management: Enabled AC Line status: off-line Battery Status: high Remaining battery life: 99% Remaining battery time: 1:36:00 Number of batteries: 2 Battery 0: not present Battery 1: Battery Status: high Remaining battery life: 99% Remaining battery time: 1:36:00 OR : % apm APM version: 1.2 APM Management: Enabled AC Line status: on-line Battery Status: charging Remaining battery life: 50% Remaining battery time: unknown Number of batteries: 2 Battery 0: Battery Status: low Remaining battery life: 0% Remaining battery time: unknown Battery 1: Battery Status: charging Remaining battery life: 100% Remaining battery time: unknown Sysctl : % sysctl hw.acpi.battery hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 2 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 OR : % sysctl hw.acpi.battery hw.acpi.battery.life: 50 hw.acpi.battery.time: -1 hw.acpi.battery.state: 2 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 The first run is with one battery, the second with two (one battery is dead and the other is good) Why only one battery shown in sysctl and not hw.acpi.battery.<battery number>.{life,time,...} ? uname -a : FreeBSD cornichon 8.0-RC1 FreeBSD 8.0-RC1 #1: Sat Sep 19 13:02:09 CEST 2009 marc@cornichon:/usr/obj/usr/src/sys/CORNICHON i386 Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b5ab4050910021428m70baea2cm4e3236384e68e66>