diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index e6a72b0d7f..d732145fae 100644 --- a/include/config.h +++ b/include/config.h @@ -492,6 +492,20 @@ #undef CONFIG_BATTERY_MEASURE_IMBALANCE /* + * If remaining capacity is x% of full capacity, remaining capacity is set + * equal to full capacity. + * + * Some batteries don't update full capacity timely or don't update it at all. + * On such systems, compensation is required to guarantee remaining_capacity + * will be equal to full_capacity eventually. This used to be done in ACPI. + * + * This number should match those used by powerd to evenly scale battery + * reading from 0 to 100%. These are default values, which are effective until + * the host boots. + */ +#define CONFIG_BATT_FULL_FACTOR 98 + +/* * Expose some data when it is needed. * For example, battery disconnect state */ |