sw5100_bms: Force QBG to HPM when charging

Force the Qualcomm battery gauge update interval to high power mode when
charging and restore it to normal operation otherwise. This increases
the update interval ensuring SOC correctness.

Bug: 311436888
Bug: 297541229
Test: Confirm HPM update interval (6s/30s) while charging.
Signed-off-by: Brandon Edens <[email protected]>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:58fe327e244fcbd7334686404f0f85c249bae4d3)
Merged-In: Ica77d3bbd33a10007b7e51170c010d1a43cbb582
Change-Id: Ica77d3bbd33a10007b7e51170c010d1a43cbb582
1 file changed