By default it measures the magnetic field at 0.63Hz, which keeps the wakeups to a minimum while still being fast enough to detect movement pretty well.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have a post here, which is what I've been using to detect movement:
http://forum.espruino.com/conversations/301185/
By default it measures the magnetic field at 0.63Hz, which keeps the wakeups to a minimum while still being fast enough to detect movement pretty well.
Hope that helps!