diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2021-03-11 13:17:35 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-18 19:28:14 +0000 |
commit | 29b492c095675a991147fdde0f586aa9efc94da9 (patch) | |
tree | da905a7e1917e47c867abdd7a2d0462bfb684bf8 /zephyr/projects/trogdor/lazor/prj.conf | |
parent | 1c5ff6f4d1ddfd3862f9bcfc85a4564eac63d16f (diff) | |
download | chrome-ec-29b492c095675a991147fdde0f586aa9efc94da9.tar.gz |
PCHG: Don't notify host when there is no soc change
Currently, the host is notified every time a charging info message
is received from a charger chip. This slows down the host entring
suspend state.
This patch makes the pchg state machine skip notifying the host when
there is no battery level change.
BUG=b:182973695, b:173235954
BRANCH=trogdor
TEST=Stylus connect, disconnect, charge events are triggered as
expected.
TEST=Suspend is entered quickly with a stylus attached.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: If27397a56f8cc636637c0872a00496fee3ca7aa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2770504
Diffstat (limited to 'zephyr/projects/trogdor/lazor/prj.conf')
0 files changed, 0 insertions, 0 deletions