Re: [PATCH v2 4/4] power: supply: max17040: Send uevent in SOC changes

2019-04-15 Thread Krzysztof Kozlowski
On Mon, 15 Apr 2019 at 03:48, Matheus Castello wrote: > > Notify core through power_supply_changed() in case of changes in state > of charge. This is useful for user-space to efficiently update current > battery level. > > Signed-off-by: Matheus Castello > --- > drivers/power/supply/max17040_bat

[PATCH v2 4/4] power: supply: max17040: Send uevent in SOC changes

2019-04-14 Thread Matheus Castello
Notify core through power_supply_changed() in case of changes in state of charge. This is useful for user-space to efficiently update current battery level. Signed-off-by: Matheus Castello --- drivers/power/supply/max17040_battery.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/driv