[Q] Tasker stops executing tasks after a certain period - Huawei Ascend P6, Mate

Hey everyone,
For some reason I'm having problem with using Tasker on my Huawei Ascend P6 running Android 4.2.2.
I had set up a simple profile that would enable wifi, enable data, turn on auto sync, .. every X minutes. After trying this out it became clear that after a certain period Tasker would simply stop running this profile.
For testing purposes I have:
Double checked that there are no task killers installed
Created a profile of type "Time" that will Vibrate for 1 second from 07:00 every 2m Till 22:30
Enabled the "log to sdcard" functionality
After monitoring the log I have seen that there are no error but Tasker simply stops running the tasks after a certain period.
PS: I must say that I'm having the same issue with all other battery saving applications too (Juice Defender, GreenPower, Deep Sleep Battery Saver). They work perfectly until after a certain time they stop firing their events to enable the connection in the background.
Any help would be really appreciated. How can I trace this problem?

you are using trial or you bought taker?

Ankush menat said:
you are using trial or you bought taker?
Click to expand...
Click to collapse
I bought Tasker.

I have same problem!
Whookid said:
Hey everyone,
For some reason I'm having problem with using Tasker on my Huawei Ascend P6 running Android 4.2.2.
I had set up a simple profile that would enable wifi, enable data, turn on auto sync, .. every X minutes. After trying this out it became clear that after a certain period Tasker would simply stop running this profile.
For testing purposes I have:
Double checked that there are no task killers installed
Created a profile of type "Time" that will Vibrate for 1 second from 07:00 every 2m Till 22:30
Enabled the "log to sdcard" functionality
After monitoring the log I have seen that there are no error but Tasker simply stops running the tasks after a certain period.
PS: I must say that I'm having the same issue with all other battery saving applications too (Juice Defender, GreenPower, Deep Sleep Battery Saver). They work perfectly until after a certain time they stop firing their events to enable the connection in the background.
Any help would be really appreciated. How can I trace this problem?
Click to expand...
Click to collapse
Have you find a solution?
Thanks

Related

Android system - partial wake lock - one solution found

I have my phone running 99.6% of the time in spare parts and it shows android system as the culprit holding a partial wakelock.
so my question is, how do i fix this? i've tried a factory reset three times, am updated to 1.21 ota and have slowly started to reintegrate apps but it always starts again and always after a different app.
i'm getting pretty frustrated anyone got any ideas?
UPDATE In my case it was network time abusing wireless location service that was causing the problem and hence the reason a factory reset didnt solve it, i switched off network time and voila!
just to clarify, no live wallpapers, and phone is in airplane mode to avoid any data usage drainig the battery.
i have got beautiful widgets homescreen small clock and pure cal widget installed at the moment but even when i uninstall them it doesnt fix it, also im running launcher pro 0.4.2 but also had the problem when i reverted to sense.
and i have read every other thread here about battery life that i could find but no-one seems to have this problemo
anyone with any advice on why my phone wont sleep?
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Philosoma said:
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Click to expand...
Click to collapse
ok cool, giving that i try now but i had been leaving it in airplane mode to try and take the vagaries of data out of the equation.
this started about a week ago and i really noticed it when i was in a 6 hour long meeting and my battery basically draines 60% even though the phone was in airplane mode
ok tried that but with my phone just factory reset, airplane mode and no apps installed other than spare parts it's showing running 94.1 % of the time and all of it is android system.
that cant be right
i have restored data, maybe i shouldnt restore data either but that just seems plain crazy
Re: Android system - partial wake lock
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
ok right now there is
com.android.syncml.service
sense
market
messages
people
rss reader
syncml provider
sys panel
touch input
updater
and then a load of inactive cached applications
do you see anything unusual there?
ok so i downloaded system app and killed all apps except excluded and sytem apps and my running usage has gone down, now thats no suprise in and of itself but now i need to see if it stays down.
i've just checked again and the percentage is still going down, so it's either an inactive app which i didnt list ( is that even possible if its inactive) or one of the items i listed above.
has anyone got any thoughts.
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Jazd71 said:
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Click to expand...
Click to collapse
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
ferus said:
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
Click to expand...
Click to collapse
Ok i seem to have had some luck since last night though i'm not sure of the exact reason.
i did as th3 said and downloaded system monitor and then killed all background active and inactive tasks and that seems to have solved the problem. I have no idea why that would be the case though and i am watching it carefully to see if it stays fixed.
i dont have a flickr account setup
djet said:
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
Click to expand...
Click to collapse
Djet, I installed alogcat and have found all references to wakelock, rather than post the entire log
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'keyguardWakeAndHandOff' activated (minState=0)
D/PowerManagerService( 77): wakelock: FULL_WAKE_LOCK 'keyguard'ACQUIRE_CAUSES_WAKEUP activated (minState=3)
there are also some entries in red like this one
E/vold ( 53): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
and a load of errors to do with global search etc but this is all pretty much gobbledegook to me, what am i looking for?
thanks
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
kinkade said:
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
Click to expand...
Click to collapse
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
djet said:
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
Click to expand...
Click to collapse
Yes i know what you mean, how did you go about diagnosing that? also i have done several factory resets and it still happens
Re: Android system - partial wake lock
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
th3 you are legend, it was network time, i switched that off and all is now well in the world. cheers dude
Good find. I had the thing off anyway, but it is good to know.

