diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-10-27 16:58:16 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-28 21:07:46 -0700 |
commit | cbc14b38f405821618ffd18c4c271f2ccfa1ab5a (patch) | |
tree | efbcea3a6608c0dbd4a4998bf88d1ea346c5f407 /board/reef/board.c | |
parent | df028763fb7f51e61011e6c3fdbbb410b7243797 (diff) | |
download | chrome-ec-cbc14b38f405821618ffd18c4c271f2ccfa1ab5a.tar.gz |
reef: Enable BD9995X power save mode when hibernated
Turn off the charger BGATE when the system is hibernated to
save maximum power.
BUG=chrome-os-partner:59001
BRANCH=none
TEST=Manually verified on the Reef.
System can boot from hibernate wake sources.
Following are the power measurement values at Battery
voltage = 8.3V & temperature = 23 deg C.
a. Normal operation 540uA, 3.500mW
b. BGATE OFF 80uA, 0.592mW
Change-Id: Ia30655ccefbf0dded623246150d53b2a815df2de
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/404685
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/reef/board.c')
-rw-r--r-- | board/reef/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/reef/board.c b/board/reef/board.c index 68d3e5f95c..87bc929d60 100644 --- a/board/reef/board.c +++ b/board/reef/board.c @@ -918,6 +918,9 @@ void board_hibernate(void) /* Enable both the VBUS & VCC ports before entering PG3 */ bd9995x_select_input_port(BD9995X_CHARGE_PORT_BOTH, 1); + + /* Turn BGATE OFF for saving the power */ + bd9995x_set_power_save_mode(BD9995X_PWR_SAVE_MAX); } struct { |