android-powermanager Questions
3
With Android 9 battery optimization has been pushed further and apps are classified into standby buckets depending on how much the user has recently interacted with the app (see Android documentati...
Birthstone asked 22/11, 2018 at 16:4
1
I am trying to check if Android 12 is optimizing my app battery usage, so I used
isIgnoringBatteryOptimizations method (
https://developer.android.com/reference/android/os/PowerManager#isIgnoringBa...
Schwing asked 6/2, 2022 at 5:7
0
I have a VOIP application which uses HIGH priority push notifications each time a call is performed. The push notification is message notification since I want to handle interaction myself. When I ...
Merrilee asked 14/10, 2020 at 7:13
4
Solved
Android 6 and 7 have some power optimizations (doze mode) which restrict app networking when device is not used.
User may disable optimization mode for any app in Battery settings:
Is it possib...
Calciferol asked 31/8, 2016 at 18:22
2
Solved
I'm testing my application on Android P beta release 4. My app's targetSdkVersion is 27
It has been observed that alarm manager notifications are not working as expected. I'm using below code to s...
Agna asked 30/7, 2018 at 5:26
4
I'm writing an android application that depends on network activity and the alarm manager sometimes waking the phone up from a sleeping state.
My question is how can I reliably test this on device...
Abolition asked 5/8, 2010 at 17:15
2
Smart manager kills an app that hasn't been used for 3 days. My app does some background work and hence, the user doesn't need to open it.
What can I do so that it doesn't enter app optimization m...
Shortwave asked 13/5, 2016 at 8:32
1
I have a share button in the GCM notification. On click of the share button, I need to launch share intent. Everything works perfectly. Only problem that I'm facing is Lollipop lock screen feature....
Inductive asked 26/6, 2015 at 6:56
1
I have a function to determine four states of phone's screen: screen on, screen off, screen on with lock, screen on without lock. My function is
private KeyguardManager keyguardManager;
public Str...
Shandy asked 26/9, 2016 at 13:31
3
Solved
I was searching SO and web but i couldn't find sufficient answer for my particular question. Ok here we go:
Every user can modify screen timeout on android. (when screen turns off when its idle fo...
Jota asked 25/3, 2013 at 16:38
1
What happens to connection with BLE device connection when Android goes in sleep mode? So if application establishes a connection with BLE device and then Android goes sleep, will the connection be...
Airsick asked 18/3, 2015 at 9:49
1
© 2022 - 2024 — McMap. All rights reserved.