Writing method PowerAction();