google_ttf: correct ssoc_out unit and data clear

charging_stats ssoc_out get from batt_chg_stats_close ->
ssoc_get_capacity, it is not raw data hence don't need to shift 8 bits.
Also add reset condition when plug in charger to initial TTF tier data.

Bug: 239769293
Signed-off-by: Jenny Ho <[email protected]>
Change-Id: I2852d0c0b08845597304c343116f54801aee9fcb
diff --git a/google_bms.h b/google_bms.h
index 58ffaa4..35abcf1 100644
--- a/google_bms.h
+++ b/google_bms.h
@@ -507,6 +507,8 @@
 
 int ttf_pwr_ibatt(const struct gbms_ce_tier_stats *ts);
 
+void ttf_tier_reset(struct batt_ttf_stats *stats);
+
 int gbms_read_aacr_limits(struct gbms_chg_profile *profile,
 			  struct device_node *node);