Does anyone have any idea how the phone detects knocks and differentiates it from, say, rolling around in your backpack? I know the LG G2 also has a "knock detection", e.g. the phone turns on when you knock on it twice. I want this feature in one of my apps so I'm just curious about how this is done.