google_battery: lower charging current when Adaptive Charge is active

To improve thermal impact

Bug: 246810709
Signed-off-by: Jenny Ho <[email protected]>
Change-Id: Ib484143f7e4e224c02050908948b34cb8d76acf6
diff --git a/google_bms.h b/google_bms.h
index 1987042..6ce28d3 100644
--- a/google_bms.h
+++ b/google_bms.h
@@ -307,6 +307,7 @@
 	ktime_t rest_deadline;	/* full by this in seconds */
 	ktime_t dry_run_deadline; /* full by this in seconds (prediction) */
 	int rest_rate;		/* centirate once enter */
+	int rest_rate_before_trigger;
 
 	enum chg_health_state rest_state;
 	int rest_cc_max;