uConsole: How Does Charging Work?

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

1 Like