google_ttf: using reasonable delta_cc

delta_cc is the capacity estimated between soc and next_soc.
delta_cc uses div64_u64 by time to calculate the required current,
need to make sure it is a positive value.

Bug: 340390586
Signed-off-by: Jenny Ho <[email protected]>
(cherry picked from commit 48863e294678feab9aca1606fc4c38cc9f3b5b62)
(cherry picked from commit 11ecf42914fcd8c229b24bbd8886373511143bfa)
(cherry picked from https://partner-android-review.googlesource.com/q/commit:eeb55ad30a022a977b395c13933f324cfd7ab73d)
Merged-In: Ib2853db3e930cf94d9950f1fb98b0e86556e4db8
Change-Id: Ib2853db3e930cf94d9950f1fb98b0e86556e4db8
1 file changed