-
-
-
Posted via PRIV and or Passport SE10-22-16 11:43 AMLike 0 - Confused here. Read in threads just like in Android phones you can close 10OS phones with Android apps. When I close with Task Manger I see Ram is freed up. And if I closed task manager these apps stay open. For example Play Services running in background? So confused at this moment?
Posted via PRIV and or Passport SE
Oh I love this question about Android apps eating up battery in the background. What I'm telling you now is backed up by the Blackberry Developer Site and is valid for ANY Android app on your device:
From the Blackberry developer docs about the Blackberry Android runtime (Jelly Bean):
* Apps can run services only while the user runs them, either in full screen or in thumbnail mode.
* https://developer.blackberry.com/and..._software.html
What does that mean? The Blackberry Android runtime does NOT allow Android apps to run any services in the background. Period. As soon as the screen goes off (battery saving mode, sleep mode), ANY Android app will stop working in the background. A good example to explain this may be light in your fridge. Everytime you open the door of your fridge, the light is on, right? So we must assume, that the light in the fridge is permanently on? No, it's not. It's triggered when you open the door and it goes off when you close the door.
The only way to get an Android app to run permanently in the background is to implement Blackberry Headless mode. This must be requested from blackberry, and usually those apps are then ONLY avaliable on Blackberry World as a ported Android app (an example is Skype). All other Android apps that you download from anywhere else do NOT incorporate Headless mode and CANNOT run in the background.
Now I already hear all the "specialists" that are saying "Hey, but I'm running task manager xyz and there are a lot of services running on my device and I cleaned them and now everything is great"
Well, that simply isn't true. Running a task manager app is just like opening the door on the fridge. The light is now on. But if you close the taskmanager and the device goes to sleep, all services are stopped again.
The second thing that you should know about background services is, that against the common believe, they do not RUN in the background. They register a trigger in the Android runtime. The registering service itself is not running. Now if the Android runtime receives an Intent, it will look if a services was registered for the intent and THEN will start the service. The service will do its work (i.e. sync data) and then close again. On a Blackberry device, this will only happen if:
a) The device is NOT in sleepmode
b) The app is open OR running in an active Frame
If those conditions are not met, nothing happens. No services is started.*10-22-16 11:46 AMLike 0 - Instead of explaining it myself, Cobalt made a good post on the subject, so I'll copy it here:
Oh I love this question about Android apps eating up battery in the background. What I'm telling you now is backed up by the Blackberry Developer Site and is valid for ANY Android app on your device:
From the Blackberry developer docs about the Blackberry Android runtime (Jelly Bean):
* Apps can run services only while the user runs them, either in full screen or in thumbnail mode.
* https://developer.blackberry.com/and..._software.html
What does that mean? The Blackberry Android runtime does NOT allow Android apps to run any services in the background. Period. As soon as the screen goes off (battery saving mode, sleep mode), ANY Android app will stop working in the background. A good example to explain this may be light in your fridge. Everytime you open the door of your fridge, the light is on, right? So we must assume, that the light in the fridge is permanently on? No, it's not. It's triggered when you open the door and it goes off when you close the door.
The only way to get an Android app to run permanently in the background is to implement Blackberry Headless mode. This must be requested from blackberry, and usually those apps are then ONLY avaliable on Blackberry World as a ported Android app (an example is Skype). All other Android apps that you download from anywhere else do NOT incorporate Headless mode and CANNOT run in the background.
Now I already hear all the "specialists" that are saying "Hey, but I'm running task manager xyz and there are a lot of services running on my device and I cleaned them and now everything is great"
Well, that simply isn't true. Running a task manager app is just like opening the door on the fridge. The light is now on. But if you close the taskmanager and the device goes to sleep, all services are stopped again.
The second thing that you should know about background services is, that against the common believe, they do not RUN in the background. They register a trigger in the Android runtime. The registering service itself is not running. Now if the Android runtime receives an Intent, it will look if a services was registered for the intent and THEN will start the service. The service will do its work (i.e. sync data) and then close again. On a Blackberry device, this will only happen if:
a) The device is NOT in sleepmode
b) The app is open OR running in an active Frame
If those conditions are not met, nothing happens. No services is started.*
So android apps don't run in background. Then why they will drain batteryTim Heard likes this.10-22-16 11:56 AMLike 1 - Only by running them in the foreground do they take battery. One other way would be that a particular app sets too many triggers in the Android runtime, but there's nothing you can do about that.10-22-16 12:06 PMLike 0
- Conite appreciate the detailed response. This explanation is a game changer. The Task Manager app was at one point available from BlackBerry world and in th CB threads it was mentioned how it helped against saving bat.
You just never know when you learn something new!!
Posted via PRIV and or Passport SE10-22-16 05:07 PMLike 0 -
Posted via CB1010-23-16 06:46 AMLike 0 - You can select "run when minimized" for Android apps. This has nothing to do with running in the background however.
Last edited by conite; 10-23-16 at 05:08 PM.
10-23-16 09:49 AMLike 0 -
Posted via CB1010-24-16 12:06 AMLike 0 -
PRIV STV100-1/AAG853 DTEK50 STH100-1/AAH108 Z30STA100-5/10.3.3.74610-24-16 12:27 AMLike 0 -
Ur saying notifications are handled by android run time. It means % of battery drain is contributed by specific app goes to that app?
For example android run time will consume more battery to notify fb notifications. This share must go to fb app only?
Correct me if I'm wrong
Posted via CB1010-24-16 01:22 AMLike 0 - This lead me to one more question
Ur saying notifications are handled by android run time. It means % of battery drain is contributed by specific app goes to that app?
For example android run time will consume more battery to notify fb notifications. This share must go to fb app only?
Correct me if I'm wrong
Posted via CB1010-24-16 07:41 AMLike 0 - I've been told by BB support that since the runtime patch didn't work on my phone, my best/only option is to restore my phone's factory settings.
Before I do this, can I get any advice from anyone who has experience with this. They are telling me I can't possibly brick my phone, but I can't risk not having a working phone for a significant length of time.
Posted via CB1010-25-16 09:57 PMLike 0 - I've been told by BB support that since the runtime patch didn't work on my phone, my best/only option is to restore my phone's factory settings.
Before I do this, can I get any advice from anyone who has experience with this. They are telling me I can't possibly brick my phone, but I can't risk not having a working phone for a significant length of time.
Posted via CB10
Btw, you didn't answer me. What OS are you on?Tim Heard likes this.10-25-16 10:57 PMLike 1 -
-
A security wipe is required, or you can use Sachesi to put the Runtime from 2474 back on.10-28-16 07:16 PMLike 0 - Thanks everyone for talking me down off the ledge.
I started the factory reset last night. The memory wipe has been running about 14 hours. Right now, it's at about 97% complete. Looks like it has slowed to a crawl and is completing about 1% every couple of hours.
Just checking. Is this normal?10-30-16 11:51 AMLike 0 - From device monitor, is there anyway to check if battery has issues?
For example if battery has some issues, I think we should see unexpected raise in battery percent in system?
After 2 and half hous, 30 percent of juice was consumed as attached above
Not sure if it is normal
If someone can give me any clue if it is battery issue, then I can buy a new one
But I don't want to waste money unnecessarily
Posted via CB1010-31-16 12:54 AMLike 0
- Forum
- BlackBerry 10 Phones & OS
- BlackBerry 10 OS
OS 10.3.2.2876 Android Runtime analysis
Similar Threads
-
Android Voice Dialer
By ryengjoe in forum BlackBerry PrivReplies: 5Last Post: 03-01-16, 09:21 AM -
How Can I Root My Android Player?
By the_radeon in forum More for your BlackBerry 10 Phone!Replies: 6Last Post: 01-16-16, 11:57 PM -
10.3.2.2836 problem
By yuezaifengxiao in forum BlackBerry Q10Replies: 3Last Post: 01-14-16, 12:34 AM -
Android Player and Battery Life
By waxler900 in forum BlackBerry PassportReplies: 2Last Post: 01-13-16, 12:13 PM
LINK TO POST COPIED TO CLIPBOARD