Oreo battery settings...Launch??? - Huawei Mate 9 Questions & Answers

I just upgraded to Oreo and am wondering what the Launch setting under the Battery section does? With Nougat, I really liked the feature to close apps when the screen turned off. I am not sure what this Launch setting does??

It's clearly written there. It manages, whenever an app can launch, or not based on patterns.

Shadowprince94 said:
It's clearly written there. It manages, whenever an app can launch, or not based on patterns.
Click to expand...
Click to collapse
Hi,
How did you configure the settings. Since the update to Oreo I am only getting 3 hours of SOT which is very disappointing.
In general, if I do not want an app to be running in the background or starting on its own i will choose to m it manually an deselect all options?
How do you handle apps that you do want to receive notifications from?
Thank you.

Go to settings -- launch
You can either let the system decide which way is more power saving (manage all automatically) or you can go at the top in setting - launch, it says manage batch manually.
For example
Facebook : auto launch : secondary launch : background launch
If you check auto launch,the Facebook app will run in background as soon as you turn on you system. If you don't check the box, the app will remain stop unless you tap on it
If you check secondary launch which allows other app to wake up Facebook app, if you don't check the box the app will not wake up by other app
If you check background launch, you allow the app to run in the background. If you don't check the box the app will stop after several minutes after you close it( save your battery).

zhouqishi110ok said:
Go to settings -- launch
You can either let the system decide which way is more power saving (manage all automatically) or you can go at the top in setting - launch, it says manage batch manually.
For example
Facebook : auto launch : secondary launch : background launch
If you check auto launch,the Facebook app will run in background as soon as you turn on you system. If you don't check the box, the app will remain stop unless you tap on it
If you check secondary launch which allows other app to wake up Facebook app, if you don't check the box the app will not wake up by other app
If you check background launch, you allow the app to run in the background. If you don't check the box the app will stop after several minutes after you close it( save your battery).
Click to expand...
Click to collapse
Sorry just extra information, if you still feel the battery drains to quickly, do check at Battery Usage Click Facebook and Terminate App.
This based on my experiment as previous build (360) was okay, but this one (362) a battery drains so noticeable.
I notice that even if you set FB restricted from running background process, it's still running.
Thus, drains your battery much quicker.
As it consume about 138.46 mah which is the highest among all of my app.
Second highest is instagram (114.84 mah)
Other app was below 50.00 mah.
After i terminate it, i can easily reach 2 day ++ (wifi, data but not heavy), 1 day ++ (moderate use : fb, surfing, call, etc), 25 hours ++(heavy : gaming, movies, fb, youtube non-stop)
Only certain apps I manage it as Automatically, others by Manually (uncheck all box).
You can see in the picture attached.
Hope its help you !
Sent from my Huawei Mate 9 using XDA Labs

wancyber said:
Sorry just extra information, if you still feel the battery drains to quickly, do check at Battery Usage Click Facebook and Terminate App.
This based on my experiment as previous build (360) was okay, but this one (362) a battery drains so noticeable.
I notice that even if you set FB restricted from running background process, it's still running.
Thus, drains your battery much quicker.
As it consume about 138.46 mah which is the highest among all of my app.
Second highest is instagram (114.84 mah)
Other app was below 50.00 mah.
After i terminate it, i can easily reach 2 day ++ (wifi, data but not heavy), 1 day ++ (moderate use : fb, surfing, call, etc), 25 hours ++(heavy : gaming, movies, fb, youtube non-stop)
Only certain apps I manage it as Automatically, others by Manually (uncheck all box).
You can see in the picture attached.
Hope its help you !
Sent from my Huawei Mate 9 using XDA Labs
Click to expand...
Click to collapse
I think you reply to the wrong person. I have no issues with the battery I was just letting others know what it mean to manually manage apps
But anyway thanks for sharing information

zhouqishi110ok said:
I think you reply to the wrong person. I have no issues with the battery I was just letting others know what it mean to manually manage apps
But anyway thanks for sharing information
Click to expand...
Click to collapse
Yeah man..i do notice the wrong replies, but it's to late..
Sorry @zhouqishi110ok....my bad...haha.
Ur welcome man ! Sorry again !
Sent from my Huawei Mate 9 using XDA Labs

Thank you both for the suggestions. I'll give it a try and report back. If I do manage an app manually and uncheck all three boxes I won't receive any push notifications?

I don't use the FB app, battery drainer.
I just use the address: m.facebook.com to launch the mobile version of the site. If I need the full version
I just click the hamburger, check the use full page.

bartuone said:
Thank you both for the suggestions. I'll give it a try and report back. If I do manage an app manually and uncheck all three boxes I won't receive any push notifications?
Click to expand...
Click to collapse
After you close the screen, it'll automatically stop or terminate any background apps. But sometimes depends on the app. Like whatsapp, joox or some of my apps only need to clear the recent apps. Try and experiment. But for fb as i said earlier, after you use it please do terminate it manually.
Sent from my Huawei Mate 9 using XDA Labs

hi, manage automatically is all auto,secondary and running in background all 3 ticked?

galaxy16 said:
hi, manage automatically is all auto,secondary and running in background all 3 ticked?
Click to expand...
Click to collapse
Hi, i'm not quite understand what are you trying to ask. Can you provide a little more detail ?
It's will be easier for the others to help you.
Sent from my Huawei Mate 9 using XDA Labs

p51d007 said:
I don't use the FB app, battery drainer.
I just use the address: m.facebook.com to launch the mobile version of the site. If I need the full version
I just click the hamburger, check the use full page.
Click to expand...
Click to collapse
I use the app Fella for facebook. It work very well and there are many configuration options.

