After-sales battery coding