Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp439019imm; Wed, 26 Sep 2018 01:01:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV61njDHzwPY4L3KsyZQcB94UvFPm4NPorIsNSsFNEPsIg15sVqUPv/fUIBdRK5gQJlrRw5vH X-Received: by 2002:a17:902:6a8a:: with SMTP id n10-v6mr4884944plk.288.1537948896095; Wed, 26 Sep 2018 01:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537948896; cv=none; d=google.com; s=arc-20160816; b=0hQQtuJj9QeahIma/GJ29UqmoPqUDe6rFvhb45G+VcXtBF0Wj66lmcMBrgB6+IUrxP yrT1UX2CHd2o+TcZVg2kgwo7npVM30JFUhF5WqHDvOC7MpEXpR4/6ikYCR6hVjho2zCd n41ZLDJ2hBfFRyGeRwq96K/4l6m9XmaeUI9N4HwlYNeWE+ScjaUTfTxbs7IRrxFEflEJ rBw81eILjSAQHb8EEUgLdISONoK/yERnlBVCqq2XLcUmtzFbmAKAkszBA7nuCHwz2epT h6O8GME3kHEwwK1REVpC5w0YoxJejWQueBNgTqhAqTHPgaxZsbuBZvJuyWC3apxa7kIo pY0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BqACATKMnsXu5MClIMk0CeKzY8X21wBn/ky+o7hh2wI=; b=TjNNUIDOicELT18oUhNKCHzeh3EOWBOA9EWD/8ndN0bboSB9Th4pwcsQFTcaHoALEI tyvG/+MB6eqzNfiUn+DbD1Fn1Ebl89zQMLZ8HCUN2TCto28NWTz5dMavUPMFaCFovOdN jYuXeQCgdd00YEPPCbhHyo0dulrCOCrw7oxP2GknKshcFvC8EX3HGkL4OcIWJGmkiJrJ 51X9Q920QsOLiFhIqhZMDLuKw+N60H8PVu2eJysb7OuAmHYjbnD71Qi8Jq/YE+FvqXy0 qtlJGI1aoYk8yZgeLji9EatUPUvdZx49tW2rhG3IgYr+yXfJeBbHRhjLGfBkGeDdwTNC rAFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=isOMcTQ5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u90-v6si4409876pfk.82.2018.09.26.01.01.19; Wed, 26 Sep 2018 01:01:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=isOMcTQ5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727366AbeIZOM0 (ORCPT + 99 others); Wed, 26 Sep 2018 10:12:26 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:50825 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726951AbeIZOMZ (ORCPT ); Wed, 26 Sep 2018 10:12:25 -0400 Received: by mail-it1-f194.google.com with SMTP id j81-v6so1775908ite.0 for ; Wed, 26 Sep 2018 01:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BqACATKMnsXu5MClIMk0CeKzY8X21wBn/ky+o7hh2wI=; b=isOMcTQ5X1Hux37Oqpw7cMNsZBQrVqVuQHovmpDeWZBKTBEOo45XRUI/N4FalbohDR /+6oM+35/9Z2NYs7WaBqMPF65ryp2f8MQec/Ng5CtTDpC+l0xFSqlspQ5vYXAEMg+umd Bc6UGJV1do19K/h/CsV9SixeSgr6w1Ma7xHTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BqACATKMnsXu5MClIMk0CeKzY8X21wBn/ky+o7hh2wI=; b=CE0Grmzih1syZ00xqBitYvDz6vOYsW4UsGtZn1mYVL1oD0tbHWhmi0eZ0Mmn+52jbL vug5TzrCUbnyDTI8idgUsyroZ4aP848hF8dPtJqrZ1YA5PkgglnpXciVqECPG5ob1DMs jA89+WQXt1yuXFIrNhHo3ZiRFH5zPZcl+WxkOtBGdrBZfp+F0H6mbFGwHpLXZJ9erVNO oWC23eQlkpF1O78WeG4hZIWsM/JfW+zGrYqaky/Xv1VAgGGSl3jspDdhMf0PP4bmJdDq 8h9kZkqRHbPWGYun5NxzCoSbAYLjc6/uqaUf88vwXYTTzchGAXJwFcCvOB0E3sg0UK7b d3Hw== X-Gm-Message-State: ABuFfohZcKb4iMc58ZYHIrclg7lO7dkQOofX7MUlQykehnBpPBSEw/UR nrN3iyW69OrfZi8SvGai5kit0pCPdGICatEWfwETYQ== X-Received: by 2002:a02:6c45:: with SMTP id w66-v6mr4535661jab.87.1537948845418; Wed, 26 Sep 2018 01:00:45 -0700 (PDT) MIME-Version: 1.0 References: <358665e3f4f9ec105dc2f8a2dc6dd98dbe761fae.1537930252.git.baolin.wang@linaro.org> In-Reply-To: <358665e3f4f9ec105dc2f8a2dc6dd98dbe761fae.1537930252.git.baolin.wang@linaro.org> From: Linus Walleij Date: Wed, 26 Sep 2018 10:00:33 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] power: supply: core: Introduce one property to present the battery internal resistance To: Baolin Wang Cc: Sebastian Reichel , Rob Herring , Mark Rutland , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , yuanjiang.yu@unisoc.com, Mark Brown , Craig Tatlor Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 4:59 AM Baolin Wang wrote: > Introduce one property to present the battery internal resistance for battery > information. > > Signed-off-by: Baolin Wang > --- > Changes from v1: > - New patch in v2. I'm a bit confused by the physics in this patch. The internal resistance of a battery is not a constant in its life cycle, this varies over the age of the battery, and the reason I thing is chemical residuals accumulating on the anode and cathode inside the battery and the energy storage medium aging. (Plus/minus my ignorance about how batteries actually work.) AFAIK the fact that the internal resistance varies is of high importance for people developing algorithms of battery capacity and longevity. Such that some (hardware) capacity monitors go to great lengths to measure with high precision the current internal resistance of the battery for their algorithms. Sorry for making things more complex, but should it be named "factory-internal-resistance-micro-ohms" or "typical-internal-resistance-micro-ohms"? Yours, Linus Walleij