The problem is that the Huawei devices have a special setting that will kill apps when you turn off the screen. To prevent Prey from being killed like this, you'll have to go to:
- Battery Settings
- Power Saving from Apps
- Close apps after screen lock
And in there, find Prey and disable the closing.