Charger only connects right when plugged in.
My charger only connects and or works correctly, only for a couple seconds right after I plug it in. So I literally have been , unplugging and reconnecting it over and over again until it charges enough.
iPhone 14, iOS 17