google_ttf: normalize equiv icl to vtier

calculate equivalent power from the adapter for vtier (instead
of for adapter voltage) and simplify the code that determine
the ratio to apply to the elap time for underpowered adapters
or special charging profiles.

Add fixed efficiency ratio (95%) for the conversion between
adapter power and vtier power.

Bug: 163087907
Test: patchwork/
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: I3a7a62bfb3869478686fa0d7716e9b9767d01131
Signed-off-by: Ken Tsou <[email protected]>
(cherry picked from commit a527d25b8611b7f5d8d82975a9b5babc415e373f)
1 file changed