I just feed them both into the battery, since both are rated to handle the charging voltage.
Also, if you wire a second powerpole pigtail to the battery (you can use smaller gauge wire for this, too) that can be
a charging input and you don't need a switch, just plug in whatever source you want to charge with.