Apps Not Running at Boot - OnePlus 5 Questions & Answers

Hey guys, i have a small issue here with my apps.
Some of the apps like Tasker and Gravity Screen do not auto start on boot since i rooted my op5, i have selected them to run at boot.
My profiles on Tasker don't switch until i turn the screen on, even some of the apps like TB which i run on schedules during the night are not working.
Its like when my screen is off, all background activities stop, however WhatsApp and similar apps are working fine.
Could anyone pls guide me to a possible solution.
I know this is a strange request since mostly people ask how to stop the background activity, I'm asking the exact opposite.
Appreciate your help.

Try to turn off battery optimization for those specific apps.

elbuenzurdo said:
Try to turn off battery optimization for those specific apps.
Click to expand...
Click to collapse
I'll try that...
Sent from my OnePlus 5 using XDA Labs

ayush29k said:
I'll try that...
Click to expand...
Click to collapse
Let us know how it goes.

elbuenzurdo said:
Try to turn off battery optimization for those specific apps.
Click to expand...
Click to collapse
Yep, this should do it. I did face this issue for one of the Xposed modules and I turned off battery optimization for that app and it worked flawless.

elbuenzurdo said:
Let us know how it goes.
Click to expand...
Click to collapse
Worked like a charm.
Didn't notice oos had optimisation turned on by default for all apps.
Thanks a lot.
Sent from my OnePlus 5 using XDA Labs

ayush29k said:
Worked like a charm.
Didn't notice oos had optimisation turned on by default for all apps.
Thanks a lot.
Click to expand...
Click to collapse

You don't need to turn off battery optimizations for those apps. Just simply turn off OnePlus's "Advanced optimisation" feature and it should work without turning off the battery optimizations for those apps.
You can do that by going to Settings -> Battery -> Battery optimisation -> Three dot menu (⋮) -> Advanced optimisation -> Turn off.

You can also pinned these apps in recent apps section.

shadowstep said:
You don't need to turn off battery optimizations for those apps. Just simply turn off OnePlus's "Advanced optimisation" feature and it should work without turning off the battery optimizations for those apps.
You can do that by going to Settings -> Battery -> Battery optimisation -> Three dot menu (⋮) -> Advanced optimisation -> Turn off.
Click to expand...
Click to collapse
I never turned on advanced optimisation, still the apps wouldn't run in the background.
Sent from my OnePlus 5 using XDA Labs

ayush29k said:
I never turned on advanced optimisation, still the apps wouldn't run in the background.
Click to expand...
Click to collapse
It's supposed to be on by default. That's how OnePlus wanted it. You need to turn it off.

AnDrOiDnEoV said:
Yep, this should do it. I did face this issue for one of the Xposed modules and I turned off battery optimization for that app and it worked flawless.
Click to expand...
Click to collapse
elbuenzurdo said:
Click to expand...
Click to collapse
shadowstep said:
You don't need to turn off battery optimizations for those apps. Just simply turn off OnePlus's "Advanced optimisation" feature and it should work without turning off the battery optimizations for those apps.
You can do that by going to Settings -> Battery -> Battery optimisation -> Three dot menu (⋮) -> Advanced optimisation -> Turn off.
Click to expand...
Click to collapse
I am also facing a problem with wakelock detector app, its not working properly, giving error. Any ideas?
Attached error screenshot.
Sent from my OnePlus 5 using XDA Labs

shadowstep said:
It's supposed to be on by default. That's how OnePlus wanted it. You need to turn it off.
Click to expand...
Click to collapse
I don't remember it being on or maybe i turned it off, but anyways i checked it before posting the issue here.
Keeping it off didn't make any difference for me. Guess OnePlus's basic optimisation itself is good enough.
Sent from my OnePlus 5 using XDA Labs

ayush29k said:
I am also facing a problem with wakelock detector app, its not working properly, giving error. Any ideas?
Attached error screenshot.
Click to expand...
Click to collapse
I am not sure about this specific app, but some apps don't work correctly with Oreo yet. Try to check if it is compatible.
I personally use Betterbatterystats and haven't had issues yet.

