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...

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...

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...

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...
1

© 2022 - 2024 — McMap. All rights reserved.