Regular fixes did not help "This cable or accessory is not certified"
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?