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: Xiaozhe Shi <xiaozhes@codeaurora.org>
1 file changed