Use accelerometer to detect and report on bumpy roads, and offer option to route around them
Use the device's accelerometer to detect bumpiness in the road the user is currently driving on. Send this data to Waze, then use collective data on road bumpiness to offer a routing option so that users can favor driving on smoother roads. Possibly also tie into the existing systems to report/show potholes or road hazards.
Tommaso Loreto commented
I think it's a good idea, even more if you see it from API perspective, that way you could make available heatmaps of asphalt status to cities and companies to act on.
Not a good idea as it will drain battery faster than it is possible to charge it. Also you should avoid potholes not drive trough them