Use switch than if (/obj/machinery/proc/auto_use_power())