elbuenzurdo said:
I am not sure about this specific app, but some apps don't work correctly with Oreo yet. Try to check if it is compatible.
I personally use Betterbatterystats and haven't had issues yet.
Click to expand...
Click to collapse
I'm still using Nougat, stock oos rooted. Been using wld since kitkat, first time seen this error.
I'll give betterbatterystats a try.
Sent from my OnePlus 5 using XDA Labs

Related

[Q] Battery Drain "Mediaserver"

I couldn't find a solution anywhere that was causing the battery drain for "MediaServer". The two process were "AudioOut_2" and DirectTrack. I don't have viber installed. What are these processes in the "MediaServer" and what purpose do they serve?
UPDATE: I found out that the process using those services is called "1013". How do i figure out what application is it?
Screenshot attached:
SUDroid said:
I couldn't find a solution anywhere that was causing the battery drain for "MediaServer". The two process were "AudioOut_2" and DirectTrack. I don't have viber installed. What are these processes in the "MediaServer" and what purpose do they serve?
Click to expand...
Click to collapse
To reduce or eliminate the audio out, turn off all key tones and vibration. Don't know what direct track is.
This might be of interest too http://forum.xda-developers.com/showthread.php?p=31974989
jd1639 said:
To reduce or eliminate the audio out, turn off all key tones and vibration. Don't know what direct track is.
This might be of interest too http://forum.xda-developers.com/showthread.php?p=31974989
Click to expand...
Click to collapse
Ok thanks for providing the link.
Now i need someone to find out what "DirectTrack_2" is and the process "1013" is.
SUDroid said:
Ok thanks for providing the link.
Now i need someone to find out what "DirectTrack_2" is and the process "1013" is.
Click to expand...
Click to collapse
Try freezing Apollo or use greenify on it.
jd1639 said:
Try freezing Apollo or use greenify on it.
Click to expand...
Click to collapse
I dont have Apollo. I only have PowerAmp and the Stock Samsung player.
Settings > Sound
Uncheck "Touch sounds"
Uncheck "Screen lock sound"
monitor your battery performance. i believe 1013 is system sounds. someone correct me if i am wrong.
xBeerdroiDx said:
Settings > Sound
Uncheck "Touch sounds"
Uncheck "Screen lock sound"
monitor your battery performance. i believe 1013 is system sounds. someone correct me if i am wrong.
Click to expand...
Click to collapse
Thanks i'll try it and report back if the issue persists.
UPDATE: The issue has returned again but this time MediaServer and Android System are draining battery. Screenshots attached
I wouldn't worry about this issue I've seen this on every android device ive owned. It will randomly come and go.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
Andrew149 said:
I wouldn't worry about this issue I've seen this on every android device ive owned. It will randomly come and go.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
Click to expand...
Click to collapse
So ur saying tht the battery drain will eventually disappear?
SUDroid said:
So ur saying tht the battery drain will eventually disappear?
Click to expand...
Click to collapse
Yes even my nexus 7 2013 does this. Its been like this ever since ics
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4

Disable Google.app for better battery life try it

