Is there a module for arduino to power it with 2 power sources?

Use a rechargeable battery. Put a charger on it. Use it for power.