Image for post
Image for post

The Android operating system allows for the ability to keep certain types of hardware awake through software. One of the most desired features of this is for keeping the screen on. However, often times an application may need to perform a long running task in the background of the phone. For this, Android provides you with something called a wake lock. A wake lock is a feature specific to Android that is provided through something called a power manager. The power manager is a system service that allows you the ability to keep the processor running. …


Chris Basinger

I create open-source Android libraries.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store