# uConsole: How Does Charging Work?

**URL:** <https://forum.clockworkpi.com/t/uconsole-how-does-charging-work/10990>\
**Category:** uConsole\
**Created:** [September 20, 2023, 3:10am UTC](https://forum.clockworkpi.com/t/uconsole-how-does-charging-work/10990 "2023-09-20T03:10:35Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![scyto](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/scyto/32/8200_2.png) [@scyto](https://forum.clockworkpi.com/u/scyto)\
**Post date:** [October 10, 2023, 11:01pm UTC](https://forum.clockworkpi.com/t/uconsole-how-does-charging-work/10990/33 "2023-10-10T23:01:00Z")

</div>

> [@USFrozen](#):
>
> `ATTR{constant_charge_current_max}="2500000",`  
> `ATTR{constant_charge_current}="2400000"`

Thanks this worked on my CM4  
(Assuming i can trust cat /sys/class/power\_supply/axp20x-battery/constant\_charge\_current)

hmm maybe this is better  
alex@uConsole:~ $ cat /sys/class/power\_supply/axp20x-battery/uevent  
POWER\_SUPPLY\_NAME=axp20x-battery  
POWER\_SUPPLY\_TYPE=Battery  
POWER\_SUPPLY\_PRESENT=1  
POWER\_SUPPLY\_ONLINE=1  
POWER\_SUPPLY\_STATUS=Charging  
POWER\_SUPPLY\_VOLTAGE\_NOW=4173000  
POWER\_SUPPLY\_CURRENT\_NOW=680000  
POWER\_SUPPLY\_CONSTANT\_CHARGE\_CURRENT=2400000  
POWER\_SUPPLY\_CONSTANT\_CHARGE\_CURRENT\_MAX=2400000  
POWER\_SUPPLY\_HEALTH=Good  
POWER\_SUPPLY\_VOLTAGE\_MAX\_DESIGN=4200000  
POWER\_SUPPLY\_VOLTAGE\_MIN\_DESIGN=3300000  
POWER\_SUPPLY\_CAPACITY=85  
POWER\_SUPPLY\_ENERGY\_FULL=8000000  
POWER\_SUPPLY\_ENERGY\_NOW=7500000

---

_[View the full topic](https://forum.clockworkpi.com/t/uconsole-how-does-charging-work/10990)._
