Whoa! I didn’t those could be set… time to experiment!
- voltage_min_design: 2.6v to 3.3v in 0.1v increments
- voltage_max_design: either 4.1v or 4.2v (?!?)
- constant_charge_current: 300mA to 2100mA in 150mA increments
- constant_charge_current_max: 300mA to 2100mA in 150mA increments
- status: my stock manjaro kernel only seems to accept Charging, 1, 2, and 3…
– 2 and 3 stops charging.
I used the AXP228 datasheet, a calculator, and pen and paper. It was my first time with both i2cset and bitmasks, and it was pretty fun
Also, don’t forget the blinky charge led!