[Q] SetCPU and JuiceDefender, are they needed anymore?

Hello,
Title says it all...
I would notice overnight that my battery would be completely horizontal (no drop) and thought it was the combination of SETCPU and JuiceDefender (night profile + screen off drop mhz).
But, after unisntalling them, I noticed the same "flat line" at night and also achieved over 30 hours of battery life.
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
I agree... I got about 27 hours of life out of my battery without set cpu or JD (i've never liked JD anyway because its like putting my kid on riddlin)
h20wakebum said:
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
Click to expand...
Click to collapse
Which version of JD are you using? If you have the Plus or Ultimate version, you can probably still gain some benefit, but you need to learn how to custom configure the settings so that you use the ones that are still relevant. For example:
Where Not Helpful: JD will turn off your GPS if an application isn't using it, but most of today's phones will do that anyway.
Where Helpful:: In advanced settings, you can provide a 'night schedule', wherein during this time, JD will disable mobile data, and thus polling, so your phone will not go out and check for mail, FB messages, Tweets, etc. Otherwise, mobile data is off unless you 'wake' the screen for some reason. Or another feature that 'trains' your wi-fi to only activate when you are at home or a 'recognized' wi-fi spot. These are a couple examples, there are others.
Where it MAY be Helpful: JD can disable mobile data for a custom # of minutes (10/15/30/60) and prevent background sync during those periods. It will awake, allow the sync, then turn mobile data off. Now some apps may only sync in these intervals anyway, but unless they're all syncing at the same time, you could have lots of 'up' time. Some of this may not 'wake' your phone from Deep Sleep, but depending on how sloppy the code is, it might.
Hope this helps.
h20wakebum said:
Hello,
Title says it all...
I would notice overnight that my battery would be completely horizontal (no drop) and thought it was the combination of SETCPU and JuiceDefender (night profile + screen off drop mhz).
But, after unisntalling them, I noticed the same "flat line" at night and also achieved over 30 hours of battery life.
My question is... do these apps really make a difference on our phones?
Or, are the phones advanced enough to handle everything just fine?
your thoughts are appreciated.
Click to expand...
Click to collapse
I think really depends on the ROM you are running. ViperROM has a script that changes the CPU speed and governer on the fly. So no need for SetCPU there. I'd say Juice Defender can still come in handy with turning data off when you aren't using it.
My 2 cents. Your results may vary.
Capp5050 said:
Which version of JD are you using? If you have the Plus or Ultimate version, you can probably still gain some benefit, but you need to learn how to custom configure the settings so that you use the ones that are still relevant. For example:
Where Not Helpful: JD will turn off your GPS if an application isn't using it, but most of today's phones will do that anyway.
Where Helpful:: In advanced settings, you can provide a 'night schedule', wherein during this time, JD will disable mobile data, and thus polling, so your phone will not go out and check for mail, FB messages, Tweets, etc. Otherwise, mobile data is off unless you 'wake' the screen for some reason. Or another feature that 'trains' your wi-fi to only activate when you are at home or a 'recognized' wi-fi spot. These are a couple examples, there are others.
Where it MAY be Helpful: JD can disable mobile data for a custom # of minutes (10/15/30/60) and prevent background sync during those periods. It will awake, allow the sync, then turn mobile data off. Now some apps may only sync in these intervals anyway, but unless they're all syncing at the same time, you could have lots of 'up' time. Some of this may not 'wake' your phone from Deep Sleep, but depending on how sloppy the code is, it might.
Hope this helps.
Click to expand...
Click to collapse
I use ultimate. I did run a night schedule, but that kind of points back to my original observation... I'd have night setup from 11pm - 7am and see a horizontal line for battery during this time (wow JD is really working)... BUT, with it uninstalled, during the same period of time 11pm - 7am my battery was also horizontal line... So did it really do anything? I'm on wifi at my house so when I'm sleeping the phone is wifi and not constantly pinging the mobile network (does that make a diff. being on wifi)?
I also did like the wifi only when home setting.
With ViperRom, I probably don't need set CPU anymore... Maybe i'll throw JD back on.
One question.. were you running the beta JD? I noticed the beta would always throw errors in the log stating i needed to uninstall, reboot, reinstall (I never did) anyone else have that happen?
These numbers sound like you have the radio off and don't turn your display on. Pretty amazing numbers otherwise. Would love to know the rom + kernal you're using
edit: I see the post above you mention viperrom. Typically if you have data turned off and display off any device will last days. My OG evo lasts for around 48 hours just sitting there. Still really impressive if you're using your phone within that 30 hours
h20wakebum said:
One question.. were you running the beta JD? I noticed the beta would always throw errors in the log stating i needed to uninstall, reboot, reinstall (I never did) anyone else have that happen?
Click to expand...
Click to collapse
I've never tried the beta; I started with standard, upgraded to Premium, then eventually upgraded to Ultimate (I use the 'Customize' setting, but rarely the 'Advanced' config).
I hear ya on the night-time wi-fi thing. But with this particular phone (and before I rooted and changed ROM/Kernel), on some nights I would be connected to wi-fi and get ZERO CPU sleep time, other nights it would sleep - I have no idea why. It is conceivable that if the only polling your doing is e.g., Gmail, that either it doesn't happen at night, or it happens in such a way as to not knock the phone out of sleep (it IS Google's OS after all).
On a related note, I'm using K-9 mail (my primary mail is Yahoo); it throws wake-locks all the time (set to poll every 15 minutes), but they don't seem to impact battery life or take the device out of deep sleep which is why I suggested that case above.
One other item I like about JD is the ability to permission each and every app for wireless/network access; obviously mail, calendar, phone, etc. need it, but some apps simply don't, and I've been surprised when I set it to 'notify' and some random game pops up seeking network access. Looking for an update? who knows, but I lock 'em down anyway.
AC
pandamaja said:
These numbers sound like you have the radio off and don't turn your display on. Pretty amazing numbers otherwise. Would love to know the rom + kernal you're using
edit: I see the post above you mention viperrom. Typically if you have data turned off and display off any device will last days. My OG evo lasts for around 48 hours just sitting there. Still really impressive if you're using your phone within that 30 hours
Click to expand...
Click to collapse
I do not turn off data/radio (no airplane mode).
I'm running ViperRom 2.2 with the latest loskernal experimental.
My display was on for roughly 2 hours (again, just used it as i happened to during the course of the day) and data was on.
Capp5050 said:
I've never tried the beta; I started with standard, upgraded to Premium, then eventually upgraded to Ultimate (I use the 'Customize' setting, but rarely the 'Advanced' config).
I hear ya on the night-time wi-fi thing. But with this particular phone (and before I rooted and changed ROM/Kernel), on some nights I would be connected to wi-fi and get ZERO CPU sleep time, other nights it would sleep - I have no idea why. It is conceivable that if the only polling your doing is e.g., Gmail, that either it doesn't happen at night, or it happens in such a way as to not knock the phone out of sleep (it IS Google's OS after all).
On a related note, I'm using K-9 mail (my primary mail is Yahoo); it throws wake-locks all the time (set to poll every 15 minutes), but they don't seem to impact battery life or take the device out of deep sleep which is why I suggested that case above.
One other item I like about JD is the ability to permission each and every app for wireless/network access; obviously mail, calendar, phone, etc. need it, but some apps simply don't, and I've been surprised when I set it to 'notify' and some random game pops up seeking network access. Looking for an update? who knows, but I lock 'em down anyway.
AC
Click to expand...
Click to collapse
Interesting thing is with the latest JD build it has the bluetooth settings, so i can leave my headset paired, but the phone disconnects while not on a call and then when i get a call, it turns on... kinda cool.
In regards to the permissions... do i need to give the email applications permission for enable/screen off? (so that I'll still get the notifs?) or just enable (as in when screen on).
thanks,
RR

[Q] No 3g during night hours, sleep mode?

Dear all,
Is anyone else experiencing the following problem?
When the phone goes to sleep mode during the night hours it wont receive any messages for whatsapp etc. It seems that it turns off the 3g connection when you turn the screen off during the night hours.
Does anyone know a possible fix for this?
I have gone through all the settings and could not find anything about this.
Cheers.
I recently got this on my Desire Z too, and I have not changed any settings on that. Then I noticed it's happening on my One X too..
no 3g late night
Hi there, i have a motorola photon. in the settings menu you can go to what is called battery and data manager. then tap on battery mode. it's default is set to nighttime saver, which will kill your syncing after 15 minutes of inactivity in the hours between 10pm and 5am. i set mine to performance mode. this will sync all of the time and i don't really care if it takes up battery since i am awake and ready to pop in a new battery off my kick a$$ battery dock wall charger!! hope this helps....
SharkDog2 said:
Dear all,
Is anyone else experiencing the following problem?
When the phone goes to sleep mode during the night hours it wont receive any messages for whatsapp etc. It seems that it turns off the 3g connection when you turn the screen off during the night hours.
Does anyone know a possible fix for this?
I have gone through all the settings and could not find anything about this.
Cheers.
Click to expand...
Click to collapse
I think it's got something to do with what HTC said about "the phone learning" when you check things like mails ect.. so after it has learned that you do not check mail (for instance) during the night it disengages activies... or not
@mykeyvee, there are no such options in the stock rom on this phone.
Anyone have any other ideas?, i want everything to be synced 24 hours a day.
SharkDog2 said:
@mykeyvee, there are no such options in the stock rom on this phone.
Anyone have any other ideas?, i want everything to be synced 24 hours a day.
Click to expand...
Click to collapse
I don't think it's anything to do with settings. My Desire Z is on 2.3.7 and only recently have I got this bug.
My One X is stock unrooted. No settings for power saving.
Accounts and sync>sync schedule>smart sync
Is this what is effecting you
http://www.htc.com/help/www/howto_iframe.aspx?id=141796&type=1&p_id=440
Sent from my HTC One X using xda premium
unfortunately this only works with the mailw hich i do not user, the phone seems to do this with whatsapp and gmail aswel.
SharkDog2 said:
unfortunately this only works with the mailw hich i do not user, the phone seems to do this with whatsapp and gmail aswel.
Click to expand...
Click to collapse
This. I woke up and my 3G wasn't even on. I had to disable and enable data again to get connected.
Same problem here. Whenever my phone is in standby mode for a longer period of time (as far as I've seen it doesn't matter whether it's during the night or day), the data connection (3g) is disconnected.
On my previous phone, a desire Z, there was a setting 'data always on' which addressed this issue. This setting however seems to be missing on all android 4 phones.
**edit:
Contacted Dutch HTC support; they claim it's a feature. Hope they restore the setting in the future..
I have noticed this too this morning.
I woke this morning and went into the battery settings and you can see the graph that all data was shut off over night.
How do we fix this.
Piss. Wondered why it used virtually no battery overnight...
Sent from my HTC One X using Tapatalk 2
Exactly same here...just as u switch on the screen....it connects to wifi or 3g instantly...
Sent from my HTC One X using xda premium
I have received email overnight though....
Sent from my HTC One X using Tapatalk 2
I was thinking that maybe it was just the 3g/wifi connection which was going into a sleep mode after a long period of inactivity.
I've tried increasing my mail sync at night to once in 30 minutes to prevent the 3g connection from going to sleep and disconnecting. (had it at once in 4 hours)
Now when i wake up and turn the screen on, the 3g icon is already there, and my mail has been synced last in the previous 30 minutes.
Fixed it?
Same issue here, weird thing is that I can't seem to tie it down to either a specific battery-percentage nor a specific time of the day. It's really annoying though, as I would like my device to be connected 24/7. Tried setting a mail-account for 15 min update, so will see how much wifi/3g has been on tomorrow.
Edit: Definitely not a battery issue, but rather a time issue. Battery is at 80% (used the phone little today) and 3G/wifi has been disconnected for the past 2 hours even when mail is set to check every 15 min. I can see that for many people it's not important at night, but I wish we at least had the option to turn it off :/
Possible Fix
Download this app.. Minimaltext
https://play.google.com/store/apps/details?id=de.devmil.minimaltext&feature=search_result
Create a widget 1x1, under the tap behavior, select start another activity, then select an activity. Scroll now to settings, expand it, choose power saving setting..
Leave the rest default then press okay.
Click the widget and you will find some settings, including put data connection to sleep when screen is off. I haven't tried it. Hope this helps.
Not a bug!
This is not a bug, but a feature : scheduled standby mode
If on Sense 4.x, settings are similar to Sense 3.5, you should go into settings > power then scroll to standby mode. Default setting is auto, which means that the phone learns your sleeping phases and disable every wirless connections during this time when your screen is off, and enable it again automatically when you wake up (even if your screen is still off).
You can disable this feature, or (my favorite option) manually set the duration when you allow your phone to enter and exit deep standby mode.
(For me it's a great feature, as I really dislike having my phone producing airwaves close by my head when I'm sleeping. Before I went to Sense 3.5 on my DHD, I didn't have this option and had to enable plane mode before sleeping ant enter my PIN code every morning to exit plane mode, which was less convenient).
If you want to disable this, download smartsync disabler from the play store. Im pretty sure there is a thread on xda too with an app available to download.
...Or read my previous post... Market's bloatware is not needed, setting for this should be in power settings, as on Sense 3.5.

[Q] Juice Defender: does it work?

Hi, Ive been reading a lot about battery saving apps that I started to get curious as to whether these apps really work.
I installed JD out of curiosity and I have to say that all it doea is disable automatically your phone connections to help you save power. Things that you can actually do manually. Like turning off wifi and mobile network. If im not mistaken you can disable mobile network under your phone's settings.
So my question is, if you can do it manually, what is the point of apps like juice defender? It eats up ram and runs as a background process which in my opinion does more bad than good to your battery unless your the i dont know how to disable connections manually in my phone kind of guy.
Somebody please enlighten me. Thanks.
I have used it for a long times. Since I used Xperia PLAY.
I think this program is good. Yes, if you can manually do it. But the feature I like the most is Screen. It can change CPU ghz according to your screen on / off.
It saves my battery a lot.
Press THANKS if you agree with me.
I am a long time user of jd but these days the only feature i use regularly is to disable data overnight.
Sent from my LT26i using xda app-developers app
- Airplane mode over night
- automatic wireless connection with "location" feature (if near a known wireless network it starts the wireless and connects, if not near it directly starts 3G)
- I do not have to mess with on/off wireless/3G
- automatically syncs every hour, so I have to do nothing but still get my mails
- with rooted phone underclock on screen off
- bluetooth off after 5 mins without connected bluetooth device
etc....
It is NOT for you if you want to have online connection all the time. And it is not for you if you don't mind to do all the things manually it does for you.
And in my opinion only the full version really helps, the free version does not much...
I think it's a great app! :good:
If you just need to auto toggle data, check out 3GBattery too.
https://play.google.com/store/apps/...wyLDEsImNvbS5teXN0aXF1ZS50aHJlZWdiYXR0ZXJ5Il0.
basically, there are 2 main things that drain our devices: 1) 3g/2g and 2) display brightness. I've been using JD since ever, and the difference is awesome with and without. Even the free version is enough to save some batt, in the Agressive mode (connects every 30min).
Besides JD, I am using Greenify. Which needs root to work and does a beautiful job with background apps like Facebook, GMaps etc.
works on both my devices :good:
Personally I think this app is useless.
As OP has said, you can just set up those things manually.
This app just eats RAMs and use your battery up more.

Question Prevent apps from being killed?

Is there a way to prevent an app from ever being killed? I have 2 examples:
1) Fitbit app (background sync service, specifically) - when this stops running, some features on my watch quit working until I launch the app and sync manually.
2) Battery monitor app - I've tried AccuBattery (my preferred app), GSam, and BBS, but they all get killed and restart, and therefore give inaccurate information. BBS doesn't die as often as the others, but I don't like it as well. All 3 have persistent notifications, so I can tell when they last restarted.
I've set Battery Optimization to "Don't Optimize" for all of these. I've tried turning off all 3 of the settings under Advanced Optimization (probably unnecessary, no noticeable difference). I've also Locked each of these from recent apps. Are there any other settings I'm missing that could prevent an app from being killed? Possibly something new to Android 11? Fitbit and AccuBattery worked fine on my previous OP7P with Android 10.
terlynn4 said:
Is there a way to prevent an app from ever being killed? I have 2 examples:
1) Fitbit app (background sync service, specifically) - when this stops running, some features on my watch quit working until I launch the app and sync manually.
2) Battery monitor app - I've tried AccuBattery (my preferred app), GSam, and BBS, but they all get killed and restart, and therefore give inaccurate information. BBS doesn't die as often as the others, but I don't like it as well. All 3 have persistent notifications, so I can tell when they last restarted.
I've set Battery Optimization to "Don't Optimize" for all of these. I've tried turning off all 3 of the settings under Advanced Optimization (probably unnecessary, no noticeable difference). I've also Locked each of these from recent apps. Are there any other settings I'm missing that could prevent an app from being killed? Possibly something new to Android 11? Fitbit and AccuBattery worked fine on my previous OP7P with Android 10.
Click to expand...
Click to collapse
I have try to to go to developer mode and go to standby application. go inside and set the app you want to always on to active and remember still set battery to don't Optimize and locked the app. Do not click the clear all button.
fifasax said:
I have try to to go to developer mode and go to standby application. go inside and set the app you want to always on to active and remember still set battery to don't Optimize and locked the app. Do not click the clear all button.
Click to expand...
Click to collapse
Interesting, I haven't seen that before. Thanks for introducing me to something new. All of the apps in question are currently grayed out and say Exempted, so they shouldn't ever be put into standby.
Disable all power management*, Android does fine without it. Address any remaining power hogs individually on a case by case basis.
Power management will cause erratic behavior and can even increase battery usage even after its lame "adjustment" period.
To check if it is fully disabled go to Developer options>Standby apps, all buckets should show to be in their active state (and can't be manually assigned), if not power management is enabled.
Make sure allow background usage isn't disabled on the apps you want to run.
*yeah turn all those optimizing toggles OFF.
Only fast charging should be toggled on if you use it.
blackhawk said:
Disable all power management*, Android does fine without it. Address any remaining power hogs individually on a case by case basis.
Power management will cause erratic behavior and can even increase battery usage even after its lame "adjustment" period.
To check if it is fully disabled go to Developer options>Standby apps, all buckets should show to be in their active state (and can't be manually assigned), if not power management is enabled.
Make sure allow background usage isn't disabled on the apps you want to run.
*yeah turn all those optimizing toggles OFF.
Only fast charging should be toggled on if you use it.
Click to expand...
Click to collapse
How does one disable all power management? I don't see any sort of global switch for that. Turning it off entirely seems drastic, but I agree that power management is generally more trouble than it's worth.
I did verify that the apps in question are allowed to run in the background and use unlimited data.
terlynn4 said:
How does one disable all power management? I don't see any sort of global switch for that. Turning it off entirely seems drastic, but I agree that power management is generally more trouble than it's worth.
I did verify that the apps in question are allowed to run in the background and use unlimited data.
Click to expand...
Click to collapse
It seems like you're setting up right. Check the Stand by apps status.
When you first load Accubattery it gives an option to disable task killing in settings, Pro version.
Uninstalling then reinstalling it sometimes works for me; clearing its data does not. I was getting the same error message until I just reinstalled it
Just don't take Accubattery too seriously... it's useful up to a point.
I'm on Pie. Google really screwed up 10 and especially 11... so yeah it could something new as Google insists on changing things even if they're already nearly perfect
If that fails check with Accubattery for guidance with 11. They are responsive to emails.
They may also be punching out an update.

Categories

Resources