so I thought I would try and disable google.app battery life is much better seems the no 1 battery draining issue on the edge try it now you will find it in a folder select more from menu then disable it.
jutley said:
so I thought I would try and disable google.app battery life is much better seems the no 1 battery draining issue on the edge try it now you will find it in a folder select more from menu then disable it.
Click to expand...
Click to collapse
And what will be affected? Is there still google now for example?
CandyAndy said:
And what will be affected? Is there still google now for example?
Click to expand...
Click to collapse
Not to sure as i dont use them i googled and copied this guide below.
http://www.zdnet.com/article/this-one-tweak-could-boost-battery-life-on-your-galaxy-s6-or-s6-edge/
Under Apps for Downloaded apps I do not see "Google now" on there although I do have Google app on my Galaxy S6 Edge
desiregeek said:
Under Apps for Downloaded apps I do not see "Google now" on there although I do have Google app on my Galaxy S6 Edge
Click to expand...
Click to collapse
Yes thats the one Google.app
And yes, it disables google now.
Does deactivating Google now disables android wear connection?
maximumdrive said:
Does deactivating Google now disables android wear connection?
Click to expand...
Click to collapse
Try it and et us all know.
maximumdrive said:
Does deactivating Google now disables android wear connection?
Click to expand...
Click to collapse
No it does not.
Info
jutley said:
so I thought I would try and disable google.app battery life is much better seems the no 1 battery draining issue on the edge try it now you will find it in a folder select more from menu then disable it.
Click to expand...
Click to collapse
disabling Google App? :|
even iPhone users want all of Google Apps that why some of them switch to android phones
thr s lots of way to have more battery life like apps that control background process or enable restricting background process in developers Option in Setting.
:good:
Geeks Empire said:
disabling Google App? :|
even iPhone users want all of Google Apps that why some of them switch to android phones
thr s lots of way to have more battery life like apps that control background process or enable restricting background process in developers Option in Setting.
:good:
Click to expand...
Click to collapse
Well I for one don't use Google now anyway, I don't use Google plus either, or Google Drive, so there's no need to have those process running no matter what.
I tried to disable Google now and bam my battery consumption overnight dropped from 15% to 3-4% and the phone would actually enter deep sleep - something I've had trouble with the entire time (I'm using a custom kernel with the deep sleep fix, so it shouldn't be because I'm rootet)
//M
Sendt fra min SM-G925F med Tapatalk
Pardon my ignorance, but how does one disable google now?
kittiyut said:
Pardon my ignorance, but how does one disable google now?
Click to expand...
Click to collapse
Just disable the google.app
there's no need to disable the google.app to prevent the battery drain, it's sufficient to open the settings menu of that app and deactivate the google now cards..
mitico303 said:
there's no need to disable the google.app to prevent the battery drain, it's sufficient to open the settings menu of that app and deactivate the google now cards..
Click to expand...
Click to collapse
But then again why would you have something installed that's not being used?
//M
Sendt fra min SM-G925F med Tapatalk
Disabling google.app, disabling samsung push, and changing some WiFi settings is night and day battery drain.
Getting 3% to 4% overnight drain when it was 20%
Sent from my SAMSUNG-SM-G925A using XDA Premium HD app
justda said:
Disabling google.app, disabling samsung push, and changing some WiFi settings is night and day battery drain.
Getting 3% to 4% overnight drain when it was 20%
Sent from my SAMSUNG-SM-G925A using XDA Premium HD app
Click to expand...
Click to collapse
Another tip I found that worked drain your battery to about 8 % then do a hard reset by powering down and hold volume up and home button and power button together once you see the logo let go of power.This bring you into recovery eventually once there wipe data factory reset and catch partition and reboot phone.Now disable the apps you want including google.app I now got 20hrs standby with 0% battery drain was still showing 100% battery awesome battery life try it and let me know how it goes don't forget to give it a full charge after resetting the phone good luck
m.klinge said:
But then again why would you have something installed that's not being used?
//M
Sendt fra min SM-G925F med Tapatalk
Click to expand...
Click to collapse
'cause in that way you can still use the search functions of the google app, including the "ok Google" hotword.. But preventing the battery drain caused by the Google now cards..
mitico303 said:
'cause in that way you can still use the search functions of the google app, including the "ok Google" hotword.. But preventing the battery drain caused by the Google now cards..
Click to expand...
Click to collapse
Then it is being used and not really the case I was talking about...
//M
Sendt fra min SM-G925F med Tapatalk
m.klinge said:
Then it is being used and not really the case I was talking about...
//M
Sendt fra min SM-G925F med Tapatalk
Click to expand...
Click to collapse
Ok, but the goal here is prevent the battery.. And the suggestion to disable the google app it's for that.. But if there's a solution to leave the app activated in order to use it when it could be helpful, why instead you would disable it? It's a nonsense.. Google now is the cause of the battery drain, not the google search.. So it's sufficient to disable Google now and continue to enjoy the google search and the ok Google hotword..

