Android/Wakelocks

Wakelocks are used to prevent android sleeping while tasks are being processed

Wakelocks are implemented as a kernel patch

There are two types of wakelocks

Idle wakelocks

suspend wakelocks

android.os.PowerManager.WakeLock interface is used to interact