I have a Bluetooth board in which I wan to have the option to power it by a battery or power it by a wall adapter. The power input is a 5mm x2.1 mm plug with two wires (positive and negative). I have both a wall charger and battery available (24v). I want to use a 3 way slide switch (on,off,on). One position would power the board using the wall adapter, One position would be completely off and the last position would power it by the battery. but I am not sure what I need to do, how to wire it or what Rating the switch would need to be. I've found some switches but they are rated for a lot higher voltage than 24v. Would that be okay? Any and all information would be great appreciated.
Thank you in advance.