Previously, an intent with one of the following components lead me to Huawei's system settings to change the auto-start behavior of an app. Stacktr ...
Previously, an intent with one of the following components lead me to Huawei's system settings to change the auto-start behavior of an app. Stacktr ...
I created an app to work on my Moto G6 android device. Basically, this app that start a local service to periodically access a web site. Everything lo ...
I want to set the wakelock time to the "unlimited" time or at least set the time to xx minutes / hours. If I try these code : It just give me 30 se ...
I reverse engineer one application that turn on / off screen on shake. It uses WakeLock by PowerManager Flag that is written here, 268435466. I tri ...
I have set a reminder in my app, but the screen does not turn on when the notification arises and neither does it pop up. I just get the notification ...
I'm trying to detect the PowerSaveMode change for battery. I'm using the method pm.isPowerSaveMode(). The problem that i have always a false result. I ...
I have my AlarmManager which after any hours leads to my BroadcastReceiver. So of course the device can be in IDLE(sleep) mode including password lock ...
Samsung Galaxy has the feature to put apps to sleep - which to my understanding is not the same as battery optimization for apps. I need to programma ...
I'm having a hard time understanding the purpose of WakeLock in modern versions of Android, after the introduction of Doze and Foreground Services. I ...
I need help with my project , I'm supposed to make a BroadcastReceiver fires up a full screen activity over current lock screen . I tried this on my a ...
I need to programmatically reboot an android device, and the PowerManager's reboot functionality comes in handy. My question is: Should reboot be cal ...
there is no battery detected. there are no forums with the solution. I've edited grub to force acpi and i have nothing listed in proc/acpi/battery or ...
I am currently working on an app that starts an activity every 30 minutes using a Handler & WakeLock. But I was wondering as to the reliability of ...
I've already read a lot about this topic on SO. I'm trying to write SIP Client, which of course should accept incoming calls when the device is sleepi ...
For creating a receiver I'm extended WakefulBroadcastReceiver in my old project. But now it's deprecated. Instead of WakefulBroadcastReceiver which Re ...
I am currently implement a feature where the users are requested to ignore battery optimisation for the application. The reason for doing so, is that ...
The goal of my app is to keep the screen on across the whole Android system. Previously, I've used FULL_WAKE_LOCK for this and it allowed me to block ...
I have an app holding the PARTIAL_WAKE_LOCK on startup and then releasing onDestroy. Randomly it crashes after some time 40min - 2 hours when the devi ...
I need to periodically run a task in background, and to keep awake the CPU. According to the Android documentation i used the PARTIAL_WAKE_LOCK for th ...
I am programming an Android-application with cordova. This app gets only installed on dedicated Android 5.1.1-devices. Among others I have the functio ...