I recently looked at the motion sensor based disk drive protection feature added to Apple's PowerBook line. Here is a discussion along with some examples of using the orientation data provided by the sensor.