Re: [PATCH] platform/x86: huawei-wmi: Set battery charge thresholds through \SBCM
From: Eren Özen
Date: Tue Dec 01 2026 - 23:46:17 EST
Hi Hans, Ilpo,
Another gentle ping on this patch. It still applies cleanly to the
current for-next (6fc627bda235) and review-ilpo-next (f09fec5a32d4);
huawei-wmi.c hasn't changed since I sent it.
Fuwei's power profile series, now at v5 [1], is meant to go on top of
it and will be rebased on it once it lands. This patch doesn't depend
on any of the series' changes, so taking it first would mean only one
rebase. Fuwei has also tested the fix, adapted to the new
huawei_wmi_cmd(), on an NbF-XX: writing 75/80 moved the EC out of
smart-charge mode and charging stopped as expected. I ran v4 of the
series plus the adapted fix on my CREM-WXX9 [2] and got the same
thresholds and EC mode.
Is there anything you'd like changed, or would you prefer a v2?
[1] https://lore.kernel.org/all/C155DF63B372E25F+20261201144116.357623-1-12313607@xxxxxxxxxxxxxxxxxxx/
[2] https://lore.kernel.org/all/Lctt9fo-NsAMla3nd_ry-cvQMz3Wpihli4EPJZgRd3mbK7TZIOmd7Nx6H-dC9C0kT5NU0QaNOdNi8LfG7ZGDQUDT4bnteKs5ooIT_piOFYU=@protonmail.com/
Thanks,
Eren