Will A Garmin-type Gps Device Work On A Commercial Airline Flight?

Showing where you are? Speed? That kind of thing.