google_battery: implement Adaptive Charge Pause(ACP) feature

For better user experience in adaptive charge, we pause charging while
detect the calculation of deadline and ttf under expection. And resume
to charge with buffer to make sure could charge full before deadline.

Bug: 186462454
Signed-off-by: Jenny Ho <[email protected]>
Change-Id: Ia2f6bdbaa6aaf3b393c75ccb52ab1e0e19a3642d
1 file changed