SM5602_FG: apply patch-version: 20220212_00

1.fix The first time the battery be inserted, the power display is low
2.reduce the time of temperature update
3.enable delay-shutdowm feature to set showdown voltage to 3.4v
4.enable SOC_SMOOTH_TRACKING feature to set show battery capacity 100%
  when the real power is 97%

Change-Id: I96d88ce6e4d475a02005234f42a0f4943184bb94
Reviewed-on: https://gerrit.mot.com/2192328
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wingte51 2022-02-16 20:59:58 +08:00 • committed by huanghe
commit 53d7fd804a
2 changed files with 776 additions and 43 deletions

File diff suppressed because it is too large Load diff

View file

@ -56,6 +56,8 @@
#define FG_TEMP_TABLE_CNT_MAX 0x65
#define I2C_ERROR_COUNT_MAX 0x5
#define FG_PARAM_VERION 0x1E
#define INIT_CHECK_MASK 0x0010