Chosen Solution
Getting the message “This cable or accessory is not certified and may not work reliably with this iPhone” (and the phone only charges when powered off because of message). It is not the cable as I have tried several and all cables work fine on other devices. Have tried cleaning the lightning port and when that didn’t work even replaced entire headphone/charger board. This also didn’t help. Eventually I will probably try a factory restore/reset but not ready to do that yet. Anything else I could possibly try hardware/software wise?
Anyone on this forum capable and interested in doing a repair (U2 chip or whatever is needed to get phone working again)
Hmm try using a different cable or resetting the phone that should work