Battery level indicator?

Hello all, how accurate is your battery level indicator? In my case the battery shuts down with no warning (and the indicator taskbar says its at about 80%). Is that normal?
Then, if I connect the unit to the charger, the charging stops after 20 minutes or so (as indicated by my USB charge indicator). It is quite certain that the two empty batteries are not charged to full within that time. (The unit is off while charging)
The batteries themselves should be fine - tested them on a computerized battery charger - they both have about 3200mAh, measured by a full charge - discharge cycle.
Any fix to make the display and the charging better? Thank you for any suggestions

So this is a fix someone figured out, it helped with both faster charging and battery life for me, might be some help to you

You probably need to calibrate the battery gauge. I read through the axp228 manual and added this feature to my kernel for A06/CM4.

The manual did not state HOW to calibrate thought :joy:
So I guess just:

  • charge it up to 100%
  • activate the calibrate function
    • echo 1 | sudo tee /sys/class/power_supply/axp20x-battery/calibrate
  • let it drain to poweroff
  • charge it up again.
1 Like

Thank you both. I will try your suggestions. Just one (naive) question. Charging should work with the unit off, is that not the case? When off, then the kernel has no influence on charging, has it?

I get “permission denied” when attempting to run the command.

With what i did it charges, but it might charge without it i never really tested it

Yes. Completely power off, then plug in. The charger will use it’s default settings.

1 Like