power: axp288_charger: fix for API change