From owner-freebsd-questions@freebsd.org Fri Jan 20 20:08:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93F47CBA61B for ; Fri, 20 Jan 2017 20:08:36 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59E6E1F96 for ; Fri, 20 Jan 2017 20:08:35 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [2.247.244.59] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1cUfU8-0003rP-SC for freebsd-questions@freebsd.org; Fri, 20 Jan 2017 21:08:33 +0100 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v0KK8WxW002135 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 20 Jan 2017 21:08:32 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v0KK8RrY002134 for freebsd-questions@freebsd.org; Fri, 20 Jan 2017 21:08:27 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 20 Jan 2017 21:08:26 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: stop charging laptop battery when full Message-ID: <20170120200826.GA2070@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20170120171125.GA3965@c720-r292778-amd64> <20170120135008.5168cc79@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170120135008.5168cc79@riseup.net> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 2.247.244.59 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 20:08:36 -0000 El día Friday, January 20, 2017 a las 01:53:50PM -0500, Sergei Akhmatdinov escribió: > On Fri, 20 Jan 2017 18:11:25 +0100 > Matthias Apitz wrote: > > I can ask the current capacity (and other values) of the battery with: > > [snip] > > While charging, is there a way to stop the charging when > > hw.acpi.battery.life reached 100 to protect the (LI-ion) battery? > > Such functionality should be provided by your battery's internal circuitry. > Think about it, it wouldn't be safe for any consumer to buy a laptop which > doesn't switch to DC power when the battery is full. I'm not sure about this. Let's assume the power provided by the charger it withdrawn "somehow" from the battery and the laptop runs only on the power provided by the charger. The battery will now start to drain itself (due to its internal resistor value). When it will start to charge again, and how? And why all the hints say: Once fully charged, disconnect the laptop from charger? Will it lead to some endless charge/discharge cycle? I was asking for some method to disconnect the laptop completely from the charger, either internally or, for example, by some external device, receiving the signal via Wifi and cutting the charger from the outlet. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wo ist der antiimperialistische Schutzwall, wenn man ihn braucht? US-Panzertransport durch ex-DDR" "Where is the anti-imperialistic wall, if it's needed? Transport of US-tanks through the ex-GDR" https://deutsch.rt.com/kurzclips/45282-us-panzertransporte-durch-ex-ddr/