Temperamental charging Fairphone 5

FP5 charging issues - #18 by yvmuell might be relevant.

My FP5 (also other relatively modern phones I have) can be fussy about charging. “Usually, the phone charger icon initially shows that it is charging, but then stops charging.” mine does this even on the Fairphone charger sometimes and is getting worse. Seems the guy in the other thread fixed it by replacing the USB-C port.