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

Skip to content
Commit 6a4db4ee authored by Shyam Kumar Thella's avatar Shyam Kumar Thella
Browse files

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: default avatarShyam Kumar Thella <sthella@codeaurora.org>
parent 7bd947be
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