The device sometimes does not recognize the cable
I have an iPhone SE that I restored.
This at first did not charge so I made a change of the lightning connector and the battery. The problem I have is that sometimes I connect the phone to the computer or to charge and it does not recognize the cable, it does not start charging or transmitting data. What I have to do is turn off the phone and plug in the cable. Once that turns on and detects it, besides that if I want to plug it later it also works but sometimes it picks up and does not detect it.