Add set_power_state to node api

Change-Id: Idcddc3e5de59dc72595577dae17e0b6350d07668
Merge "Add set_power_state to node api"