System.sleep and WKP Pin

The movement threshold is an unsigned 7-bit number (0-127) and smaller values are more sensitive. The default is 16.

The absolute value of the acceleration is compared to this threshold. So if you have -25 acceleration, you would exceed the threshold of +16 and wakeup would still occur.

There is some conversion between these values and actual G values, but it depends on the scale range and I’m not exactly sure how it works.