Switching the power on or off