The connector may be at fault. I had a ready to fly plane that I lost the battery in flight. Luckily the engine quit the plane went over in the neighbor's yard.
One of the little metal connectors inside the plastic body of the plug pushed backwards and wasn't actually connected.