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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE22FC433E0 for ; Sat, 6 Feb 2021 13:15:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8794264EAC for ; Sat, 6 Feb 2021 13:15:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8794264EAC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=TQnpTDMMaY3E7P5CtMz8dJnrmmvVEjv1fA7Hc3TWtnE=; b=gln Vi/zeT56MrDqhGVQr9PzpMkSEoeVQfk4dvvFXO0SUTqEPqUQAzDIRu9W/JHblVxbQkB3gZ3jGWuUi O9/QqOjVntWWOgAMPTa6VGVytx1UM2Ju91TVqGTgIb4KerM/nTR0B1+8ShzNlBDjRbjarwWijQ3/B xVS0Lb/liSksURxsXYwVOQGLRO0Rn+W0OTQq1DieL10EBCkBTlGVla6QugcQ3jnuswlBTZ8UAI35b K9Ontkj3NGikYBLtw79dvt1A0d5VwJpdzDMd8rl1QD10nxPvXnvwAqsFiX6EPCNJxsXztrwBDtdNd f0LXKW/XBPVvSIod5CkjmVGG2s5mZHg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NPs-0001z3-52; Sat, 06 Feb 2021 13:14:24 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NPp-0001xx-9H for linux-arm-kernel@lists.infradead.org; Sat, 06 Feb 2021 13:14:22 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 9ED161C0B77; Sat, 6 Feb 2021 14:14:16 +0100 (CET) Date: Sat, 6 Feb 2021 14:14:15 +0100 From: Pavel Machek To: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, 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: Droid 4 charging Message-ID: <20210206131415.GA4499@amd> MIME-Version: 1.0 User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210206_081421_441412_8AC43F5B X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============9076516552217407224==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============9076516552217407224== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! (I'm using Leste 5.10 kernel here). When battery is full, green light is off and 0.00A being drawn from USB. But that means that phone is now powered from battery, discharging it... And soon charging starts again. (Pretty much immediately, for me) That's bad ... right? It wears the battery out. If I turn off charging with echo 0 > input_current_limit, 0.2 to 0.4A is drawn from USB, and battery is not discharged: root@devuan-droid4:/sys/class/power_supply/usb# echo 0 > input_current_lim= it root@devuan-droid4:/sys/class/power_supply/usb# cat current_now 0 Is that a better way to handle full battery? Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmAelicACgkQMOfwapXb+vK/bwCguKUzZuXqGMMpi7o3wYZkwua0 qOAAoKJtVeDNf10adOClXBO+1nl0+ACG =hAuc -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- --===============9076516552217407224== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============9076516552217407224==--