summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2022-02-14 09:27:55 +0800
committerCommit Bot <commit-bot@chromium.org>2022-02-16 01:52:17 +0000
commit757b2b7708d60482922eb9c3cff2abc803967dae (patch)
treef13a4a64a7baad3e3399b9591bc36e115e4b3faa
parent316bdef1388ee3ff9b8fe4a5c37e4b8347230798 (diff)
downloadchrome-ec-757b2b7708d60482922eb9c3cff2abc803967dae.tar.gz
brya: increase prochot release threshold when adapter < 60w
Set de-assert threshold to as same as adapter rating. We used 90% of adapter rating as de-assert point, but system loading was hard to reach that low when battery < 10%. BUG=b:212359724, b:212363905 BRANCH=none TEST=Test 45w adapter on primus. Change-Id: I6e99cc17299d5a2fbd07f0040f1335150a3de295 Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3460762 Reviewed-by: caveh jalali <caveh@chromium.org> Tested-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
-rw-r--r--board/gimble/board.h2
-rw-r--r--board/primus/board.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/gimble/board.h b/board/gimble/board.h
index 12f5e7c693..91e2090365 100644
--- a/board/gimble/board.h
+++ b/board/gimble/board.h
@@ -203,7 +203,7 @@
#define PROCHOT_DEASSERTION_PD_RATIO 94
#define PROCHOT_DEASSERTION_PD_BATTERY_RATIO 95
#define PROCHOT_ASSERTION_ADAPTER_RATIO 102
-#define PROCHOT_DEASSERTION_ADAPTER_RATIO 90
+#define PROCHOT_DEASSERTION_ADAPTER_RATIO 100
#define PROCHOT_DEASSERTION_ADAPTER_BATT_RATIO 90
#ifndef __ASSEMBLER__
diff --git a/board/primus/board.h b/board/primus/board.h
index 830ad20529..cd45084645 100644
--- a/board/primus/board.h
+++ b/board/primus/board.h
@@ -155,7 +155,7 @@
#define PROCHOT_DEASSERTION_PD_RATIO 100
#define PROCHOT_DEASSERTION_PD_BATTERY_RATIO 95
#define PROCHOT_ASSERTION_ADAPTER_RATIO 105
-#define PROCHOT_DEASSERTION_ADAPTER_RATIO 90
+#define PROCHOT_DEASSERTION_ADAPTER_RATIO 100
#define PROCHOT_DEASSERTION_ADAPTER_BATT_RATIO 90
/* PS2 defines */