A123 Systems Inc., the electric car battery maker that received a $249 million federal grant, filed for bankruptcy protection after failing to make a debt payment that was due yesterday.