Gandof: Modify battery cut-off execution condition
For battery cut-off to run successfully,
- Battery voltage below 12V while AC_PRESENT
- Shutdown while AC_PRESENT
BUG=chrome-os-partner:42170
TEST=Factory wipe and check the battery is cut-off.
Factory reset and check the battery is cut-off.
Change-Id: I9804af94556c7738ef2af0586eb404a99056826d
Reviewed-on: https://chromium-review.googlesource.com/296202
Reviewed-by: Bowgo Tsai <bowgotsai@chromium.org>
Commit-Queue: Kitty Liu <kitty.liu@intel.com>
Tested-by: Kitty Liu <kitty.liu@intel.com>
8 files changed