fixed logic for power check in wireless router