I need help finding/making an electronic relay for switching back and forth between two power sources. As one source is depleted the other is charging, they will alternate according to preset output levels. An existing solution that I can purchase would be best.