The worst thing it does is prevent internet access to your applications in the background. Even using the Android JobScheduler API, with "SetRequiredNetworkType", and "Enable background data" set for your app, you'll still get connection errors from any code that is run from your scheduled job if the app is not presently in the foreground. It's a horrible feature for app developers to deal with, ugh.

zhouqishi110ok said:
Go to settings -- launch
You can either let the system decide which way is more power saving (manage all automatically) or you can go at the top in setting - launch, it says manage batch manually.
For example
Facebook : auto launch : secondary launch : background launch
If you check auto launch,the Facebook app will run in background as soon as you turn on you system. If you don't check the box, the app will remain stop unless you tap on it
If you check secondary launch which allows other app to wake up Facebook app, if you don't check the box the app will not wake up by other app
If you check background launch, you allow the app to run in the background. If you don't check the box the app will stop after several minutes after you close it( save your battery).
Click to expand...
Click to collapse
How I can control this setting by my app rather than setting manual?

A.Pul said:
How I can control this setting by my app rather than setting manual?
Click to expand...
Click to collapse
You can't. And even showing a screen prompting or showing users how to do it, can get your app banned by Google Play.
EDIT: My response here was short-sited and premature. You can do something about this, as long as your app meets certain criteria.
Acceptable use cases for whitelisting:
https://developer.android.com/training/monitoring-device-state/doze-standby#whitelisting-cases
Adding whitelist support for acceptable use cases:
https://developer.android.com/training/monitoring-device-state/doze-standby#support_for_other_use_cases

leroy30 said:
You can't. And even showing a screen prompting or showing users how to do it, can get your app banned by Google Play.
Click to expand...
Click to collapse
Thanks, but if we don't show a message to warning user, they may not know this issue.
Have any function to check the device is current managed automatically or manually?
I just want to show a message in case it's managed automatically.

A.Pul said:
Thanks, but if we don't show a message to warning user, they may not know this issue.
Have any function to check the device is current managed automatically or manually?
I just want to show a message in case it's managed automatically.
Click to expand...
Click to collapse
It looks like you can do it, as long as your app meets an acceptable use case for battery optimization white-listing. If you can tick that box, you can fire an intent REQUEST_IGNORE_BATTERY_OPTIMIZATION to directly prompt the user to add your app to the whitelist.
Acceptable use cases for whitelisting:
https://developer.android.com/training/monitoring-device-state/doze-standby#whitelisting-cases
Adding whitelist support for acceptable use cases:
https://developer.android.com/training/monitoring-device-state/doze-standby#support_for_other_use_cases

leroy30 said:
It looks like you can do it, as long as your app meets an acceptable use case for battery optimization white-listing. If you can tick that box, you can fire an intent REQUEST_IGNORE_BATTERY_OPTIMIZATION to directly prompt the user to add your app to the whitelist.
Acceptable use cases for whitelisting:
https://developer.android.com/training/monitoring-device-state/doze-standby#whitelisting-cases
Adding whitelist support for acceptable use cases:
https://developer.android.com/training/monitoring-device-state/doze-standby#support_for_other_use_cases
Click to expand...
Click to collapse
Thanks, but I tried this way before but it's not working. :crying:

Related

Apps randomly starting in the background?