Accessibility problem

I'm experiencing a problem with accessibility, when I activate accessibility for an app it would automatically turn of the accessibility after a short while. I am unable to use anything related to turning on accessibility services for any app because of this problem.
Any help or solution with this issue would be greatly appreciated.
riaanck said:
I'm experiencing a problem with accessibility, when I activate accessibility for an app it would automatically turn of the accessibility after a short while. I am unable to use anything related to turning on accessibility services for any app because of this problem.
Any help or solution with this issue would be greatly appreciated.
Click to expand...
Click to collapse
Okay so it seems that this issue is not resolvable?
I faced same problem with greenify :/
Didnt found a solution to this
I think it's automatically turned off when you close the application, such freeing the RAM..
looking the app like this "screenshot" made the trick for me ..
for native clipboard app in my case
salembream said:
looking the app like this "screenshot" made the trick for me ..
for native clipboard app in my case
Click to expand...
Click to collapse
How did you made "Hide navbar" button?
Audriuskins said:
How did you made "Hide navbar" button?
Click to expand...
Click to collapse
I'm using custom ROM, b564 kangVIP modded by sokkban,
It has many nice options .. this notifications panel is the greatest for me :'')
salembream said:
I'm using custom ROM, b564 kangVIP modded by sokkban,
It has many nice options .. this notifications panel is the greatest for me :'')
Click to expand...
Click to collapse
ah sh*t! I'm using modded B574 Opterom rom :/
Friend and where can I get the rom you have in your p8 lite
FerXray13 said:
Friend and where can I get the rom you have in your p8 lite
Click to expand...
Click to collapse
From here http://huaweip8lite.blogspot.pt/2016/08/custom-romtwrpemui-40kangvip-b564-mod.html?m=1
riaanck said:
I'm experiencing a problem with accessibility, when I activate accessibility for an app it would automatically turn of the accessibility after a short while. I am unable to use anything related to turning on accessibility services for any app because of this problem.
Any help or solution with this issue would be greatly appreciated.
Click to expand...
Click to collapse
You can solve this by adding that app to protected apps in your phone manager battery section..... It surely works
Tried that already, doesn't work for me. :crying:

Phone won't go into deep sleep.

