A method of detecting activity in a MEMS accelerometer captures an
acceleration bias, measures acceleration at a predetermined time,
calculates a change in acceleration using the measured acceleration and
the acceleration bias, and compares the change in acceleration to a
threshold to detect activity. A method of detecting inactivity uses a
similar technique along with a timer. The method of detecting inactivity
in a MEMS accelerometer captures an acceleration bias, measures
acceleration at a predetermined time, calculates a change in acceleration
using the measured acceleration and the acceleration bias, and compares
the change in acceleration to a threshold to detect inactivity. The
method further determines if the change in acceleration is less than the
threshold and, if so, determines if a predetermined period of time has
elapsed to detect inactivity.