Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e148e353 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Enable updating of RECHARGE_SOC PSY property



Currently, reading the POWER_SUPPLY_PROP_RECHARGE_SOC property returns
a static, cached value initially set to the threshold value specified in
the device tree. Update this cached value whenever the threshold value
is successfully written to.

Also, move the setting of the threshold value to a separate function.

CRs-Fixed: 2249337
Change-Id: I2a476f59cde21540ee10d0623724105df7933b14
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 9ee89464
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment