Dead Battery on cold mornings

The battery I just replaced was still under warranty so I’m guessing it was less than 2 years old.