R RUdolf Lam Member Oct 29, 2021 #1 Wish to ask a silly question. Sorry if someone has asked it beforehand: If I use PhoneWakeState to call PartialLock to the phone and never call ReleasePartialLock afterwards, can the CPU be unlocked when I use ExitApplication or when the user terminates the app by removing it from the recent app list?
Wish to ask a silly question. Sorry if someone has asked it beforehand: If I use PhoneWakeState to call PartialLock to the phone and never call ReleasePartialLock afterwards, can the CPU be unlocked when I use ExitApplication or when the user terminates the app by removing it from the recent app list?
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2021 #2 The partial lock will be released when the process is killed. Note that most devices will not let your app run forever and will kill it at some point. Important example: Background location tracking Upvote 0
The partial lock will be released when the process is killed. Note that most devices will not let your app run forever and will kill it at some point. Important example: Background location tracking