Buildings use 40% of the primary energy supplied in the United States, and more than 70% of all generated electricity, primarily for heating, cooling, and lighting. About 20% of the energy used by buildings can potentially be saved by correcting faults, including malfunctions and unnecessary operation.