DEV Community

loading...

Avoid Wake locks in Android apps

Robin Alex Panicker
Software Engineer. Architecting Finotes - an SDK that autodetect bugs in mobile apps.
・1 min read

Apps users hate if the app drains the battery of their mobile phones. With some careful coding this situation can be avoided.

Wake locks are evil and is the main cause for energy bugs in android apps. Here is a nice blog on avoiding energy bugs.

https://www.blog.finotes.com/post/how-to-avoid-energy-bugs-caused-by-wake-lock-in-android-apps

Discussion (0)