Or out-of-warranty replacement should be available for a rate not to be above X% of the original price for 5+ years after last sale.
Of course the latter can be gamed where they refuse to replace the battery on a cracked phone, even though it could be done and probably work.