It depends on the customs officer. For the official laptop do carry your company documents, gate pass etc which prove it is official. I had once returned from an international travel back to India (Mumbai airport) and had 2 laptops, the customs offical questioned me and told me 2 laptops are not allowed but i told them one is official and had relevant tags, stickers and documents too, he then left me without any duty.