-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
ChameleonUltra/firmware/application/src/ble_main.c
Lines 231 to 247 in 7065011
| #if defined(PROJECT_CHAMELEON_ULTRA) | |
| // Ultra | |
| #define P100VOL 4200 | |
| #define P80VOL 4034 | |
| #define P60VOL 3904 | |
| #define P40VOL 3824 | |
| #define P20VOL 3754 | |
| #define P5VOL 3644 | |
| #else | |
| // Lite | |
| #define P100VOL 4200 | |
| #define P80VOL 3934 | |
| #define P60VOL 3844 | |
| #define P40VOL 3784 | |
| #define P20VOL 3744 | |
| #define P5VOL 3644 | |
| #endif |
I believe the value of #define P100VOL 4200 is incorrect. This is the theoretical upper limit for 90mAh, but the actual value is only between 3160-3190, which will only cause the software to fail to display 100% after the battery is fully charged and then disconnected.
I recommend using the minimum compatible value, and also suggest adding a battery calibration function and a battery health display to help us understand the current state of the battery.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels