The grey lines on Google Maps show that Google Maps did not have enough information to be able to tell which travel method you were using between those times. It could be because there was no GPS signal, a poor internet connection, or the device is turned off.