Automatically Conserving Energy