Android Question [SOLVED] PhoneWakeState : changing WakeLocks


Well-Known Member
Licensed User
There is something I can't understand and can't manage to prototype : if I have previously engaged a PartialLock and need to activate the screen I do use a KeepAlive(True).

But, if after that I do ReleaseKeepAlive, do I need to reengage a PartialLock ?

Taking a look at the table about PowerManager, I can see that the flags put the CPU on. So, I wonder if that flag won't be erased after a ReleaseKeepAlive.

Many thanks
Last edited: