Many manufacturers provide a warranty for their battery of perhaps 10 years or some number of cycles (filling and emptying the battery), whichever is the smaller, with some level of degradation, for example 20%. However, it’s too early to know what the lifetime of batteries will be in practice.