dt-bindings: qpnp-qg: Add support for weighted capacity learning
Add support to loosen capacity learning qualifying criterion. This helps to learn capacity from any starting battery SOC to any ending battery SOC, provided, battery SOC changes by at least 10 % during charging. Assign weight to this capacity learning event based on the change in battery SOC. Change-Id: I3cdf7d6fe8d53f5b96aab4fad6b7bc293cf523c7
This commit is contained in:
1 parent
c6c3744039
commit
ea593089fa
1 file changed
+15
@@ -262,6 +262,21 @@ First Level Node - QGAUGE device
|
||||
capacity learning cycle. If this is not specified, then
|
||||
the default value is 0. Unit is in decipercentage.
|
||||
|
||||
- qcom,cl-min-delta-batt-soc
|
||||
Usage: optional
|
||||
Value type: <u32>
|
||||
Definition: Minimum change in battery SOC to qualify for capacity
|
||||
learning. If this is not specified, then the default
|
||||
value is 10. Unit is in percentage.
|
||||
|
||||
- qcom,cl-wt-enable
|
||||
Usage: optional
|
||||
Value type: <bool>
|
||||
Definition: A boolean property to enable weighted capacity learning
|
||||
based on change in battery SOC during a charging cycle.
|
||||
If this is specified, then "qcom,cl-min-start-soc" and
|
||||
"qcom,cl-max-start-soc" is not used.
|
||||
|
||||
- qcom,esr-disable
|
||||
Usage: optional
|
||||
Value type: <bool>
|
||||
|
||||
Reference in new issue
Block a user