I use advanced task killer and minutes later I see MP3 Store, and Messages running. Before I saw a few others. Are they set to start running in memory for some reason? Not sure if they eat up much juice, but I wonder if I can make a list of certain ones and disable their start up somehow. Is there a task killter that blocks startups?
same here we need something to block these apps
Messages is required to recieve MMS (Even if you use handcent or chomp or something else as your main client). We tried removing that once in the hero forums and it caused ALL sorts of problems and force closes)
The mp3 store is usually ok to remove though.
thecodemonk said:
Messages is required to recieve MMS (Even if you use handcent or chomp or something else as your main client). We tried removing that once in the hero forums and it caused ALL sorts of problems and force closes)
The mp3 store is usually ok to remove though.
Click to expand...
Click to collapse
Thanks codemonk,
Do you know that setting in advance task killer is that says "auto kill level"? It is set to disable now, but what does it do? Thanks.
jeffrimerman said:
Thanks codemonk,
Do you know that setting in advance task killer is that says "auto kill level"? It is set to disable now, but what does it do? Thanks.
Click to expand...
Click to collapse
I'm not sure...I avoid task killers as a rule (I installed one earlier to test something for an earlier thread and uninstalled afterwards once I got my info).
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/ - This should provide some good info on it.
The better solution, especially for apps that you don't intend on using, is uninstalling the app (there's a whole thread talking about which ones are safe to remove).
thecodemonk said:
I'm not sure...I avoid task killers as a rule (I installed one earlier to test something for an earlier thread and uninstalled afterwards once I got my info).
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/ - This should provide some good info on it.
The better solution, especially for apps that you don't intend on using, is uninstalling the app (there's a whole thread talking about which ones are safe to remove).
Click to expand...
Click to collapse
yeah, that is a great idea. I imagine if I wanted it back I could just install it again. Thanks Codemonk.
Why do you need those apps not running? Android will kill them if it needs more memory.
Why are people obsessed with killing stuff? It's not like your phone runs better with 192mb of free memory vs 163mb...
it actually does, as well as lets the battery last longer since it isnt using as much processing power
Nagrom Nniuq said:
Why do you need those apps not running? Android will kill them if it needs more memory.
Why are people obsessed with killing stuff? It's not like your phone runs better with 192mb of free memory vs 163mb...
Click to expand...
Click to collapse
Let the phone run for a good 12 hours. I was down to 42MB free basically idling and only using Handcent. Killed a few tasks and back up to 175 and everything is snappy again.
I don't like having to use a task killer, I didn't have to with my N1.
maybe there will be an app like Scotty for windows 7. I check and a bunch of bloatware starts on it's own. It's all marketing bs. When there is a nice root stripped down, with all the nice stuff enabled I'll do that.
download startup auditor from the market. great little app to select and unselect which apps you want to load when the phone powers up. only costs $0.99 usd
pyr0path said:
download startup auditor from the market. great little app to select and unselect which apps you want to load when the phone powers up. only costs $0.99 usd
Click to expand...
Click to collapse
So if I leave it to no apps, will it load up with 0 apps running? Will it also prevent apps from randomly starting after phone is already on? Sounds like a nice app.
Unless startup auditor disables the service there is a list of apps that will randomly start up at times. I went into the application settings and apps like MP3 store don't have an option to uninstall.
I have used task killer to kill all apps and within minutes some start again.
"thecodemonk" why do you not use a task killer. I have only had an Android phone about 24 hours now and got a lot to learn.
First thing being how to enable tethering.
I have mine set to "safe" and it auto closes things when screen goes black.
Make sure you "IGNORE" certain apps... like the clock or else your alarm wont work... I almost over slept
I have the following set to ignore:
Messages
Handcent
clock
gmail
Mort Music player
Fastbright
Check out the application "Autokiller." This comes with preset values (optimum, moderate, aggressive, etc.) so that apps will be killed off once your free memory drops below a certain point. This app works great, but it does REQUIRE root to function and must be rebooted to finish applying the settings. Also lists all apps, processes, and services which can be killed off manually as well.
-------------------------------------
Sent via the XDA Tapatalk App on the HTC EVO 4G!
[email protected] said:
Check out the application "Autokiller." This comes with preset values (optimum, moderate, aggressive, etc.) so that apps will be killed off once your free memory drops below a certain point. This app works great, but it does REQUIRE root to function and must be rebooted to finish applying the settings. Also lists all apps, processes, and services which can be killed off manually as well.
-------------------------------------
Sent via the XDA Tapatalk App on the HTC EVO 4G!
Click to expand...
Click to collapse
I've been trying to find AutoKiller, yet I can't find it in the market. Is it here on the forums?
Fixter said:
I've been trying to find AutoKiller, yet I can't find it in the market. Is it here on the forums?
Click to expand...
Click to collapse
It is in market, search "autokiller". Requires root access, but I can confirm it is working fine.
Wanted to add that I am annoyed by programs that I never intend to use running in the background. From recovery I used Android Commander to quickly select and delete every .apk in /system/app that I never wanted to see again.
Helo guys saw this topic and was over at androidcentral and saw this article which talks about an app that would kill any app that autostarts.
won't let me post links as i'm a new user, but go to androidcentral and look for the article about the app autostarts or just google "autostarts"
using task panel to kill the "junk" like amazon and mp3 store- also any program that doesnt attach itself to things like facebook or messages - i use skyfire so i have set that to autokill but leave the "internet" running..
i also use this to switch between apps running.. having to hit back back back or even going to home then program list then finding it is a long process.. for example ...
i get a handcent message - go into the threaded sms- type and im done - holding down the home screen doesnt pop all the programs up - therfor i set task panel up to stay on my status bar and hit it then go to the program i want.

[Q] Apps Restarting

