When the current is negative, it is in the charging state,
and when the current is positive, it is in the discharging state.
Change-Id: Idddf799e947c4094de08c6c641f0125ec6fe6a5e
Reviewed-on: https://gerrit.mot.com/2707665
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Alison Venancio <alisonv@motorola.com>
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key