A woman who was allegedly bashed by her de facto partner in Sydney's north-west has died in hospital, two days after sustaining horrific injuries.

Linda Locke, 51, was clinging to life in Westmead Hospital after being found in her Quakers Hill home on Monday morning with head injuries, serious bruising to her face and a collapsed lung.

On Wednesday morning, police said she died overnight.

She has become the 34th woman to be killed by violence in Australia this year, according to Counting Dead Women, a project run by Destroy the Joint.

Her de facto partner, Jamie Walker, was charged with assault occasioning grievous harm after hospital staff alerted police on Monday.