From 1de54970e674b3b9fbf617b0c204db881c43091e Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Thu, 23 Feb 2017 14:43:02 +0800 Subject: [PATCH] hammer: Enable LOW_POWER_IDLE Lower hammer's power usage when USB is not in use. One thing that is missing is some way to put the trackpad into low power mode as well (should be some I2C command). BRANCH=none BUG=chrome-os-partner:62325 TEST=build and flash hammer, connect USB, check power consumption averaged over 10s is around ~57 mW (~32 mW for base EC, ~25 mW for trackpad). TEST=Suspend host, power consumption drops to ~3 mW (~0.04 mW average for base EC, ~3 mW for trackpad). TEST=Pressing keyboard key or touch the trackpad wakes the system. Change-Id: I45f5e300d9d9e2bf49a327949649b0e44b544640 Reviewed-on: https://chromium-review.googlesource.com/446220 Commit-Ready: Nicolas Boichat Tested-by: Nicolas Boichat Reviewed-by: Vincent Palatin --- board/hammer/board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/board/hammer/board.h b/board/hammer/board.h index 610c3727bd..1302291089 100644 --- a/board/hammer/board.h +++ b/board/hammer/board.h @@ -22,6 +22,7 @@ #define CONFIG_UART_CONSOLE 1 /* Optional features */ +#define CONFIG_LOW_POWER_IDLE #define CONFIG_STM_HWTIMER32 #define CONFIG_HW_CRC