A generator uses natural gas or propane to convert fuel into electricity. When the power goes out, a transfer switch is triggered, which switches the home power source over to the backup generator and isolates the system from the utility grid in order to avoid feeding power back onto the grid. A generator can then practically run indefinitely, with periodic interruptions to allow for any necessary service routines and re-fueling.