Migrating birds have learned to adjust their sleep habits to make for a more efficient trip down south.