Yesterday my car wouldn’t start after i drove it and tried to restart after sitting for less than a minute. Then after 20 minutes it started right up. Then i drove it home and the same thing happened. The next morning it started right up too. When i cranked it when it wouldn’t start, the battery sounded like it would turn over but just didn’t quite make it
Also, the emissions light started coming on a few days before this happened. Connection?