Andhra Pradesh has activated a contingency plan as power demand surged to nearly 286 million units a day amid the heat wave.