Congress has approved $5 million to start expanding an earthquake early-warning system in California that would give major metropolitan areas up to a minute's advance notice.

The funding, announced Monday by Rep. Adam Schiff and Sen. Diane Feinstein, both of California, will allow developers to build out the existing prototype with more sensors and stations next year as part of a wider rollout. The $5 million was part of the $1.1 trillion spending bill passed by Congress over the weekend.

"An earthquake early-warning system is essential to save lives, reduce property damage and protect critical infrastructure," Feinstein said in a statement.

Quake-prone California has languished for years behind other governments, such as Japan and Mexico, that have built their own early warning systems. Doing so along the West Coast could eventually provide enough advance notice to allow hospitals to suspend surgeries, for operators to shut down heavy machinery and transit systems, or for utilities to shut off gas lines.

Alerts sent over a public announcement system would also give subscribers a chance to take cover.

"It's absolutely critical that the West Coast implement and build out an earthquake early warning system to give us a heads up before the 'Big One' hits, so we can save lives and protect infrastructure," Schiff said in a statement.