Pixel phones feature a host of customizations from Google that aim to optimize the user experience with useful features. On the Pixel 2 and Pixel 2 XL, one of these is a Driving Do-Not-Disturb mode. Google today detailed it and announced that the API powering it would be made available for other developers.

Driving Do-Not-Disturb works by putting a Pixel 2 automatically into DND mode when in a car. If enabled, incoming messages and notifications are silenced, while incoming calls, navigation directions, and voice interactions are permitted.

Google says that they built this feature recognizing that driving is an essential daily activity and one they wanted to make better and safer for users.

The product is designed to limit distractions during driving while at the same time not getting in the way so users can continue to use navigation or other similar apps with minimal friction.

Using “AI powered on-device Activity Recognition,” the feature works by detecting when a person is driving through low power signals from multiple sensors, including Bluetooth and Wi-Fi. It also detects when connected to a car’s entertainment system. Meanwhile, the Android Sensor Hub ensures that its low latency and energy efficient.

Early next year, Google is going to open up this Activity Recognition Transition API used by Driving DND so that other developers can build distraction-free driving experiences.

Google already has an Awareness API for building contextual Android apps that take advantage of what’s happening to a user. Introduced at last year’s I/O, it was updated with the ability to localize for times and events in June. However, an activity like driving is of course more critically vital to get right and accurate.

Check out 9to5Google on YouTube for more news:

FTC: We use income earning auto affiliate links. More.

Check out 9to5Google on YouTube for more news:

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

About the Author

Abner Li

Editor-in-chief. Interested in the minutiae of Google and Alphabet. Tips/talk: abner@9to5g.com