Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp507078pxy; Sat, 31 Jul 2021 15:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz45MIqHB6jXUkv6SGOS2px+jNKS7/XzY0Z+u+zeGHm2smgxzg6BvOa/1xHU1FQcHkyO1Rv X-Received: by 2002:a92:6711:: with SMTP id b17mr432490ilc.122.1627769376772; Sat, 31 Jul 2021 15:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627769376; cv=none; d=google.com; s=arc-20160816; b=m1STw11IPQo44HrLvdfQ2tEQXZVqguOcndLx21HhSErC4exUd7wMHVFaHIqq+Mw+Fr 5CFVJsMCUhRo+cywBe4Z7it5i8cl6/eet+W6GJpueourCgD+ospi/+UGtnReiP+/2KQ2 YxOrgsQCiqlqk4/knJtXvbkIOAm7W4gtzhKrjYAwBSxQLnaRdTxq2ARUT9N/2HOUGiPM h/7SKREqVv1XVtzBjihlFazRIXh7s3BqdlZ22Kg2ceeDkwXLyqyM48abeBhD+AVOoa8O RNL38ihfo+1JOGppDth1XJrYDMIBWduWU2aex6M51EXmi0kLw5LwV6qBMjrxE82XVRSr sjtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:date:references:in-reply-to:cc:to :from:subject:message-id:dkim-signature; bh=F/rFKRmbOQq9ALjgMY+H9ZQfj+XBLIymkBXHGLS4rJQ=; b=C40nwuD3Yn3aDUjZ7TN3xfeyXs4MZspwO/c4UjrPLKICUxwH6D9wm/QTINrrGxYDDc lmQ8qVr5TQSZ+tm9noyS4ibbh8LmB0X/Px3eEDCS6zaDwqPvsPHxo8/MpzkWQ+oRr1U4 lLOuRwH2RIjdCX+533AsCf6ns+0KSzWg4PpXCP2CRaO5eM538mXmsdTFbtq2PRtNiH6w x+QlpCNgwaUet4ihw0HO2qH19WtyD1NR6PLQ5CU6MB+2CO0KnExXhjTQLhZ65ru7Dhgq ogpjizaWE6JN4oB1ta/0FMvDuXmOAsOkT9J/JcKbKc3HHurYCF2whApAG+IjCFQe8X7t gVYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=P+4raG2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h28si7625308ioz.12.2021.07.31.15.09.15; Sat, 31 Jul 2021 15:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=P+4raG2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231653AbhGaWIT (ORCPT + 99 others); Sat, 31 Jul 2021 18:08:19 -0400 Received: from mx1.riseup.net ([198.252.153.129]:42412 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhGaWIT (ORCPT ); Sat, 31 Jul 2021 18:08:19 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Gcdgc0xwSzF4FT; Sat, 31 Jul 2021 15:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1627769292; bh=F/rFKRmbOQq9ALjgMY+H9ZQfj+XBLIymkBXHGLS4rJQ=; h=Subject:From:To:Cc:In-Reply-To:References:Date:From; b=P+4raG2q0Eu0b3412u5g+43WMYfmzjXFv2qLGNCTC4MoeoSkxkkH5eTYf7U4bfbXN +0daM0Srnmy5be55L2lsHav51LZ1VXwppBFpvSSYEDMq7YeIgJhe1sHqWsGwXLSGgi JCkI0Xz6fj92eyginsBwxaoBidfWHWzKUcTEw+RU= X-Riseup-User-ID: DB4F723F64DE5F8C1128BAB35A63DD05743D9CC089447E8F30A909201F243FCF Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4GcdgZ3s0Xz5w7g; Sat, 31 Jul 2021 15:08:10 -0700 (PDT) Message-ID: <084f4be8150e83f865b8a8c768ae9fea6d205330.camel@riseup.net> Subject: Re: [PATCH v3] HID: logitech-hidpp: battery: provide CAPACITY property for newer devices From: Filipe =?ISO-8859-1?Q?La=EDns?= To: Hamza Mahfooz Cc: linux-kernel@vger.kernel.org, Bastien Nocera , Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org In-Reply-To: <86WPWQ.ODI6WUKUKD0N3@effective-light.com> References: <20210723185720.29314-1-someguy@effective-light.com> <86WPWQ.ODI6WUKUKD0N3@effective-light.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-in/OeNRbjo+2DEid1fFH" Date: Sat, 31 Jul 2021 23:08:07 +0100 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-in/OeNRbjo+2DEid1fFH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2021-07-23 at 17:39 -0400, Hamza Mahfooz wrote: >=20 > On Fri, Jul 23 2021 at 08:42:32 PM +0100, Filipe La=C3=ADns=20 > wrote: > > That said, I think we should definitely have a comment here nothing=20 > > that, and > > possible have some bounds checks for the reported voltage value=20 > > hinting that > > there may be bug. >=20 > Hey Filipe, >=20 > Do you have any thoughts on what the bounds ought to be? > 3500 mV seems like a rather safe lower bound, however the upper bound > seems much more fuzzy. >=20 >=20 Hi Hamza, Sorry for the delay getting back to you! The most relevant bound would be t= he lower one, but I think 5000mV would be a good value. Cheers, Filipe La=C3=ADns --=-in/OeNRbjo+2DEid1fFH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0jW0leqs33gyftiw+JPGdIFqqV0FAmEFyccACgkQ+JPGdIFq qV2mMA/+OAq+BFtdGOobLYmDG6SQqixQLQe+UEJkZ0D+zN5QW+I9RIfaOYCzCUis Q7exSbqvCwLsoYNDWosleKnNpGHLTnCPALeBYJracblZsipJdYt2WAVBuwAmnZSJ uGAWiI2zwjpiYVqP8Y8aIPfH60YaAbrnp7rHuddx63Mx7XWz/l8PuMURsBkSgEOX d69Dz55qA87TuxwffDv52mAizV2r9XVkX82ML0WGHA7JoubapsZhWRciJN6iknGX EBdrtQECdivEelv0AHis1xpjLgUEVzkG0JYpzRbSdwC/wXxDHdWRFGzptQuI96Jx WeW0V4PKB0P9kCFcWlq6fOgrYsWXVGszCZsvekL8DFNa80bHf+kPD0Xe0aMTiUA6 ZBq9B1yGL0fRyjn4NX7MznateFqWDvsF7ZXrcltkFIUZmWbrsA1W+fgRBMyxEIwz kZoByRP8/2um9plPiK+ModmoZxLwL9EsIMU/9nnv7i2YT0S0H4t91TopRZJy/Upg 0Y2eYo0/5ZuK2bQuWGYyQeaNlERbMR7LIebkXB+C4KllHfaSL7Dr2FBuHI5jwbw1 9dUUpLBk1XyBgwFA6AYWRX+96O6AYMzOTACRJ3zaeHqVgoSc6scaoUf5YX/Xlb5v elap2wQ3QocISISvw+/dkn40LFM7CRl6HwVHP58I/I/TRPrfegY= =gKt5 -----END PGP SIGNATURE----- --=-in/OeNRbjo+2DEid1fFH--