google_battery: add chg_raw_profile for logging

Bug: 205900551
Signed-off-by: Jenny Ho <[email protected]>
Change-Id: Ie96900766fcf46c22a67a45f44e5f648c411fe29
diff --git a/google_bms.h b/google_bms.h
index bf48a06..e6e7cca 100644
--- a/google_bms.h
+++ b/google_bms.h
@@ -28,6 +28,7 @@
 
 #define GBMS_CHG_TEMP_NB_LIMITS_MAX 10
 #define GBMS_CHG_VOLT_NB_LIMITS_MAX 5
+#define GBMS_CHG_ALG_BUF 500
 #define GBMS_CHG_TOPOFF_NB_LIMITS_MAX 6
 #define GBMS_AACR_DATA_MAX 10
 
@@ -372,8 +373,8 @@
 
 void gbms_free_chg_profile(struct gbms_chg_profile *profile);
 
-void gbms_dump_raw_profile(const struct gbms_chg_profile *profile, int scale);
-#define gbms_dump_chg_profile(profile) gbms_dump_raw_profile(profile, 1000)
+void gbms_dump_raw_profile(char *buff, size_t len, const struct gbms_chg_profile *profile, int scale);
+#define gbms_dump_chg_profile(buff, len, profile) gbms_dump_raw_profile(buff, len, profile, 1000)
 
 /* newgen charging: charge profile */
 int gbms_msc_temp_idx(const struct gbms_chg_profile *profile, int temp);