power: fg-alg: Fix condition to schedule TTF work
In the TTF algorithm, if we exit ttf work due to charging status
change or due to error, the work is not rescheduled. Fix this by
always scheduling the ttf work as long as the charging is not
terminated or SOC reaches 100.
Change-Id: Iec20b0b22cb97b99ddd1fb3ec8099a9cad634d00
Signed-off-by:
Shyam Kumar Thella <sthella@codeaurora.org>
Loading
Please register or sign in to comment