Top "Android-wake-lock" questions

Refers to PowerManager.

Turn off screen on Android

I am trying to turn on and off the display after a certain action happens (Lets just worry about turning …

android wakelock android-wake-lock
Android - Wake Up and Unlock Device

Application description: The application is intended as a safety program for a specific client (not to be deployed publicly). When …

android android-wake-lock keyguard
Android FULL_WAKE_LOCK is deprecated but PARTIAL_WAKE_LOCK is not deprecated

Here i mentioned the code for waking up the screen. i want the code is listen still the app is …

android wakelock android-wake-lock
Android - How can I wake up the phone from a hard sleep to take a picture?

I want to take pictures from the Android device's camera periodically over a matter of hours, to create a time …

android camera wakelock android-wake-lock sleep-mode
Turning on screen from receiver/service

I would like my app to be able to turn the screen on and display my app. Let's say I'm …

android service android-wake-lock
Disable Screen Lock(Power) Button in Android

I want that when my application is running the power button (which upon pressing locks the screen & screen goes …

android android-camera android-wake-lock
scheduling alarm for every second in android 5.1

I want to run alarm service for every second in my application.It is working fine below 5.1 version. but it …

android alarmmanager android-wake-lock background-service
Android: Wake & unlock phone

I am trying to figure out how to wake and unlock the phone with a service. I have been referring …

android broadcastreceiver android-wake-lock
Does the Android OS release a wakelock if the app or service holding it is killed?

I have question about wakelock. In cases shown below, does android OS release wakelock (PARTIAL_WAKE_LOCK if you need …

android android-source wakelock kill-process android-wake-lock
Will a Handler postDelayed not being fired when CPU sleeps?

I have an activity with some Handlers that are being executed at intervals no more than 5 minutes. The activity is …

android performance battery android-handler android-wake-lock