Re: [PATCH 0/4] power: supply: qcom_smbx: report charger state changes

From: Adrian Nguyen

Date: Tue Oct 27 2026 - 04:23:52 EST


On Sat, 03 Oct 2026 16:45:20 -0300, Fabricio Akio wrote:
> qcom_smbx does not handle the charger's chg-state-change interrupt, so
> a charge completing is not notified and consumers can keep a stale
> status.

Tested on a Vsmart Active 1 (SDM660/PM660). Switching charge_behaviour
between inhibit-charge and auto now fires chg-state-change once per
switch, with a uevent carrying the new status. A charge_behaviour write
alone doesn't send one, so this is what lets userspace notice.

Tested-by: Adrian Nguyen <thenguyen1024@xxxxxxxxx> # Vsmart Active 1 (PM660)

(Test script and mail drafted with an LLM assistant.)