Arch Linux ARM for uConsole w/ RPi CM5

Another small update: the axp20x_battery driver now reports energy_now based on what the PMIC reports, not just the design capacity.

You can now also customize your battery’s capacity with

dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=<full charge in uAh>,energy_full_design_uwh=<full charge in uWh>

after the dtoverlay=clockworkpi-uconsole-* line.

For example I added an extra 2040mAh battery to my uConsole with 2 existing 3500mAh batteries, I would write:

dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=9040000,energy_full_design_uwh=32544000

energy_full_design_uwh assumes a 3.6V typical voltage.

Both of these changes will be PR’d back to Rex’s kernel soon.