Thread (7 messages) 7 messages, 3 authors, 2021-06-19

Re: [PATCH] power: supply: cw2015: Add CHARGE_NOW support

From: Paul Fertser <fercerpav@gmail.com>
Date: 2021-06-18 12:30:55

Hello Martin,

On Thu, Feb 18, 2021 at 07:42:50AM -0500, Martin Ashby wrote:
+	case POWER_SUPPLY_PROP_CHARGE_NOW:
+		val->intval = cw_bat->battery.charge_full_design_uah;
+		val->intval = val->intval * cw_bat->soc / 100;
Are you sure the chip reports current state of charge relative to the
full design capacity rather than to the latest auto-calibrated full
capacity? That would mean that over time as the cells wear out
cw_bat->soc (PROP_CAPACITY) is never going to be reaching 100; does
this match your experience?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help