I have an external wall outlet power supply that provides power (5V) to the Arduino Uno via the barrel jack connector. The power supply cables goes into an "on/off" switch and the cable from the switch goes into the barrel jack connector on the board.
I have a USB connection to the board from my laptop in order to send data to the Serial Monitor.
PROBLEM: When I place the on/off switch in the OFF position, I want to no longer provide power to the board. But the USB port continues to supply power to the board which negates the usefulness of the on/off switch.
Any idea on how I can resolve this issue ?