Conditional for autosave or auto draft?

If you are using the save_post action hook; then you can prevent the code from executing during an autosave with the following conditional:

function do_not_autosave( $post ) {

    // Check to see if we are autosaving
    if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
        return;

    // Rest of the code here
}
add_action( 'save_post', 'do_not_autosave');