@zerow1ngcorrec me if im wrong, pero based dun sa diode config..pero it looks like that both pwer sources are working/drawing power at the same time?
or use an spdt relay:NC - normally closeNO - normally open