google_battery: Add voltage tier at 100p/fix AC deadline

This calculates time after full charge.

This also ensures that no algorithm disable can be set after
A/C has already been completed

Bug: 168980587
Bug: 161000427
Signed-off-by: Stephane Lee <[email protected]>
Change-Id: I2c126cb8419d92428d7fa8bad61fd5c14b766812
Signed-off-by: Ken Tsou <[email protected]>
(cherry picked from commit b6e2b16083675a57f5e0e69644a7462c3ce56119)
2 files changed