OnSuspend method will be called from Monkey, when the app is not completely ended from the operation system and still runs in the background:
Method OnSuspend:Int() isSuspended = True
5. This might conserve battery power.
SetUpdateRate(5) Return 0 End
OnSuspend event, we have set the
isSuspended field to
False, so we can act on it during the
OnUpdate event. At the same time, we set the update rate to
5 FPS. This might conserve battery power, as the CPU doesn't need to update the game that often.
Another thing you might like to do is to ...