From owner-freebsd-acpi@FreeBSD.ORG Fri Sep 5 16:01:45 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7908B4C9 for ; Fri, 5 Sep 2014 16:01:45 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8D581A1C for ; Fri, 5 Sep 2014 16:01:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s85G1f2b027040; Sat, 6 Sep 2014 02:01:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 6 Sep 2014 02:01:41 +1000 (EST) From: Ian Smith To: nick gigashvili Subject: Re: Problems with acpi (battery status not shown) In-Reply-To: Message-ID: <20140906013705.Y58647@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20140906013705.O58647@sola.nimnet.asn.au> Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 16:01:45 -0000 On Fri, 5 Sep 2014 18:43:23 +0400, nick gigashvili wrote: > Hi > > I'm having problem with acpi battery status is not updated it is freezed on > 96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation > 8570w. > I tested ASL with iasl and it has syntax error. I coultn't boot with acpi > turned off so Im sending you dmesg output only with acpi enabled. > > here is ASL file link: > https://www.sendspace.com/file/do5xn7 > > Thank you Your hw.acpi tree and verbose dmesg look alright on a very quick browse. No AE_* ACPI errors and battery initialisation looks good, assuming you have just one battery fitted of the two supported. It's quite possible that there's no problem. Li-Ion batteries are not trickle-charged like older technology batteries (NiCd or NiMH) but after a full charge gradually self-discharge over days, perhaps weeks while the laptop is powered, until the battery gets down to below around 95% (on my Thinkpads anyway), when it will get boosted back to 100% again. My X200 is down to 95%; I'm expecting a charge cycle any day now :) State: high Remaining capacity: 95% Remaining time: unknown Present rate: 0 mW Present voltage: 12418 mV Try unplugging power and watching with acpiconf -i0 until down to say 90% or lower, then reconnect power; it should charge up to 100% again, and stay up around 98-99% for a while before gradually dropping. If it doesn't, try reporting the result of acpiconf -i0 at different states and times; just the lines above will do, except for the first. And don't forget to let it run on battery sometimes, it's good for it; occasional deep (or even complete) discharges help keep the battery's internal 'coulomb counter' in good shape, and don't hurt battery life. cheers, Ian