From owner-freebsd-questions@freebsd.org Fri Jan 20 18:54:00 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 58E9ECB98F4 for ; Fri, 20 Jan 2017 18:54:00 +0000 (UTC) (envelope-from sakhmatd@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 413261ADD for ; Fri, 20 Jan 2017 18:54:00 +0000 (UTC) (envelope-from sakhmatd@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 2152B1A205B; Fri, 20 Jan 2017 18:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1484938433; bh=BHBSH3Sv+jmNPkRpFAMxKD0DPIP9c/qSPAyR7Q+YnEk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qVoeuexcp1V+l35Tvticpd93lsCMF+UYcjvHs/cufnbpFefDmDAbM/u53uXgfE3vU +CMln8udxoE0t9rHfOhiZgL1qPxh8LBTZH5M2o2EoaciBx4kupIbAV01usn0Z5CZWe ipUK3FRMvjGHkkdrnm8Er+gWcS8A1wufawnT/SXs= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sakhmatd) with ESMTPSA id 97C211C2304 Date: Fri, 20 Jan 2017 13:53:50 -0500 From: Sergei Akhmatdinov To: freebsd-questions@freebsd.org Cc: Matthias Apitz Subject: Re: stop charging laptop battery when full Message-ID: <20170120135008.5168cc79@riseup.net> In-Reply-To: <20170120171125.GA3965@c720-r292778-amd64> References: <20170120171125.GA3965@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/McgbbCr_MxLOj/CO7oHWLZ4"; protocol="application/pgp-signature" 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 18:54:00 -0000 --Sig_/McgbbCr_MxLOj/CO7oHWLZ4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. Cheers, --=20 Sergei Akhmatdinov My GPG public key: gpg --keyserver pgp.mit.edu --recv-keys AD800D99 --Sig_/McgbbCr_MxLOj/CO7oHWLZ4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEFByDSlcPK9lAgiNNxKRHP62ADZkFAliCXL4ACgkQxKRHP62A DZl4IhAA1DafHLJ3CZLHRdKxwFus2PCw2uCa0ZLSKe6oYSZXZbajbX/XcnOkKZQF xz8sWUqHdYwQi9AdGaAL6nGDdiRjtrJ3r1aGV9dIob3vBYXKfDWbYjfukg1Uvfa+ vyCnXIbg7gB/7pHAXc/7JqDLLlAP/vnyPaSM4guIX4Fwzoa/88ws5GYMRaOZhNAM sopyRsde9xEfwdol6zB5MOxXLofroolAi0GRz6rhDCI5K/iTN9ictn0PsXWTMFKv 3e6/3G0yNI9bxfKMnrSB0rnSuhj6YABdgET0H3Ef6vOsyD7ZoR3s/SVlR9Fg5KCT p31n+wGAr3H42pCrEV42dtE10S09JVooG5YMJw4MCDE00jI4ludhZ6JeCLwDiJof yCIxrChUuWejPtTR6gpDmCQrlVx1yt7bR5hlp4PwQCokzNZEV4Ga/2mo5+UsT4H6 tgKvBkVo4njabziCn8FcZwql92SYsaT5xB9tOjiauhA793WrH1kFsH5svZZG9iPV MEhclAsY+84B/1fZbtOGcwGLB+YX1NPEstKqt2NliSF2faXvSDR58dgMuKKN48hW Rkavi9wO/zN60ATvHINFVblAQg5kOwv/da11Gk5zvfO8bbQukvqMm6atDIwvkDBo 1D3XrH2a0FuYFyU9MiNI0PYBODTiAkylDpCmn1dnXXNHW8kwoxI= =8YM1 -----END PGP SIGNATURE----- --Sig_/McgbbCr_MxLOj/CO7oHWLZ4--