mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 12:52:26 +00:00
We've been using the basic configuration (EZ config) to initialize max17055. It doesn't require battery profile, but the accuracy of fuel gauge is not the best. With a full battery profile in place, we should extend our driver to import the battery profile for advanced config. It should boost the accuracy. BUG=b:69634899 CQ-DEPEND=CL:812481 BRANCH=none TEST=manually test on Scarlet rev2, 'battery' command shows reasonable reading no matter is_ez_config is set as 0 or not. Change-Id: Iaea2d3e20f5de4207a86d4fff5f1561aaba4d362 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/813038 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>