There are various localities that add recycling fees to electronics. They're on the order of 1% of the purchase price, so it's unlikely to make a difference in the repair vs replace calculation.