Handle battery charged alarm
Handle battery charged alarm

When battery flags TERMINATE_CHARGE or OVER_CHARGED alarm, we should
treat them as a signal of battery fully charged.

BUG=chrome-os-partner:18914
TEST=On Spring:
       1. Plug in adapter when battery if full, see green LED.
       2. Plug in adapter when battery is not full, see yellow LED.
BRANCH=spring

Change-Id: Ica414a0e1667b8f30a0cc9a5d66dba1b119a59ba
Signed-off-by: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49456
Reviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>

alterapraxisptyltd/chromium-ec,thehobn/ec,md5555/ec,alterapraxisptyltd/chromium-ec,alterapraxisptyltd/chromium-ec,gelraen/cros-ec,thehobn/ec,akappy7/ChromeOS_EC_LED_Diagnostics,md5555/ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,alterapraxisptyltd/chromium-ec,coreboot/chrome-ec,md5555/ec,fourier49/BIZ_EC,eatbyte/chromium-ec,fourier49/BIZ_EC,coreboot/chrome-ec,gelraen/cros-ec,mtk09422/chromiumos-platform-ec,fourier49/BIZ_EC,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,gelraen/cros-ec,longsleep/ec,eatbyte/chromium-ec,eatbyte/chromium-ec,coreboot/chrome-ec,longsleep/ec,longsleep/ec,akappy7/ChromeOS_EC_LED_Diagnostics,thehobn/ec,fourier49/BZ_DEV_EC,longsleep/ec,eatbyte/chromium-ec,fourier49/BIZ_EC,fourier49/BZ_DEV_EC,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,thehobn/ec,md5555/ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,akappy7/ChromeOS_EC_LED_Diagnostics,gelraen/cros-ec,fourier49/BZ_DEV_EC