Set battery charging thresholds in common.mk
Battery threshold control is entirely software-defined and does not depend on any board-specific behavior.
This commit is contained in:
committed by
Jeremy Soller
parent
285d622fbc
commit
76e02c9514
@@ -24,11 +24,6 @@ CFLAGS+=\
|
||||
-DCHARGER_CHARGE_VOLTAGE=12600 \
|
||||
-DCHARGER_INPUT_CURRENT=11800
|
||||
|
||||
# Set battery charging thresholds
|
||||
CFLAGS+=\
|
||||
-DBATTERY_START_THRESHOLD=0 \
|
||||
-DBATTERY_END_THRESHOLD=100
|
||||
|
||||
# Set CPU power limits in watts
|
||||
CFLAGS+=\
|
||||
-DPOWER_LIMIT_AC=180 \
|
||||
|
Reference in New Issue
Block a user