The real right answer though is to buy one of the laptop drives (suchWell, it's not always _that_ bad. For instance, the accelerometer in the HP laptops (lis3lv02dl) can monitor free-falls by itself. When the laptop starts falling, it generates one interrupt.
as the Seagate Momentus 7200.2 or 7200.3) which has the anti-shock
detection built directly into the hard drive. That way you don't have
to have a daemon that sits in the OS waking up the CPU some 20 to 30
times a second and burning up your battery even when the laptop is
idle.