summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 712edde714..c3abb4bf93 100644
--- a/include/config.h
+++ b/include/config.h
@@ -500,10 +500,15 @@
* will be equal to full_capacity eventually. This used to be done in ACPI.
*/
#define CONFIG_BATT_FULL_FACTOR 98
-#define CONFIG_BATT_HOST_FULL_FACTOR 94
#define CONFIG_BATT_HOST_SHUTDOWN_PERCENTAGE 4
/*
+ * Powerd's full_factor. It has to be 100(%) to get display battery percentage.
+ * Otherwise, display percentages will be always zero.
+ */
+#define CONFIG_BATT_HOST_FULL_FACTOR 94
+
+/*
* Expose some data when it is needed.
* For example, battery disconnect state
*/