Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp139381rdb; Thu, 8 Feb 2024 01:12:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyjk7ZU3QFI9zzJD3mDDqs08pK7rHW3Aff80sgDXEKeqhaWunSeb3Kkfywd8oWsdUXUoKs X-Received: by 2002:a9d:644f:0:b0:6e0:d6e9:debe with SMTP id m15-20020a9d644f000000b006e0d6e9debemr7235448otl.32.1707383539749; Thu, 08 Feb 2024 01:12:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707383539; cv=pass; d=google.com; s=arc-20160816; b=1JlAwRC1LvsRRKu3tJXE1T1XXgJUOg0nYi8ZfVNSJ8XvaJRi62swKbgFisR9/JNzxZ /ani/ST0vCWaiWiGX+jd1uqHByJEK/llapmDM6IQkaOlzXAgOEP2QnDPix20fdgfPso3 bt9komuwRe0vuqWQs/3GP++WynNURaDD1/Rm9iUzxWtJ3DVxaOM1iAhCiGxATC0QnTdr Mn+De6sB9uu4nwU37YLP+cu9uO/ZQTPflelIwHF/adFwKM6kWy/tdGTzhlX2CgEqy6QJ Le/S8m0oqFusnbiqIBMQicgYEjGNgN/dtc5H8W7lzJMkonO3flMO67u0T5OYdYFnJbr4 PnIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ODP2WukdSN69Dkq02zl0rD7xO+0dL+boJwASghdWLqQ=; fh=sWBZ4b9m/oPLqaF9WSluQ4jVoyQRKBb5VkgM9uX9Kb8=; b=Ynse2gI9mhfuu9M54glucNoc2N0q800LwBRRn+D+qpIhkT9B/5hOwqmyz6gOZQF1U0 x0zu4vv2l4F6f1mU7QWX7Cf2qiR+YVz6oA1HpVO3qy6Om9DtNCArC27xZCtjtxfCllub j25eRXG3YgaW5ixOAxHv6F5Ec1PXdyQy68Pfch3AlI1zML2HD7mNetngSdC/n7wci1NA kjEty8nmReAVVpyzdtO9O3ZF+8qI1xKRSdYEUQeLOzpThVfyzOfa9auYugIVnmTOlNPU zMEJnOJqZ/yjvKZ5yLS/kjGKvxSc+GJ5V65HKVB9P/tUMtx4dF2ygK4BN4Troh8OONSc baJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gm0R7rIS; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-57700-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCVp5AGt3H2k26bzPEU6tPfHERO9MSLOmH/c9Vw7XzArA4uFHIC2/5UeFcijnXgKasaPIfW9W5iCbx3LvA8sO+wGNFLJ96xOVg9EKAF2hw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 83-20020a630056000000b005d8b481c4e3si3273665pga.213.2024.02.08.01.12.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:12:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57700-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gm0R7rIS; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-57700-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5F80D28439A for ; Thu, 8 Feb 2024 09:12:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D6F56BFBF; Thu, 8 Feb 2024 09:11:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gm0R7rIS" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5BA66BB2B for ; Thu, 8 Feb 2024 09:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383495; cv=none; b=t0j+kzx2F4mEai7h4l/IuHsiCpz0xigl/+gRZkDjU8yi2nAmUGxLAMvqFHss0eC1iaWi4Fa5eu8j8hHqk2wXwilbI9bpq+Kizbo6nli9JK+dLsjr8POnWL+GxFZ/RzHASBUDkno94cbARDweCewWEq5bBTET1F+9l+/ZTBV2jgM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383495; c=relaxed/simple; bh=Urc6EHEV1trg40jncFnSWzA6C6SNuCgkQqkElyHPFDc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aywVNa0StIixAFxca6UP8596BYNMFp1C/oX025PMdMghEsjLM008PPPURA2NLpiefA7HGvFsjoPPa7+UdQZ9s3Fmzg46syIsYJPqd4xkyz9XHCiPd0tLt8Kp5rQaGG8gBZ+OCgh/iYV1DPT1oFvqrwcRMPVpUWRCEl3iWH7jg7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gm0R7rIS; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707383492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ODP2WukdSN69Dkq02zl0rD7xO+0dL+boJwASghdWLqQ=; b=gm0R7rISWF1T5jnwHuwy6o7sFI9YvPOPHaEFDV8QK3YqJIEwutwsLSIeopGiQ3K0uq6VIx vMsnTpHzitg4v+fH1CeeMhLE6sD1fTNfBASwrqkVsV41muZiJwvxC/i84LNAmsvaQfHsCS Rv3Rc5pCQFSeilBbxNJ/5dzlOSVheDs= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-282-UHrlApiJN_m-Qo5da50hXg-1; Thu, 08 Feb 2024 04:11:31 -0500 X-MC-Unique: UHrlApiJN_m-Qo5da50hXg-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a29bb25df84so102373866b.1 for ; Thu, 08 Feb 2024 01:11:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707383489; x=1707988289; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ODP2WukdSN69Dkq02zl0rD7xO+0dL+boJwASghdWLqQ=; b=D3xcduB6a28WATp4A/zYkzeEg3G5/AmvXa79Nn4wifZA2Bl0DxdRr0mALXuQ8vE3/9 PWYBuSNK2s6ZVMsmQHNLJ2KpdeRj4KX7pJkB9Gcku7CTakbclig/u6XvA+VxlNfVAz3L Wd2yhWzbqyHlyHEE1wgw2i7i4kd5czmDOGdAjyTukfU/85ndnDswhIMMjLPeVG+6stj/ 1f3iJISGcSuiG3JBsG+G5V09WAvpc0Hst1h9ee7xsD9KU2Hlq+15itiqo017YhBPfs0x jNb+AFL0L9aD+OPlR+LKdrXYfCdxBrPqrRmQUa/PTqm+UN1ymMGqtSqx9wA6SzHoYhIO N6tQ== X-Gm-Message-State: AOJu0YwE8syytDl7lPSVcwI6u1rPwyGnmhgqI8+bSBNr3iRE2lYU9nFe dNTy4l0ELAp9d20KJGvz417QzqulfJjklo0h5R2lWLyFtoUhpeQzz/Wbp0Nw3yetWnR5vxq9L6l 3tuHrAfB6Ygnv4DN5LiKfR5vnQWGI5T2LldZ3uT/Ng0jyyrqyWOrwpBz1LYuH3qWk6KBnPQ== X-Received: by 2002:a17:906:646:b0:a35:e7a1:66ec with SMTP id t6-20020a170906064600b00a35e7a166ecmr6291431ejb.44.1707383489684; Thu, 08 Feb 2024 01:11:29 -0800 (PST) X-Received: by 2002:a17:906:646:b0:a35:e7a1:66ec with SMTP id t6-20020a170906064600b00a35e7a166ecmr6291406ejb.44.1707383489319; Thu, 08 Feb 2024 01:11:29 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXkdRl1vJKg/b3td1NZr+chxeIyNwN7pTQt2rngSxHGoyMvttmXgtCzALoEA/eMUgPP7oxkgXqwdGK3XK6owIp7bPB0qTyD/dV9koGrIpQSS3l8bdUZSbRvw6CfzbJhBgYTP7FgFgBEyq6gPIgv03AU4Cghbn0M6HfPvlO5fQvwFTP/jedww8ys41FolFAEAYtBWs1AN+qpQfD8JKqQsm+lcpg8zsXS Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id tj7-20020a170907c24700b00a38a2fa2d4bsm910651ejc.45.2024.02.08.01.11.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Feb 2024 01:11:28 -0800 (PST) Message-ID: Date: Thu, 8 Feb 2024 10:11:27 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v3] platform/x86/fujitsu-laptop: Add battery charge control support To: Szilard Fabian Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, jwoithe@just42.net, ilpo.jarvinen@linux.intel.com, W_Armin@gmx.de, Jelle van der Waa References: <20240129163502.161409-2-szfabian@bluemarch.art> <20240129175714.164326-2-szfabian@bluemarch.art> <20240207023031.56805-2-szfabian@bluemarch.art> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Szilard, On 2/8/24 02:56, Szilard Fabian wrote: > Hi, > > On Wed, Feb 07, 2024 at 09:57:21AM +0100, Hans de Goede wrote: >> Thank you for your patch. Do you happen to know if there also >> is a noticeable fixed start threshold which is like say always 5% >> lower then then end threshold ? > There is a start threshold, it's always 11% lower than the end threshold. > I don't know yet if it's a fixed value or if there is a way to set it to a > different value. Thanks that is useful to know. We can add this to the driver once we have come up with a way to export these kind of fixed start offsets to userspace. Regards, Hans