summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-08-03 15:59:33 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-05 06:39:17 +0000
commit99403f81f1fb68c58ad6a15c577ea7edf343efa6 (patch)
tree82b59cedb92ffc79d3422b6f63da35b837039848 /include
parent0e1b12e42b852314b472998649ed3308640fec3f (diff)
downloadchrome-ec-99403f81f1fb68c58ad6a15c577ea7edf343efa6.tar.gz
battery: Update the default powerd's full factor value
Use the same default value as powerd, i.e. 97% instead of 94%. The value comes from: src/platform2/power_manager/default_prefs/power_supply_full_factor BRANCH=None BUG=b:162604872 TEST=Checked EC showing the same Display percentage as the UI. Change-Id: Ia8547915251ea80bc663b5f15435060acacf9021 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335887 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index 95844382b5..06d9b961aa 100644
--- a/include/config.h
+++ b/include/config.h
@@ -606,9 +606,10 @@
#define CONFIG_BATT_HOST_SHUTDOWN_PERCENTAGE 4
/*
- * Powerd's full_factor.
+ * Powerd's full_factor. The value comes from:
+ * src/platform2/power_manager/default_prefs/power_supply_full_factor
*/
-#define CONFIG_BATT_HOST_FULL_FACTOR 94
+#define CONFIG_BATT_HOST_FULL_FACTOR 97
/*
* Smart battery pass-through host commands.