When it no longer reliably functions - Older hardware still has a lot of uses, just dump lubuntu on it and you have a functional desktop that you can play older games on, and use open source productivity suites with. However, once parts start to fail that you can no longer replace (those old laptop HDDs for example), it becomes obsolete to you.