The other way of application suspension is to use undocumented PowerOffSystem() function. As this function is undocumented I can't make any assumptions abut support of this function in different devices or operating system versions. In order to use this function place following function declaration into your source code: