Electron won't enter Sleep mode

In theory you can do wake on position change. However, you'll wake on any position change, as you can't, for example, only wake when you change from position 3 to position 4.

However, I was unable to make it work. It seems to still wake when you move it, as well. Here's the code that should work, but doesn't: