The mechanics did the right stuff. All the symtoms that you mentioned pointed toward failing alternator. If you have a chance, let your mechanics know that you appreciate that they corrected what is wrong with your car, its goes a long way in stablishing good relationship with a good mechanic.