Hi, recently I noticed high battery usage from my game that I play, which is the grand mafia.
The issue is not the phone itself, but I noticed the game itself lately consumed high amount of battery, so I decided to do a little experiment.
At around 10AM today, I charged the phone to 100%, and I did not open the game even once today, even forced stop the game from app setting.
Now at night, around 1:40 AM (ok technically its the next day, but whatever) I was a little surprised the game still consumed 1.3% unused, with background activity not allowed, and even forced stopped.
Here is the screenshot with highlighted only the time after full charge:
and when I click the detail, I was surprised the app still clock in high amount of both foreground activity and background activity (almost 8 hours foreground and 1 hour background), while allow foreground and background activity settings are both in off positions since the time I installed this game.
From my other phone, a Samsung S10e. I also restrict background acitivty for the game (I always restrict background activy for unimportant apps in my phone whenever I installed an app), and here is the screenshot of it from my Samsung (I do play the game in this phone today, so the usage activity is accurate, but it says the background usage is less than a minute)
I am a little concerned how the app appeared to be active even when it's forced stopped and not even used once for the day?
Is it Oppo's colorOS issue (error in displaying app foreground/background activity) or worse, does the game has spyware/malware in it? It was installed from the PlayStore and I never installed apk from outside the PlayStore. I am wondering why ColorOS still allow the app runs in background when the setting is off.
Also, can someone explain to me the "allow foreground activity" setting on Oppo? as my Samsung doesn't have this option.
Thanks guys
It doesn't work as intended or at least how we expect it to work. For example, I have tuned off background activity, foreground activity and allow auto launch but I can see Instagram still in running apps. I have to force close it after use.
I have no idea what foreground activity do, apps are still working with that disabled. Maybe we should ping Oppo on twitter to explain more.
Related
Enjoying Taskiller - works very well.
Most users know their apps run better once unnecessary background apps / services have been killed.
Another set of users continue to complain about specific games or apps being laggy without taking steps to solve the problem.
Case in point is the camera application which needs more memory than most and often gets out of memory exceptions.
What would be great is if Taskiller or one of the other task closing apps could create a configurable desktop shortcut that would kill all unneeded apps, then launch a preconfigured app, e.g. camera app.
Users would need to understand that clicking this button to launch another app will lose state in any running apps, but will most likely mean the game or app they then run will have far better performance and be less laggy.
Any takers?
Though im the tiniest bit of confused...
A) If this app TaskKiller (never used) worked so well, whats the need for another?
B) I am also unsure if its absolutely necessary for the android platform. Maybe older phones or WinMo phones (<6.1) have this problem. But as far as I know, android has a garbage collector in which it treats its processes with priority and after a certain utilization, it ends it (for instance. I am playing gameboid, then just hit the home button. I can go back to gameboid fine. But if I open a large app after 'minimizing' gameboid (like opening the htc music player), gameboid will end and I will have to reload it again. Though if I open msgs while gameboid is minimized, gb stays up.
Its supposed to do that. So this request I am not sure if its really necessary.
Killing background apps when memory requires is the theory behind the OS but doesn't always work in practise.
For example, play any game on Android and you'll see occasional judders in the scrolling, etc. - this is usually because a Facebook or Twitter app on the phone has decided that its a good time to get some new notifications ... but that spoils the game experience.
I hate to mention the fruity phone but this is one of the places where it beats Android hands down and their games are in a different league to ours.
I think a way to clear the phone's background processes before launching a game / resource intensive app would make a big difference.
The app 'Greenify' is a marvelous work by oasisfeng
This is the original thread : http://forum.xda-developers.com/showthread.php?t=2155737
Playstore link : https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
*Why am I sharing this app?
Because this is going to help those who are running android 4.x or higher, having a feeling that our phone's ram and battery is not enough and still not aware of the process 'Greenifying'
*Are you depending on the process 'freeze' & 'unfreeze' to save your space and feeling it as little inconvenient to do it every time you use the frozen app ?
Then Greenify is the solution.
*This is the definition of Greenifying an app.
"Greenifying an app implies that you are aware that all the background functionality of this app will become out of service during the hibernation except when you are using this app:
Greenify helps you identify and put the bad behaving apps into hibernation when you are not using them, to stop them from lagging your device and leeching the battery, in an unique way! They can do nothing without explicit launch by you or other apps, while still preserving full functionality when running in foreground, similar to iOS apps."
When I read the above I was like " wow, this is the thing that I was searching for ! "
*It is designed and implemented in extremely light-weight, with an average RAM footprint at 2M in total, and nearly zero CPU and battery consumption.
Things to remember :
# The background functionality of the greenified apps will be disabled. The background functionality includes but not limited to:
> Persistent background services
> Broadcast receivers, which respond to global device events, such as network state change, SMS reception.
> Alarms, which activate background task at specific time or interval.
> Widget update. Widget should display but never update because periodic update involves background task.
> Push messages. Push is also disabled since it would activate background task on Android, unlike iOS which just shows up messages to user.
>Please DO NOT greenify alarm clock apps, instant messaging apps unless you never rely on them. Please be sure to verify the impact of greenified apps on which you heavily relies.
# not supported for Android 2.x
In my opinion, this app does what it says.Hope this will be helpful.
For more details, visit the original thread. :good: To the developer of this app.
Hi, i'm thinking of buying an HTC one and i can't wait for it and i wonder how much of a difference does closing apps make in terms of battery life because it is obvious that having apps running in the background makes the OS feel a lot faster and if it's a minor downside than i'd rather have the upside of having those running in the background.
Hahaahahahahahahahahaahaha. Closing them neither increases battery nor makes the system feel faster... Have you come from an iPhone? (It doesn't make a difference on iPhones either)
nope im coning from glaxy nexus and it does make a difference in it though
According to what I've read, the newer android systems freeze the apps while in the background. I don't know what apps you'd keep open in the background, though. The only one I have keep running is my browser.
Im asking that if im surfing on net and then have to go somewhere, do i have to close apps and then put the phone in my pocket or is just locking your phone and putting it in your pocket is fine.
battle1 said:
Im asking that if im surfing on net and then have to go somewhere, do i have to close apps and then put the phone in my pocket or is just locking your phone and putting it in your pocket is fine.
Click to expand...
Click to collapse
I just lock the phone and put it in my pocket. Does fine for me. I get awesome battery life. Usually your screen is what eats up your battery anyways, again I say usually ;p (always an exception somewhere). Out of all the android phones I've had, this one has the best battery life. Not saying there aren't better, but I can go a whole day with moderate use and still have a little juice at the end of the day. Now granted, if you were playing music, you may want to stop that first, but I figured that was common sense...
battle1 said:
Im asking that if im surfing on net and then have to go somewhere, do i have to close apps and then put the phone in my pocket or is just locking your phone and putting it in your pocket is fine.
Click to expand...
Click to collapse
Just minimize it to the recent apps tray, you can just restore the app where you left off ... Android manages apps extremely efficiently so you don't need to close them, force stop them in settings, use a task manager or any of the above. It actually drains your battery more to kill apps and have them start again, especially system apps that constantly run, than it does to just leave them running.
when you pause an activity (hit the home button, rather than the back button - or venture off to a different activity)
The app does not continue running, however it does preserve the application state (as long as dalvik doesn't kill it, due to higher priority memory allocation requests)
Apps can launch background services, which are NOT paused in the same way (depending on how they are created, of course). In order to force kill all services associated with an app, you'll have to use the app manager.
---
As far as performance/battery impact:
- You'd think "Oh, if i pause 50 apps then i'm going to run out of memory?" NO - the dalvik will kill them in the order it deems necessary to ensure a certain amount of memory is always free.
- This also means you cannot count on a paused app ALWAYS being where you left it off. In the middle of writing an important email? pause the app, go look something up in chrome, and come back to the email it MAY or MAY NOT BE where you left it off. (The dalvik could have killed it)
- Paused apps do not account for any CPU time, therefore there is no battery impact.
Services MAY account for cpu time depending on what they're doing - and they will run even when the app is killed depending on how they were registered.
So even in my Galaxy Nexus it's actually better if i don't swipe all the recent apps?
Hey all - weird situation here. For the last few days or so my battery has been draining *really* fast and the phone is very warm. Yesterday I went to the battery settings to see what the culprit was and it was an Amazon app that I *never* open - so I disabled it. Same thing today. This time:
17% - Android OS
12% Amazon app suite
12% Email
11% DJI Go, a drone-control app.
I haven't opened anything Amazon ever (bloatware) or DJI GO in at least a month. How are apps I'm not even opening draining my battery? They're not running - at least not that I can see in the task manager. And e-mail? Nothing out of the ordinary.
I'm grateful for any theories as to exactly what the crap is going on with my beloved phone!!
thetastycat said:
Hey all - weird situation here. For the last few days or so my battery has been draining *really* fast and the phone is very warm. Yesterday I went to the battery settings to see what the culprit was and it was an Amazon app that I *never* open - so I disabled it. Same thing today. This time:
17% - Android OS
12% Amazon app suite
12% Email
11% DJI Go, a drone-control app.
I haven't opened anything Amazon ever (bloatware) or DJI GO in at least a month. How are apps I'm not even opening draining my battery? They're not running - at least not that I can see in the task manager. And e-mail? Nothing out of the ordinary.
I'm grateful for any theories as to exactly what the crap is going on with my beloved phone!!
Click to expand...
Click to collapse
Let's talk about that disabling in a minute. I'm confused about that. First, however...
Some apps run in the background even though you have not manually opened them or are using them. The developers do this so they will open VERY FAST when you do click on them and they don't care your battery is being used. This is why I use Greenify -- I can put almost all apps like that into forced hibernation. IF/when I ever do use the apps, I click, they open. When I close them, Greenify puts them back into hibernation. (I don't use the Xposed version of Greenify, just the Greenify app.)
Obviously you don't want to Greenify something like your email app, weather widget, Facebook or anything that needs to be running in the background so you can get notifications. The apps you Greenify are the apps which like to run in the background even though you are not using them.
By any chance are you using Amazon photos backup service? I do. It's like Dropbox or Google Photos backup service. Photos and videos you take are uploaded for backup. If you have that turned on, that could be why Amazon stuff is still running? Just a guess.
Now, you say you disabled Amazon? How? Freezing it through Titanium Backup? Because if you froze it, there's no way it should be running at all. Which is why Greenify is better than freezing in most cases. I only TB freeze something which may need to by physically present for my OS to run correctly but which I do not want to run. There's some redundant CM ROM apps I freeze, as I don't want to take a chance on physically removing them, only to find out stuff crashes because it was important in some way I didn't realize. Freezing totally disables the app, and it won't even show up in your app drawer. If you unfreeze it, then it's there again. So, how did you disable it?
Chazz, you seriously are a real life superhero of my phone. You helped me get my GF a Maxx a few months ago - man, thank you so much!
Yeah, so I "disabled" some of these apps by actually trying to uninstall them (like Amazon), realizing they're bloatware, and instead dragging the icon up to "App info", where I have the option to force-stop or "disable" - whatever that is.
Here are a few screenshots from today:
So Android OS, Email, and Amazon app suite, none of which I've spent any real time on using, are having a race to see who can meaninglessly drain my battery the fastest. DJI GO, which again I haven't opened in a month, comes in at a distant 4th. I barely used my phone today except for about an hour of Pandora and maybe 30 mins of browsing.
Greenify - gotcha! Downloaded it and trying to kill some of this stuff - but nothing Amazon even appears in the listing of all apps. And email? What the heck? I can't really lock my e-mail out. It's just so strange that apps that I'm not even using are the ones draining the battery - any chance this could be a virus? Last I was paying attention, that wasn't much of a concern on Android...have I just had my head in the sand?
Many thanks again - I really appreciate the help!
In Greenify app, hit the "+" sign (on upper right of the app display) and it will show you more apps you can hibernate. I have over 200 apps, so I actually had to hit the "+" sign a couple of times to see the complete list. I think the initial offering is the low-hanging fruit.
For instance it will show my my Flashlight app. Right. I don't need my flashlight app running unless I am actually using my flashlight! So, I "greenify" it. It hibernates until I open the app. Once I close the app, THEN it goes back into hibernation until I need it again.
Right, you shouldn't lock lock out email. Is that personal email or work? I notice it's not Gmail. What are your fetch settings on that app? I have mine set for every 5 minutes. On my work email, it's an Exchange push server based so it's instant, but on my personal email (not Gmail), I have the IMAP fetch settings for 5 minutes. On some email apps you can even set fetch/check for every 30 seconds. That's a lot of pinging and could be draining the battery. Just a guess.
Seems to be working great, Chazz - thank you so much!!!
I have an app called "kaufDA". If started it needs to load a really large amount of data - which is OK. The app also has a widget. This widget does quite the same, but regularly and in the background. Now you would expect that Android detects that as background traffic, and in fact it does, but strangely data keeps on flowing even though the switch to restrict background data usage is set! Currently this is my only misbehaving app (on Android 7) but I guess there might be more.
Proposal for a workaround: Switch on mobile data usage option of the specified app if the app is running in foreground and off if it's not running in foreground (=only widget). Any idea how to do this with Tasker?