Just got the update to nougat earlier this week and was hoping it would solve the high android system drain but i've noticed all these wake locks and honestly i'm not familiar with wake locks so if anyone can help me out here. My phone wont go into deep sleep.
Looks to be a kernal problem. Anyone have any idea?
bump. Anyone?
orlans21 said:
bump. Anyone?
Click to expand...
Click to collapse
Reboot might help
waterdaan said:
Reboot might help
Click to expand...
Click to collapse
Oh I've already tried that. I also cleared my cache from recovery and from the settings
For battery drain there are few known culprits
1. Disable chrome
2. Disable Gear vr service if you don't use.
3. Disable all other bloatware
4. Disable Wi-Fi and Bluetooth scanning
5. Disable Android and Google (both) report diagnostic report from setting
6. Location to battery saving or off.
7. Smart features off.
I'm sure excess drain will go irrespective of what wld shows.
Sent from my SM-G930F using Tapatalk
takerhbk said:
For battery drain there are few known culprits
1. Disable chrome
2. Disable Gear vr service if you don't use.
3. Disable all other bloatware
4. Disable Wi-Fi and Bluetooth scanning
5. Disable Android and Google (both) report diagnostic report from setting
6. Location to battery saving or off.
7. Smart features off.
I'm sure excess drain will go irrespective of what wld shows.
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
Have the chrome that came pre-loaded disabled but I use chrome dev. Disabled gear vr. I kept other bloat enabled that's under the hood, heard if you disable some of that stuff it could cause a bigger drain. Diagnostic report is off, location is on battery saving, I use smart stay and smart alert, have smart capture off.
orlans21 said:
Have the chrome that came pre-loaded disabled but I use chrome dev. Disabled gear vr. I kept other bloat enabled that's under the hood, heard if you disable some of that stuff it could cause a bigger drain. Diagnostic report is off, location is on battery saving, I use smart stay and smart alert, have smart capture off.
Click to expand...
Click to collapse
Yes only disable stuff that you can from app drawer.
Is Google location reporting on or off that is also a big drainer.
Sent from my SM-G930F using Tapatalk
orlans21 said:
Looks to be a kernal problem. Anyone have any idea?
Click to expand...
Click to collapse
I hope you did a factory reset from recovery after update.
takerhbk said:
Yes only disable stuff that you can from app drawer.
Is Google location reporting on or off that is also a big drainer.
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
Stuff that is in the app drawer is already disabled and yes google location reporting is off
orlans21 said:
Stuff that is in the app drawer is already disabled and yes google location reporting is off
Click to expand...
Click to collapse
And use BBS please. It has nothing to do with kernel, it's impossible to pinpoint without partial wake lock and the other issue you have it carrier signal related, fast dormancy
Stevica Smederevac said:
I hope you did a factory reset from recovery after update.
Click to expand...
Click to collapse
That's my last resort if this doesn't work. I don't wanna go through putting everything back
Stevica Smederevac said:
And use BBS please. It has nothing to do with kernel, it's impossible to pinpoint without partial wake lock and the other issue you have it carrier signal related, fast dormancy
Click to expand...
Click to collapse
Does bbs work with unrooted devices?
Use BBS and network connections app to see if any app is keeping network on all the time
Sent from my SM-G930F using Tapatalk
takerhbk said:
Use BBS and network connections app to see if any app is keeping network on all the time
Click to expand...
Click to collapse
Which network connections app
orlans21 said:
Which network connections app
Click to expand...
Click to collapse
"Network connections" on play store
Sent from my SM-G930F using Tapatalk
takerhbk said:
Use BBS and network connections app to see if any app is keeping network on all the time
Click to expand...
Click to collapse
My device isn't rooted. Is there a work around on bbs like a command to put in adb?
orlans21 said:
My device isn't rooted. Is there a work around on bbs like a command to put in adb?
Click to expand...
Click to collapse
Yes. Might want to Google or search xda
Sent from my SM-G930F using Tapatalk
takerhbk said:
Yes. Might want to Google or search xda
Click to expand...
Click to collapse
Alright, I also installed network connections.
Update: Have BBS installed and have it working through adb. So now all i do is wait several hours?
orlans21 said:
Alright, I also installed network connections.
Update: Have BBS installed and have it working through adb. So now all i do is wait several hours?
Click to expand...
Click to collapse
Yes. I know it's pain in the ass to set everything up again but it is a major change, from one iteration to another of the system and common sense screams factory reset .

Mi feedback app drains battery

Hi.
the app "feedback" drains at least 10% battery for each charge even if I disable the background activity.
The app cannot be disabled nor deleted.
Anything to do to avoid this issue?
Yeah same here, dunno what to do...
Did you guys tried to disable it with the non-root adb method that was posted long time ago?
I have not had a problem with it, have you tried deleting the app data?
Also maybe settings>apps>feedback (the app)>battery> turn off background activity.
Already disabled background and delete data. The issue persists. Thanks
tajima69 said:
Already disabled background and delete data. The issue persists. Thanks
Click to expand...
Click to collapse
Where are you getting the 10% figure from, is it "apps usage" displayed under battery or in app info?
Only in app info
Install gsam battery manager, give it the proper authorizations (via adb or root if you are rooted).
Then post a screenshot again.
tajima69 said:
Only in app info
Click to expand...
Click to collapse
I thought you were looking in App info, that information is for more than one app, like the data figure it is the app and associated processes, if you click on battery and scroll down, you will see real usage by app, and feedback won't appear in that list because it's not using much at all.
My own was saying 10% but when I look under battery stats the highest usage was Google at 7%, Feedback App did not even appear in the list.

Categories

Resources