summaryrefslogtreecommitdiff
path: root/baseboard/octopus/baseboard.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-04-23 11:37:14 -0700
committerCommit Bot <commit-bot@chromium.org>2021-12-15 01:34:05 +0000
commitf319cf9bce20170273ca36c23555503a56c9de6a (patch)
treeeb4d283ee7d54cbfe04c4f5e64cf347b5c9b3f88 /baseboard/octopus/baseboard.h
parente064512981e2b3c0a33a0fa23dd2e15e6e941e13 (diff)
downloadchrome-ec-f319cf9bce20170273ca36c23555503a56c9de6a.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/+/3336670
Diffstat (limited to 'baseboard/octopus/baseboard.h')
0 files changed, 0 insertions, 0 deletions