But the problem is it does nothing..
How should I connect it to turn off the power?
I can provide you with more schematics if it helps, but I just want to turn off the project using a switch. I connected one to solar panels too so I can turn them off when I'm using a wall adapter.