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

Skip to content
Commit d175b741 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: always reschedule recalculation work



Currently, upon getting an error from the RTC or upon resuming before
the RTC counter increases, the BMS stops scheduling the recalculate
state of charge work after waking up from sleep. This can cause SOC
to never be updated again and be stuck at whatever value it was going
into suspend.

Fix this by always scheduling the workqueue upon resume.

Change-Id: I46186106f1f345f8a860bc4e8481ff53dc7dfdba
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 21ba9d2c
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