Skip to content

Commit 70b2666

Browse files
committed
Update documentation
1 parent d0f5d28 commit 70b2666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ bool setEndOfChargeCurrent(uint16_t current)
739739
Set the end-of-charge current. The charger IC determines when to terminate the charge cycle based on the current going into the battery dropping below the given threshold during the constant voltage phase. At this point, the battery is considered fully charged and charging is completed. If charge termination is disabled, the charge current will naturally decay to 0mA, but this is rarely done in practice. This is because the amount of charge going into the battery exponentially decreases during CV charging, and it would take a significantly longer time to recharge the battery with a very little increase in capacity.
740740
741741
#### Parameters
742-
* `current` End-of-charge current in milli amperes (mA). The default end-of-charge current is set to 5 mA. Supported values: 5, 10, 20, 30, 50
742+
* `current` End-of-charge current in milli amperes (mA). The default end-of-charge current is set to 50 mA. Supported values: 5, 10, 20, 30, 50
743743
744744
#### Returns
745745
True if successful, false if an invalid value was provided or if the PMIC communication failed.

0 commit comments

Comments
 (0)