I recently upgraded my ATT Captivate to 2.2. I now have a problem with apps starting up on there own even though I've going into apps management and have killed them. I even have app killer and its not automatically killing the apps. These aren't the att apps, these are apps that I've installed.
How can I prevent apps from starting back up. Its killing my battery life.
Thanks
dirk1965 said:
I recently upgraded my ATT Captivate to 2.2. I now have a problem with apps starting up on there own even though I've going into apps management and have killed them. I even have app killer and its not automatically killing the apps. These aren't the att apps, these are apps that I've installed.
How can I prevent apps from starting back up. Its killing my battery life.
Thanks
Click to expand...
Click to collapse
Get os monitor and check how much mem they use. If u see one that is always over 20%, uninstall it.
Also u can stop ur running services.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
What BW said. Don't worry about them in there unless you find one using up too much battery/resources. They won't drain your battery unless it's a bad app.
BWolf56 said:
Get os monitor abd check how much mem they use. If u see one that is always over 20%, uninstall it.
Also u can stop ur running services.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
I have also stopped the services for the apps that are restarting, and they keep coming back like bad mexican food.
dirk1965 said:
I have also stopped the services for the apps that are restarting, and they keep coming back like bad mexican food.
Click to expand...
Click to collapse
You could try unistalling your task killer and getting Advanced Task Killer (it's the one I personnaly use). Now killing a app won't stop it from restarting, you usually fix that in your running services. Also make sure that these apps arent widgets - in that case they will always restart
BWolf56 said:
You could try unistalling your task killer and getting Advanced Task Killer (it's the one I personnaly use). Now killing a app won't stop it from restarting, you usually fix that in your running services. Also make sure that these apps arent widgets - in that case they will always restart
Click to expand...
Click to collapse
Actually, its Advanced Task Killer that I have installed. Yes, I totally understand apps vs. services. I'm stopping the services for the apps that have restarted, yet they continue to restart after the service has been killed. These apps are definitely not widgets.
dirk1965 said:
Actually, its Advanced Task Killer that I have installed. Yes, I totally understand apps vs. services. I'm stopping the services for the apps that have restarted, yet they continue to restart after the service has been killed. These apps are definitely not widgets.
Click to expand...
Click to collapse
Umm, may I ask what are these apps?
The only app that takes couple tries for me to stop if the facebook one. Also, some app are made to constinusly refresh and get info from the internet. If that's the case with your apps, block their internet connection or change their settings to have it refresh manually.
Also, you can tell some apps not to start on boot up - that might temporaly fix your problem.
BWolf56 said:
Umm, may I ask what are these apps?
The only app that takes couple tries for me to stop if the facebook one. Also, some app are made to constinusly refresh and get info from the internet. If that's the case with your apps, block their internet connection or change their settings to have it refresh manually.
Also, you can tell some apps not to start on boot up - that might temporaly fix your problem.
Click to expand...
Click to collapse
Apps like Google Maps, ColorNote, Daily Briefing and others. Its very random what apps decide to start.
dirk1965 said:
Apps like Google Maps, ColorNote, Daily Briefing and others. Its very random what apps decide to start.
Click to expand...
Click to collapse
I duno about colornote but as for the others, they automaticly refresh using the internet and so like I said in my other post, you have to set it so the either can't access the internet (might as well unistall them in that case) or set their refresh to manual so it only refreshes when you "tap" on them.
Google maps refreshes for your location. That one will be a pain especially if you have the gps on.
If you get over a day of battery life with moderate usage and that you like these app, then I'd say to just live with it. If it's not the case, I suggest getting rid of them but if OS Monitor doesn't show them using your mem/battery, then they don't actually do/change much.
BWolf56 said:
I duno about colornote but as for the others, they automaticly refresh using the internet and so like I said in my other post, you have to set it so the either can't access the internet (might as well unistall them in that case) or set their refresh to manual so it only refreshes when you "tap" on them.
Google maps refreshes for your location. That one will be a pain especially if you have the gps on.
If you get over a day of battery life with moderate usage and that you like these app, then I'd say to just live with it. If it's not the case, I suggest getting rid of them but if OS Monitor doesn't show them using your mem/battery, then they don't actually do/change much.
Click to expand...
Click to collapse
Okay, I'm with you. So where exactly do you set apps to refresh manually?
dirk1965 said:
Okay, I'm with you. So where exactly do you set apps to refresh manually?
Click to expand...
Click to collapse
once on the app, hit your menu button (bottom left one ) and you should have a setting option - each app will be different but it mostly comes to the same thing. Also if you don't have any menu option, there should be a (i) kind of image/icon somewhere in the main app page but these are rare. Most app will have their setting menu.
Thanks. I'll try it and see what happens.
nice conversation, very informative. thanks guys
Sent from my SAMSUNG-SGH-I897 using XDA App
lyrad12 said:
nice conversation, very informative. thanks guys
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Glad I could help

Speed improvements

Hey! tl;dr? Click here to go directly to the fast improvements post and disable some unwanted services.
Still want more fun disabling services? Read the second post.
Hi all,
I improved the speed of my G2 recently and felt that the community might appreciate this as well. It's probably not the "best guide" for everybody, but this is what I've done and it's worked nicely for me so far.
I recently got irritated at my phone being occasionally sluggish. So, when it was sluggish one time, I went to Manage applications->Running Applications, and saw that Facebook decided it wanted to start itself up in the background.
Now, I'm as big a fan as the next guy for having multi-tasking, but randomly starting an app in the background without my consent is not what I consider to be useful or resource-friendly. I decided to "freeze" the app using SD Maid (you can do this with Titanium Backup as well). Facebook is now in a frozen state so it will not launch itself at all. Ha!
What do I do about having no Facebook now? Well, there happens to be a great app on the Market called Fast for Facebook. This is quite an improvement over the sluggish and buggy Facebook app. I installed that and am having a blast with it so far.
I wanted to check for other apps that were dawdling in the background. So I looked again in Running Applications and found that Maps decided it wants to be running too. I went to the settings for the Maps application, and turned off Location reporting. Why would I want an app sucking my resources dry to alert the world where I am? I'm not that much of a socialite or stalker prey. I also turned off Automatic check-ins.
Previously, I'd gone through a few other apps and turned off automatic sync. Things like DropSync (to sync Dropbox), Tumblr, Google+, and Twitter are not necessary for me to have reviving themselves in the background. I should be the authoritarian ruler of all of the apps over my phone- no freedom here to run around as you please.
I set up a couple apps to run at odd hours of the night. I only need to have photos and documents synced probably once a day, so I set up Tasker to do it automatically while the phone is charging and connected to Wifi at around 4am. I've set up Titanium Backup to do backups something like every Tuesday night, Friday night, and Sunday night, each at like 4am as well; and upload those backups to Box. I want to use my phone fast when I use it during the day, and at night time it can take its time with these lesser-priority tasks while I'm asleep.
Email/Gmail and Messages still have notifications and syncing, as well as the occasional Pulse RSS feed notification. All else seems to be shutting up though, which is good. What I would really like to do is have Market update its apps automatically at like 4am, so it won't spend resources checking for updates in the background. I can't find how to do that though.
One app that really gets under my skin is Amazon Appstore. This guy runs in the background too- I've turned off its notifications but I'm pretty sure it'll still sit there sapping my resources. This one's a toughie because I want to uninstall or freeze it, but I want to still be able to get good free apps from it once a day. There have been some really good apps and some really bad ones, but the good ones are worth it to me.
I might add in more things to disable. It's been faster so far, so I'll see how it goes over a couple days. One last thing I did was install SetCPU. I use that now instead of CyanogenMod 7's built-in CPU stuff. I don't know if it's a placebo or not, but I seemed to notice a boost in performance from it (not instantly, but in general I see less lag).
Hope this helps someone, best of luck with all of your phones.
-Proxin
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
demkantor said:
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
Click to expand...
Click to collapse
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
Proxin said:
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
Click to expand...
Click to collapse
For speed improvements, i usually use titanum backup to remove alot of useless apps i dont use (which frees up alot of ram). then i supercharge my phone and set it to agressive. And i also change up the build prop.
I need to post my additions.
I realized that by disabling Facebook, I lost my contacts that I had from there. That's no good. So I re-enabled it.
Now, Facebook has a few select services it likes to let run in the background. One specific one is MediaUploadService. This runs even when you are Not uploading anything, which is ridiculous because it hogs your resources.
However, if you disable this service completely, you won't be able to upload any photos to Facebook from your phone.
SO, I set up a script to disable all of Facebook's services like this at once, and I use the app called Llama to execute this script every time Facebook exits. I set it up to call my enable script once Facebook is started, then 5 minutes after Facebook closes it disables all of the Facebook services.
Here is what I used...
Enable Facebook services:
Code:
su -c 'pm enable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm enable com.facebook.katana/com.facebook.katana.service.FacebookService; pm enable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm enable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
Disable Facebook services:
Code:
su -c 'pm disable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm disable com.facebook.katana/com.facebook.katana.service.FacebookService; pm disable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm disable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
With this new ability to disable services, I took a look at Amazon AppStore's annoying service, and disabled it using this script with Llama like I did with Facebook:
Amazon Service Disable script
Code:
su -c 'pm disable com.amazon.venezia/com.amazon.venezia.service.UpdateService'
Proxin- note: old code said:
Next, I noticed SwypeConnect was keeping itself active, so I disabled it too (Swype never gets updates anyway, so I didn't see anything bad with doing this):
Code:
pm disable com.swype.android.inputmethod/com.swype.android.connect.ConnectClient
Click to expand...
Click to collapse
There's an app on the Market called StartupManager, I used that to kill off extra startup services that were not necessary. Things like Youtube, MyTracks and Maps were starting up. My view is, why do these things start when I don't start them myself? I stopped the services and have seen some pretty good responsiveness so far.
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.
Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
redspeed said:
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.
Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
Click to expand...
Click to collapse
Great, I'll look into those too- thanks
@proxin:
Amazing post! how do you find the path for each of those components inside a package?
I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile
Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
file2mail said:
@proxin:
Amazing post! how do you find the path for each of those components inside a package?
I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile
Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
Click to expand...
Click to collapse
Thank you, hope it has helped! I found them by looking up their Running service name on Google, and seeing people's logcat errors on there elaborated them for me. So I'd try a search for "com.facebook.katana*MqttPushService" and Google would direct me to the proper one.
You're spot-on with the Mqtt needing to be lowercase, I found the same issue on mine and got pissed off when I saw that the Mqtt service was still running forgot to change the post to reflect it though. Thanks for the notice
Seems like the best method for using your phone properly is to do like we're doing, otherwise applications with poor choice in how they handle resources, will clutter up the phone.
Btw, I tried Gemini App Manager and it works well for disabling autostart in apps. LBE Privacy Guard is intense in how much it locks down your phone, but that's locked down it's even a bit too much for me haha. It's a great app and will work for many people though.
I've noticed maps running in the background many times. I didnt know you're able to switch this off, thanks for the info!
Killer1desireZ said:
I've noticed maps running in the background many times. I didnt know you're able to switch this off, thanks for the info!
Click to expand...
Click to collapse
No problem, I don't recommend killing off the Maps service though as it's probably needed for some location service (in my case I need the cell tower location service for some Llama profiles)
That's just my case though. Before you disable the service, maybe see if you can turn off automatic location reporting in Latitude? Go into Latitude settings->Location Settings and change Location reporting and Automatic check-ins to be Off.
Hope this helps. It shouldn't disable the entire Maps service but maybe it will reduce the amount of check-ins that Maps does without your consent.
Perhaps one of the biggest performance hits in an Mid Spec Android phone is how many App's it's carrying.
It is generally a good idea to keep the App count low. A general rule of thumb is to have no more than 40~ user apps on your Device. Since you have less apps installed (some of which could be idling or actively operating in the backround), you'll have more free RAM/space in the internal storage which in turn will mean more speed/battery efficiency.
Hope this can be of help
crestofawave said:
Perhaps one of the biggest performance hits in an Mid Spec Android phone is how many App's it's carrying.
It is generally a good idea to keep the App count low. A general rule of thumb is to have no more than 40~ user apps on your Device. Since you have less apps installed (some of which could be idling or actively operating in the backround), you'll have more free RAM/space in the internal storage which in turn will mean more speed/battery efficiency.
Hope this can be of help
Click to expand...
Click to collapse
I've heard this said too, but I've never seen evidence that the more apps you have installed = the more apps are actively running. It's definitely a good idea to have less installed, but I don't think they'll run in the background unless they have autostarting capabilities like you can monitor with Gemini App Manager.
This is just me without even a Bachelor's degree speculating and relaying my experience though, so don't take my word for it
I notice a definite lag once I go above a certain amount of apps. I uninstall 10 or so and its a rocket! But then again I have waaaay more then 40 probably like 100 or something
Maps doesn't have that option for me. Anyways uninstalled 20 apps
New fun things to try...
I enjoy GO Launcher Ex just as much as the next guy who uses it as the default Home application, but I don't enjoy it making multiple services of itself that do, literally nothing. What I noticed specifically was a service called GOMusic, taking up about 4MB of RAM which could be used for other, more useful things.
What I did to fix it was:
Code:
pm disable com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.appfunc.mediamanagement.musicplay.MusicPlaybackService
My Google Music widget still works fine, so apparently the GOMusic thing was just a waste of RAM (unless someone can explain a good reason to leave it be?)
One more addition I did was that, I keep seeing SwypeConnect as a service and I don't like it. It shouldn't need to constantly connect, for me to simply use Swype whenever I do.
I tried two things, pretty sure the second fixed this:
Code:
pm disable com.nuance.swype.input/com.nuance.swype.input.SwypeConnect
pm disable com.naunce.swype.input/com.nuance.swype.connect.ConnectClient
And next, I saw that Google Voice had a Widget service that liked to hang out and sap my resources. This would be useful but I don't have a widget set, so I disabled it:
Code:
pm disable com.google.android.apps.googlevoice/.widget.WidgetService
That worked for me. I can still send and receive messages with Google Voice, so I still have the same functionality I need without having an extra service in my list.
Note that, as usual, these are easily reversible by using using "enable" instead of disable in that code block.
Hopefully this will help someone else as well.
New experimental service disabled; I had noticed multiple Maps services running whenever they pleased. I can do with a NetworkLocation service from Maps, because I use Llama for location profiles and all, but not a Prefetcher service for it.
Here is what I used to disable the Prefetcher service...
Code:
pm disable com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService
I haven't seen any negative effects from this so far, but I will update this if I do.
@Proxin
Hi there,
I'm realy like your entries here, but i cant get through with the scripts killing facebook services. Can you be more specifc pls how to set those scripts you mentioned in Llama?
i've just tried to do things you say with facebook background services and for maps' prefetcher, but it says Segmentation Fault, as far as i know , segfaults are not normal linux program response, right? without super user privileges it just says 'Killed' [i tried both because 'pm set-install-location' worked for me only without super user]
EDIT:
ok, i'm noob, i just had to export LD_LIBRARY_PATH, now pm doesn't segfault for me as superuser
hi can any ody guide me how to use those su commands with llama?? thanks

[Q] Who is drops my battery??

Hi,
a month ago, my battery consumption was fantastic. A good example is the month_ago attachment.
Now, two weeks ago my battery consumption is horrible and can not find the explanation.
I installed a couple of applications of GPS and Maps, but are already uninstalled.
I made a test 6 hours without any use, no GPS, no BT, no WiFi, no 3G, no calls and has spent almost 50%.
BetterBattery Stats not give me any application that is consuming the battery.
Any idea how I can find out?
Model: Sony Ericsson Xperia Neo V
Rom: Legacy Xperia 10.1 CM
Android: 4.2.2
Anyone have any idea?
P.D: Sorry for my poor english...
Bump*
a few ideas to start your ball rolling
uninstall task "killers": android already does this for you
IF root: BootManager (XPosed Framework) : control which apps launch on power up
IF any app shows web ads = malware. uninstall. not only does it steal bandwidth, but also wastes battery
reflect on your use of "background data"
reflect on your frequency of checking for updates (email, social whoring, other messages)
consider your screen brightness settings
have you tinkered with 'perfomance' options via a ROOT app
a change in usage habits will be reflected by a change in battery longevity : this is purely rational
IF root: AFwall+ : track app use of your internets interfaces [wifi, mobile, bt pan, etc]
again: uninstall ALL adware or apps showing web ads. Or use certain root tools for ripping out the ad loading junk of existing apps. Blocking ads is not as effective as preventing apps from requesting ads per se
Other helpful Xposed Framework plug-ins
XPrivacy [Pro] --- or DonkeyGuard
UnbelovedHosts
xInstaller
Lightning Wall
HideBatteryLowAlert
Hide Battery Charged Notification
You can also post your BBS log in that thread and they will analyze it for you. The screenshots only tell part of the story. Good luck.
Try Greenify. It works very well for keeping your battery life up and not lettings apps use the Internet whenever they want.
:good:
Hi,
first of all, thanks for your replies.
Before answers all replies, more info...
In my holidays, I needed a GPS in my tablet, but dont work. So, in my phone, I´d installed "GPS over BT". The idea was pair devices, get location gps with the phone and send over bt to the tablet.
Therefore, when using the applications, devices were being charged at once.
When holidays ends, apps are uninstalled and the problems begins.
I think that the gps and bluetooh have been set enabled, but I'm going to the settings and there are disabled.
So, now, answering to the replies:
RedScotch said:
uninstall task "killers": android already does this for you
Click to expand...
Click to collapse
I´ve not installed any task killer.
RedScotch said:
IF any app shows web ads = malware. uninstall. not only does it steal bandwidth, but also wastes battery
again: uninstall ALL adware or apps showing web ads. Or use certain root tools for ripping out the ad loading junk of existing apps. Blocking ads is not as effective as preventing apps from requesting ads per se
Click to expand...
Click to collapse
Any new app with ads have been installed, and No have any special or rare app.
List of apps installed:
Angry Words (Greenified)
Apex Launcher
BatteryCalibration
BetterBatteryStats
Catlog
Colornote
DCIkonZ Theme
Es File Explorer (Greenified)
Fancy Widgets
Feedly (Greenified)
Fenix (Twitter) (Greenified)
Gmail
Google Play Store
Greenify
Xposed
(Exposed) All notifications expanded​(Exposed) Double tap to sleep​(Exposed) Swap volume keys​
Quickpic
Swype + Dragon
Titanuim Backup (Greenified)
WhatsApp
Yatse (XBMC Controller)
Youtube (Greenified)
RedScotch said:
reflect on your use of "background data"
reflect on your frequency of checking for updates (email, social whoring, other messages)
IF root: AFwall+ : track app use of your internets interfaces [wifi, mobile, bt pan, etc]
Click to expand...
Click to collapse
During the test of six hours, all connections are disabled (apparently). No GPS, no BT, no WIFI, no 3G.
RedScotch said:
consider your screen brightness settings
Click to expand...
Click to collapse
The screen was turned out during the test.
RedScotch said:
have you tinkered with 'perfomance' options via a ROOT app
Click to expand...
Click to collapse
No change of any performance option. No overclock.
RedScotch said:
a change in usage habits will be reflected by a change in battery longevity : this is purely rational
Click to expand...
Click to collapse
3 or 4 weeks ago, all work perfect. 1 or 2 weks ago, all bad. It´s the same usage.
I know it's my fault, when I installed or uninstalled any app...
RedScotch said:
IF root: BootManager (XPosed Framework) : control which apps launch on power up
Click to expand...
Click to collapse
It´s a good point to begin. I´ll install the module and see the results..
lalec said:
You can also post your BBS log in that thread and they will analyze it for you. The screenshots only tell part of the story. Good luck.
Click to expand...
Click to collapse
How can i dump the log?? I don´t know how get a more detailed log.
In BBS, the menu options in the main screen are:
Settings
Set custom ref.
More (Graphs, Raw stats, Order by...)
Help
thenookieforlife3 said:
Try Greenify. It works very well for keeping your battery life up and not lettings apps use the Internet whenever they want.:good:
Click to expand...
Click to collapse
I have installed Greenify. List of all apps is in above.
Thanks and sorry for my english again. It´s difficult explain things well in other language...:angel:
adware is very bad
RedScotch said:
use certain root tools for ripping out the ad loading junk of existing apps. Blocking ads is not as effective as preventing apps from requesting ads per se
Click to expand...
Click to collapse
Again: [attempting to] open interweb connections USES battery. Simply blocking connections does little for battery (but more for sacrosanct privacy)
Any new app with ads have been installed, and No have any special or rare app.
List of apps installed:
Click to expand...
Click to collapse
It is not evident from your response: do you have apps showing ads?
I strongly recommend installing these XPosed modules
XPrivacy [Pro] --- or DonkeyGuard
UnbelovedHosts
thenookieforlife3 said:
Try Greenify.
Click to expand...
Click to collapse
The developer does not understand the verb "opt":
INTERNET: Needed by "Raise Your Voice" program to send back only small amount of anonymous statistics data, without privacy information. You can opt-out at any time.
Click to expand...
Click to collapse
Instead of green (which is not rational) try this XPosed module:
http://repo.xposed.info/module/com.h0rn3t.performanceprofile
Make your specific adjustments (per app) instead of trusting, oasis feng, an impaired developer.
Albvadi said:
Hi,
I needed a GPS in my tablet, but dont work. So, in my phone, I´d installed "GPS over BT".
Click to expand...
Click to collapse
Is that BlueGPS?
https://f-droid.org/repository/brow...g.broeuschmeul.android.gps.bluetooth.provider
The idea was pair devices, get location gps with the phone and send over bt to the tablet.
Click to expand...
Click to collapse
Oh, that is suboptimal. With BlueGPS you pair a GNSS receiver to your tablet (or phone). BlueTooth uses less battery than phone GPS.
Therefore, when using the applications, devices were being charged at once.
Click to expand...
Click to collapse
Not all phones draw more power than they use. There are several devices for sale that will help you identify this better than installed apps.
Search amazon: usb power monitor
One such is:
amazon.com/PortaPow-Premium-Monitor-Multimeter-Ammeter/dp/B00LZ07BG0
When holidays ends, apps are uninstalled and the problems begins.
Click to expand...
Click to collapse
Which apps are used after holidays and not used during holidays?
How many of these apps show ADS? (battery wasting, data stealing, privacy damaging)
Angry Words (Greenified)
Apex Launcher
BatteryCalibration
BetterBatteryStats
Catlog
Colornote
DCIkonZ Theme
Es File Explorer (Greenified)
Fancy Widgets
Feedly (Greenified)
Fenix (Twitter) (Greenified)
Greenify
Quickpic
Swype + Dragon
WhatsApp
Yatse (XBMC Controller)
Youtube (Greenified)
During the test of six hours, all connections are disabled (apparently). No GPS, no BT, no WIFI, no 3G.
Click to expand...
Click to collapse
Disabled how?
No change of any performance option. No overclock.
Click to expand...
Click to collapse
This is prudent system wide. Overclock without exogenous cooling is extra foolish. Per-app CPU throttling is a different matter. Changing "nice" level per-app might help.
Thanks and sorry for my english again. It´s difficult explain things well in other language...:angel:
Click to expand...
Click to collapse
I can use simple English. Some people take offense. Your English is better than my any other language.
Hi,
thanks for the new reply.
I've been pretty busy and I could not answer before.
I made a test with another battery from another phone of the same model with the same age as my battery, but less hours of usage.
The results are as follows: in the same scenario as the previous test, uses almost 25% less than before.
So, it seems that the battery is nearing its end slowly. Attach any images.
I decided to buy a new battery (with more capacity, and < 7$) and test how it behaves.
If it continues much the same, I will reinstall the current ROM that I have, beacuse I'm pretty happy with it and I'm tired of researching which application is causing the problem.
Thank you so much for all the replys and all the tips and recommendations. I really appreciate it

[APP][Root][7.0+]RunInBackgroundSetter v1.4 :: [25.07.2017]

Few hours ago @explainAndroid posted article on xda main page onto how to use android's hidden RUN_IN_BACKGROUND permission to restrict app's background behavior. I made an app for that.
Here's link to original article: https://www.xda-developers.com/freeze-app-background-processes-without-root-android-nougat/
Here's link to app's github: https://github.com/MrBIMC/RunInBackgroundPermissionSetter
Here's link to reddit thread about app: https://www.reddit.com/r/Android/co...en_run_in_background/?st=j570s1rf&sh=675cc4d6
Here's link to xda labs: https://labs.xda-developers.com/store/app/com.pavelsikun.runinbackgroundpermissionsetter
Omg it created multiple threads. Sorry. Trying to remove duplicates now.
Submit this to XDA Labs as well! Don't worry about a crappy icon or whatever. I've made apps in Tasker and have posted them to Labs hehe. As long as people find it useful feel free to submit!
@MrBIMC
Thanks for the app!!
Is possible add hours of the days of week when selected apps run or doent run in background?
Sent from my ONEPLUS A5000 using XDA-Developers Legacy app
Nice app!
Will charging disable this?
Can u make the app work without rooting, just using adb, where the permission through adb for this app is granted once and then it can be used to limit background permission of other apps
excellent mate.
we should post a tutorial... not everyone will understand the potential ramifications of disabling everything
I will try to test this out! Though, I kinda like the old icon compared to the new one, it seems like it's not properly cropped. Additionally, could you add an option to show system and user apps only? Maybe a toggle to ignore apps all at once or vice versa too?
No chance for Marshmallow?
Does this have the same functionality as in lineage os ROMs app ops where you can disable background processes?
As someone is undoubtedly going to ask it, I'll ask it for them. How does this differentiate to apps like greenify @MrBIMC? Do they both limit background processes? Anyways, the all looks very interesting, thanks!
This looks great!
Do the settings stick after reboot?
arjuntsgowda said:
Can u make the app work without rooting, just using adb, where the permission through adb for this app is granted once and then it can be used to limit background permission of other apps
Click to expand...
Click to collapse
No.
From the Github page:
Anyway, this app is for those who don't want to mess with adb shell and input commands manually and prefer to just click on app name to enable/disable it from running in the background. Sadly, android apps are not allowed to implicitly edit permissions of other apps, so this application requires root to overcome it.
Click to expand...
Click to collapse
Al Gore said:
No chance for Marshmallow?
Click to expand...
Click to collapse
No.
From the Github page:
Anyway, this app is for those, who don't want to mess with adb shell and input commands manually and prefer to just click on app name to enable/disable it from running in the background. Sadly, android apps are not allowed to implicitely edit permissions of other apps, so this application requires root to overcome it.
Click to expand...
Click to collapse
jordirpz said:
@MrBIMC
Thanks for the app!!
Is possible add hours of the days of week when selected apps run or doent run in background?
Click to expand...
Click to collapse
This would be really cool. Best way to implement that I think would be to add Tasker plugin functionality to the app to allow Tasker flows to toggle the permission, which would have the benefit of being able to change it for any reason (such as low battery).
DEVILOPS 007 said:
As someone is undoubtedly going to ask it, I'll ask it for them. How does this differentiate to apps like greenify @MrBIMC? Do they both limit background processes? Anyways, the all looks very interesting, thanks!
Click to expand...
Click to collapse
If I understand both correctly... Greenify forces apps to hibernate when you turn your screen off (or manually tell it to), but the app can still wake itself back up for a variety of reasons, such as receiving push notifications, location updates, or any other unnecessary reason like Facebook, lol. This app overrides a hidden permission in Android 7+ that tells the system to not allow the app to run in the background, which means it will not be able to wake itself up.
hassan_1000 said:
Does this have the same functionality as in lineage os ROMs app ops where you can disable background processes?
Click to expand...
Click to collapse
according to the reddit comments its the same. but maybe the Developer can confirm this
xdauser7 said:
according to the reddit comments its the same. but maybe the Developer can confirm this
Click to expand...
Click to collapse
Am Developer. Can confirm, toggle "limit background activity" in LOS14 is the same as this app. At least that's what reddit tells me as I haven't checked myself.
Wow. Looks promising. I was too lazy to run ADB manually xD
So lets see if I can screw something up with disabling almost everything
MishaalRahman said:
Submit this to XDA Labs as well! Don't worry about a crappy icon or whatever. I've made apps in Tasker and have posted them to Labs hehe. As long as people find it useful feel free to submit!
Click to expand...
Click to collapse
Ditto
neonixxx said:
This would be really cool. Best way to implement that I think would be to add Tasker plugin functionality to the app to allow Tasker flows to toggle the permission, which would have the benefit of being able to change it for any reason (such as low battery).
If I understand both correctly... Greenify forces apps to hibernate when you turn your screen off (or manually tell it to), but the app can still wake itself back up for a variety of reasons, such as receiving push notifications, location updates, or any other unnecessary reason like Facebook, lol. This app overrides a hidden permission in Android 7+ that tells the system to not allow the app to run in the background, which means it will not be able to wake itself up.
Click to expand...
Click to collapse
thanks, makes sense about Greenify... do you or anyone know the difference between this and Brevent?
dimm0k said:
thanks, makes sense about Greenify... do you or anyone know the difference between this and Brevent?
Click to expand...
Click to collapse
I actually tried Brevent for the first time a few weeks ago. According to the app itself, aside from not requiring root, it's supposed to monitor when you hit the back button or remove an app from recents, and then actually kill the app process when you do, despite if the app has some background process that it intended to keep running. Basically lets you manually control when an app is killed in a quick and intuitive way, but for me personally, it didn't seem to work as expected for some reason; background processes seemed to keep running after.
Also Brevent, being a non-root solution requires you to connect the device to a PC and run some ADB commands to give it permission every time you reboot. It has an experimental root mode that doesn't require this.

Categories

Resources