public bool powerOn() { if (hasPower()) { powerSupply.setIsOn(true); return true; } else { return false; } }