# Battery level indicator?

**URL:** <https://forum.clockworkpi.com/t/battery-level-indicator/13059>\
**Category:** uConsole\
**Created:** [April 19, 2024, 5:45am UTC](https://forum.clockworkpi.com/t/battery-level-indicator/13059 "2024-04-19T05:45:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![yatli](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yatli/32/6253_2.png) [@yatli](https://forum.clockworkpi.com/u/yatli)\
**Post date:** [April 19, 2024, 12:31pm UTC](https://forum.clockworkpi.com/t/battery-level-indicator/13059/3 "2024-04-19T12:31:11Z")

</div>

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

---

_[View the full topic](https://forum.clockworkpi.com/t/battery-level-indicator/13059)._
