Date: Thu, 24 Nov 2011 21:42:23 GMT From: Maciej Suszko <msuszko@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/162859: [acpi] ACPI battery/acline monitoring partialy working (switching) Message-ID: <201111242142.pAOLgNFW034057@red.freebsd.org> Resent-Message-ID: <201111242150.pAOLo8Zr051902@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162859 >Category: kern >Synopsis: [acpi] ACPI battery/acline monitoring partialy working (switching) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 24 21:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Maciej Suszko >Release: 9.0-PRERELEASE >Organization: >Environment: FreeBSD arsenic.lan 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r227939: Thu Nov 24 21:27:32 CET 2011 root@arsenic.lan:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This problem is similar to kern/160838, but in my case - acpiconf -i batt show all the information (AC adapter connected): tlhscd@arsenic:~ $ sysctl hw.acpi.acline hw.acpi.acline: 1 tlhscd@arsenic:~ $ acpiconf -i batt Design capacity: 4241 mAh Last full capacity: 4241 mAh Technology: secondary (rechargeable) Design voltage: 14400 mV Capacity (warn): 213 mAh Capacity (low): 43 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 11436 2010/03/05 Type: LIon OEM info: Hewlett-Packard State: charging Remaining capacity: 99% Remaining time: unknown Present rate: 341 mA (5703 mW) Present voltage: 16727 mV After disconnecting AC adapter, acpiconf shows the battery is discharging, but remaining capacity, time and rates does not change: tlhscd@arsenic:~ $ sysctl hw.acpi.acline hw.acpi.acline: 0 tlhscd@arsenic:~ $ acpiconf -i batt Design capacity: 4240 mAh Last full capacity: 4240 mAh Technology: secondary (rechargeable) Design voltage: 14400 mV Capacity (warn): 212 mAh Capacity (low): 43 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 11436 2010/03/05 Type: LIon OEM info: Hewlett-Packard State: discharging Remaining capacity: 100% Remaining time: 1:13 Present rate: 3450 mA (57756 mW) Present voltage: 16741 mV Reconnecting AC adapter back does not change computer state - acpiconf shows the same message, hw.acpi.acline is still 0. >How-To-Repeat: Boot machine with AC adapter connected, login to system, disconnect and reconnect AC adapter. The above is observed on HP nx7300 laptop with those settings in rc.conf: performance_cx_lowest="HIGH" economy_cx_lowest="LOW" Setting debug.acpi.max_tasks as temporary fix like in kern/160838 does not work for me. As far as I remember - in 8.2-STABLE all worked as expected. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111242142.pAOLgNFW034057>