Nguyễn Tân
New member
How do you use a WakeLock?
Answer
To release the wake lock, call wakelock. release() . This releases your claim to the CPU. It’s important to release a wake lock as soon as your app is finished using it to avoid draining the battery.
Answer
To release the wake lock, call wakelock. release() . This releases your claim to the CPU. It’s important to release a wake lock as soon as your app is finished using it to avoid draining the battery.