Re: [PATCH v2] power: supply: qcom_battmgr: Recognize "LiP" as lithium-polymer

From: Dmitry Baryshkov

Date: Tue Jan 20 2026 - 19:35:08 EST


On Tue, Jan 20, 2026 at 08:57:58PM -0300, Val Packett wrote:
> On the Dell Latitude 7455, the firmware uses "LiP" with a lowercase 'i'
> for the battery chemistry type, but only all-uppercase "LIP" was being
> recognized. Add the CamelCase variant to the check to fix the "Unknown
> battery technology" warning.
>
> Fixes: 202ac22b8e2e ("power: supply: qcom_battmgr: Add lithium-polymer entry")
> Signed-off-by: Val Packett <val@xxxxxxxxxxxx>
> ---
> v2: removed extra parentheses
> v1: https://lore.kernel.org/all/20260117210941.6219-1-val@xxxxxxxxxxxx/
>
> drivers/power/supply/qcom_battmgr.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Thanks!


Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>



--
With best wishes
Dmitry