Check this carefully before buying a smartphone.