summaryrefslogtreecommitdiff
path: root/board/nami/board.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-04-23 11:37:14 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-13 17:33:54 +0000
commit5cc260eb5247184fb3df539a68ef7929407f1938 (patch)
tree4d72fcb4ade63cbe85a8241a269c9f8a5dac4e4b /board/nami/board.h
parent8664258a45b3ccfa2b06f740afba80fa10964e97 (diff)
downloadchrome-ec-5cc260eb5247184fb3df539a68ef7929407f1938.tar.gz
Battery: Add command to export display SoC
Currently, CrOS EC passes the battery remaining capacity (mAh) and the full capacity (mAh) through ACPI to the AP so that the host can calculate the battery SoC. The host further manipulates the SoC to get the display SoC, which is used to determine user visible behaviors. To get consistent behaviors in all power states, this change enables the EC to send the display SoC to the host via EC_CMD_DISPLAY_SOC command. The Powerd's part is I5bd1371f2569d21d55df1b50a3d709b98bbf0325. BUG=b:174433637, b:181506409, b:80270446, b:109954565 BRANCH=dedede, trogdor, nami, hatch TEST=Storo, CoachZ Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: Idc6992625d992a73be141987d02ed220508d3b74 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853142 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872711
Diffstat (limited to 'board/nami/board.h')
0 files changed, 0 insertions, 0 deletions