Early warning of earthquakes can save lives. Google today announced a new feature for Android devices that will help during the earthquake. Google works with the U.S. Geological Survey (USGS) and the California governor’s office of emergency services (CAL OES), with the support of shakealert, to send earthquake alerts directly to Android devices in California.

a few seconds of warning from an Android device gives you time to find cover and support before an earthquake strikes. In addition, from today on, any Android phone can be part of the Android earthquake alarm system. Your Android device will act as a mini seismograph, along with millions of other Android phones, to form the world’s largest earthquake detection network.

here’s how Android earthquake warning system works. All smartphones have tiny accelerometers that sense signals that an earthquake is likely to occur. If the phone detects something that it thinks might be an earthquake, it sends a signal to our earthquake detection server, along with a rough location where the wobble occurred. Then, the server will combine the information of many mobile phones to calculate whether there is an earthquake. Google will use this information to share a quick, accurate view of the affected areas on Google search.

when you look for “earthquake” or “earthquake near me”, you will find relevant results in your area and useful resources on what to do after an earthquake.