Bradley Ruffin, 47, who didn't enter a plea, is scheduled to be in court in Pittsburg on Monday for a further arraignment.
He was charged Thursday with attempted murder, battery with great bodily injury, assault with a deadly weapon and robbery in connection with the Jan. 26 attack on the 39-year-old woman, Antioch police said.
He was also charged with violating a restraining order and enhancements for the use of deadly weapon and causing brain injury.
Police said Ruffin had an outstanding warrant for his arrest on a probation violation for a 2007 assault against the same woman.
In the most recent attack, Ruffin and the woman allegedly got into a fight over a winning lottery ticket and Ruffin allegedly struck the woman on the side of the head six times with the claw side of a hammer, according to police. Her skull was fractured, her neck was broken and she had bleeding in her brain.
Ruffin, who had been working on a neighbor's car, allegedly put the woman in the vehicle following the attack, reclined her seat so no one would see her and took her to Sutter Delta Medical Center in Antioch, where he used his feet to push her out into the parking lot, police said.
The woman managed to walk into the emergency room by herself, but collapsed in the lobby and had a seizure. She identified the suspect only as "Bradley" and was put in a chemically induced coma before investigators could speak with her.
Ruffin was later identified as the suspect and booked into the Martinez Detention Facility, where he is being held without bail.