Skip to content

Fixed the issue where the battery level could not be displayed as 100% when fully charged. #334

@GH-H4d35

Description

@GH-H4d35

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions