condition power state Structure: Conditional on the computer's power source state.
A power source may be using the mains power, battery power, be off-line, or be in an unknown state. This condition tests the current power sources and can be used to determine if the computer is connected to the mains power, or to a battery.
Be aware that a computer can have multiple sources of power. Use the filter to restrict the power sources to test.
Only one power source needs to match this condition in order to return true.
Current state of at least one power source.
Power sources to monitor.
Back to condition power state.