Skip to content

Commit

Permalink
Fix offMid
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed Jul 10, 2022
1 parent fee795b commit 5a63ada
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions install/accd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ if ! $init; then
disable_charging
force_off
sleep ${loopDelay[1]}
rm $TMPDIR/.minCapMax 2>/dev/null || :
continue
fi

Expand All @@ -259,6 +260,7 @@ if ! $init; then
rm /data/system/batterystats* 2>/dev/null || :
}
$maxTempPause && sleep ${temperature[2]} || sleep ${loopDelay[1]}
rm $TMPDIR/.minCapMax 2>/dev/null || :
continue
fi

Expand Down Expand Up @@ -362,13 +364,9 @@ if ! $init; then
fi
fi
fi

sleep ${loopDelay[1]}

fi

rm $TMPDIR/.minCapMax 2>/dev/null || :

done
}

Expand Down

0 comments on commit 5a63ada

Please sign in to comment.