From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 792B9C77B6C for ; Thu, 13 Apr 2023 09:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X2Qcv3YuWD/psl5nw8eHhgw02DWGHzmtXkTLk5PuLCU=; b=xeT5GaTrmdORjz My/IVqKjLVCzrK/AJmLZ62L5CCsBcyOrpaLBuHyRjnFopAvO8xsWy2NrEW+6hiQII7RGbsSEH4kPn R8EmT8QLDMcd+p2FVrzuuFC4Zq44HxmFJAAVFZcs4cKOGJ3ZXKGEtLnhYv0A+2VCZ9Hlvy7+NlJiF JPw8tEuhg+SK8btMSvL3x1ulBLqP9SfkqV/sOBp9pOzgNYRARchLBEDCO3u4j0t6Ed/YtK9BUwfHo 6Koc9tGW2LB3sg13vTO3CEKsdjJF09U4pRItDV32vCgmVcjjQNW9s1kIhlZLP+MH2TURjjDxXlpNr k5T4QUcBCDbtD+E0oDGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pmtWb-005fnT-2H; Thu, 13 Apr 2023 09:45:53 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pmtWZ-005fmT-0b for linux-arm-kernel@lists.infradead.org; Thu, 13 Apr 2023 09:45:52 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id BFD6C80F0; Thu, 13 Apr 2023 09:45:45 +0000 (UTC) Date: Thu, 13 Apr 2023 12:45:44 +0300 From: Tony Lindgren To: Pavel Machek Cc: Ivaylo Dimitrov , kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz, phone-devel@vger.kernel.org, maemo-leste@lists.dyne.org Subject: Re: Motorola Droid 4 -- Stopping charger when battery is full Message-ID: <20230413094544.GD36234@atomide.com> References: <20230309071443.GF7501@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230413_024551_283753_D1195225 X-CRM114-Status: GOOD ( 17.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Pavel Machek [230413 09:37]: > > > * Ivaylo Dimitrov [230307 14:10]: > > > Also, some guys have concerns about charging (and keeping it charged) @4.35, > > > because of the possibly reduced battery life. > > > > Yes for devices connected to a charger for long periods the battery will > > bloat up within some weeks or months. This happens easily when using a > > lapdock for example. > > > > A simple and safe solution here might be that we allow charging up to > > 4.35V only once when the charger is connected. Then we let the voltage > > decrease to 4.2V (or whatever known good maintenance voltage) if the > > charger stays connected. > > Optimum solution would be user specifying "I want battery full > tommorow at 8am" and doing the right thing. I think you can already do that via sysfs with cron or at :) > > For folks wanting to force the charge voltage higher we have the sysfs > > interface. > > Yep, we just need to make sure it is usable for this. It should be but I have not tried for years. You need to first configure the allowed voltage for battery via sysfs, then set the charge voltage for the charger. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel