My old iPhone 5s wouldn’t take a charge (after being left in the drawer for a long time). I replaced it with the ifixit battery and kit. After the replacement, the phone turned on with about 50% battery, and everything worked fine. However, when I plugged in the lightning cable, the phone did not detect the connection. The cable is fine: it works fine with another iPhone. Did I loosen some connections somewhere? Where should I look?