Skip to content
Commit 2f38dc4d authored by Matheus Castello's avatar Matheus Castello Committed by Sebastian Reichel
Browse files

power: supply: max17040: Add POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN



Adds the property POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN to export the
chip->low_soc_alert and add the property as writeable, implementing
max17040_prop_writeable and max17040_set_property, so with that the
user space can readjust the alerts.

Signed-off-by: default avatarMatheus Castello <matheus@castello.eng.br>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent ccf193de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment