Problems with app power management and restart - Samsung Galaxy S10+ Questions & Answers

Hi Folks
I have two annoying little problems with my device
first is with the app power management, I have a clock widget on my home screen and the power management
always comes up with the suggestion put the app to sleep, (see pic) but if I do the widget is not working anymore
is there somewhere an option where I can exclude this app from being monitored?
The second problem is with the restart when the phone restarts it doesn't do it completely, I have to put in the pin first
and then it completes the restart process, which is especially annoying when I have it set for auto restart somewhen in the night
and have set an alarm the following morning, which then doesn't go of...
Any Solutions there?

[/COLOR]
hingerl said:
Hi Folks
I have two annoying little problems with my device
first is with the app power management, I have a clock widget on my home screen and the power management
always comes up with the suggestion put the app to sleep, (see pic) but if I do the widget is not working anymore
is there somewhere an option where I can exclude this app from being monitored?
The second problem is with the restart when the phone restarts it doesn't do it completely, I have to put in the pin first
and then it completes the restart process, which is especially annoying when I have it set for auto restart somewhen in the night
and have set an alarm the following morning, which then doesn't go of...
Any Solutions there?
Click to expand...
Click to collapse
The clock app is being killed by android battery management. Go to settings> search: special acces> press optimize battery usage> from the left corner select apps optimized> search for your app and turn off the toggle. That should be it
For your second problem. I've read on another thread that a clock update might have broken the auto restart - alarm problem. I'm not very sure but try to uninstall from settings>apps the updates from the stock clock app. And try again the process

Gogolakis said:
[/COLOR]
The clock app is being killed by android battery management. Go to settings> search: special acces> press optimize battery usage> from the left corner select apps optimized> search for your app and turn off the toggle. That should be it
For your second problem. I've read on another thread that a clock update might have broken the auto restart - alarm problem. I'm not very sure but try to uninstall from settings>apps the updates from the stock clock app. And try again the process
Click to expand...
Click to collapse
Thanks for your help
The first solution does not help because this specific app is, for whatever reason, not on this list...
I might have been a bit confusing with my second problem, it has not directly to do with the auto reboot, but with the boot process itself
the boot process goes only as far as the lock screen, then I have to put in my pin, the fingerprint is not an option, and after that, it says "phone is starting" and finishes the boot,
the same procedure applies after the auto restart... so if I have set an alarm the system isn't ready yet to start the alarm app...

Related

My Solution to Help Stop Screen Freezes (Tasker app)

Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.

[Q] Off button not going to sleep

Not sure why, but when I turned my streak (1.6, no hacks/updates), once it boots, I could before depress the off/on button for a split second, and the screen would go to sleep. Now, it won't. If I hold the off/on button, the menu pops up like normal to power it off. Tried removing the battery.
Short of a blow it out reset, anyone know what I can do to make it go to sleep when I tap the off/on button?
this happend to me with a build of analog clock v2
in case you have installed a clock modification or docking application , this is probably it.
Weird...I haven't installed any docks, or clocks.
I guess I'll just go through the apps one by one, installing them and see what happens?
I don't have that many installed.
Screen off (just installed so I could turn off the screen)
Z4 root (but hasn't been run)
Google sky map
Speedtest
Epocrates
Google Maps
Facebook for Android
Radar Now
Watchdog task manager lite (not running full time?)
Dell Backup & restore
Fandango Movies
Skyfire Browser
Advanced Lock (worked ok for a week before the pwr button issue)
Astro file manager
compass
Xda-Developers
AT&T mark the spot
Google Googles
Shop Savvy barcode scanner
Photobucket Moble
Weather bug (lite)
Get ES File manager. It's way better than Astro.
Looks like you may have identified the offending app on your own. Try removing Advanced Lock
Lord60 said:
Looks like you may have identified the offending app on your own. Try removing Advanced Lock
Click to expand...
Click to collapse
Tried taking out advance lock, the watchdog thingy, and a few other
apps, rebooted, still no joy.
Oh well...I'm sure a wipe will fix it...at least I can use the widget I installed
to turn off the screen, which I guess in a way is probably better, since I
won't be hitting the on/off button as much
This happened to me after I did the EM unlock and explored the options. Came out of it and power button wont go to sleep anymore. Thought I might have changed a setting, but can't find it. Peace
I think mine did that too come to think of it.

Tasker - automate your phone

One of the best apps in the Market for android is Tasker. Needless to say what transformation cand your phone get by using this app. You can see that here:
http://tasker.dinglisch.net/
and you can get it from here:
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
I was just trying to find a collection of profiles for O1 and it seems there isn`t one, so why not having it right here.
So let`s get the best from our O1 by sharing the profiles we can use for different tasks. Practically there is no limit to what we can do with the phone using that app.
I also recommend you should post your system configuration because some tasks may not work on some roms, kernels etc.
LET YOUR SMARTPHONE BE SMART!
For people using ICS Roms, go to sttings>language and input method>text transformation result and select Pico TTS so you enable voice on Tasker.
I`ll start with a simple profile to make you phone stop ringing by turning it face down:
For this Context, you would choose State, then pick Orientation. You'll get the options you see at left. For this example, "Face Down" is a pretty deliberate action you take with your phone.
For the tasks, you can add "Bluetooth" and "WiFi" from the Net menu, set to Off, "GPS" from Misc set to Off, and set the volumes for "Media Volume" and "System Volume" to 0 from the Audio menu. If you'd like, you can re-order the tasks in priority by pressing and dragging them up the chain. In this case, I moved the volume-to-0 tasks up higher, since silencing the phone was the most important thing to do. Hit Done, and you're all set.
And there you go! Just flip the phone on it`s face to make it silent.
All the profiles listed below can be found here
http://tasker.wikidot.com/profile-index
Simple
Use different ringtone for callers not in your contact list
Button to turn 3G Data Connection on / off
Wi-fi Button for home screen
Full silent mode button (turns off ALL sound including media and notifications)
Battery icon on home page that shows exact %
Birthday alert from google calendar.
Auto Respond to Received SMS while driving.
Speak Weather in the Morning
Add Calendar Entry Based on another entry (rename if necessary
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Always ring loudly for call from important contact
Blocking Calls
Camera Gesture
Automatically turn off Bluetooth
Connect2Wifi: task with loops and feedback if connected or not
Intermediate
This will retrieve your location then post to xml file and send location via sms 1/9/2012
Find weather for next two time periods for your current location and speak it. (Using HTTPGet)
Keep volume low when using headphones
Repeat Caller Name
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Create KML files for Google Earth
Enhancing battery life using Tasker
Missed Notification Reminder
LocateMe Log, Track And Emergency Button
Daily Reminder SMS e.g. for birth control
Total Wifi and Mobile Data Sync Control
The Ultimate Alarm Clock
Boost SD Card Read Cache
Automatically Send an "I'll be Home Soon" SMS
Nandroid Backup whilst you sleep with file management
Keyguard Delayed Enabler (with ready-made task for a Keyguard toggle widget)
Gmail/SMS/Call Notifications with "Minimalistic text"
The Deep-Sleep-Detective
Text me when you get home!
Juice Defender inspired Battery saving
Clock in and Clock out - create a calendar entry with event start and event end times
Disable keyguard when you are at work/home
Advanced
Record Phone Calls (legal)
Periodic Data Check (Juicedefender Replacement)
Periodic Data Check with Widgets (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Find weather for your current location automatically (Using HTTPGet)
Set up an alarm clock that adapts to inclimate weather (Using HTTPGet)
Aumatically start / stop your WIFI when you are at home with limited battery use
Enable WIFI when within cell tower range for multiple access points, minimal battery use
Balance wifi usage and data check (Update)
CPU control profiles for governor and frequency
Tasker as an Automated Task Manager
Blackberry-like Sound Profiles
Automatically change display brightness while plugged in depending on time of day
Automatically respond to texts with street address
Expert
iTANCard
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
vlt96 said:
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
Click to expand...
Click to collapse
Read first, post after. Tasker app does not keep your phone awake as most tasks are set to trigger while it is awake and the display is on. Like the task to open automatically wifi when you open your browser or xda app and set it off after closing those apps. And when setting triggers based on power settings or time, the wakelocks are not constant, being activated just like alarm wakelocks. In fact you can set smart alarms too. Or actions based on calls/sms/mms received from specific ppl at specific times etc., or actions based on gestures set by you, proximity sensor ...
Tested wakelocks with BBStatus and no wakelocks, the phone goes to deep sleep. Tested cpu freq with Cool Tool and max freq is used only when starting the triggered app or doing the task set. In the rest of the time the freq oscillates normally.
And please do not make comments on any app based on how other apps behave. Try it then post.
If anyone is using this app, post your profiles or the ones you think are usefull.
nice thread! let me share my fav profiles
@vlt
Yea, you are the only one who thinks it because otherwise the app wont get 4-5 stars at always if it is battery consuming also, just because the developer had explained clearly how the tasker consume battery. its in the userguide inside and im vrry satisfied with it.
@voyager
tasker is just amazing to me ive been using it for long because it really makes my phone even smarter.
undoubtedly yes, using sensors as a context is the most battery comsuming but we can Limit the use of its detection by ourselves. not mentioning its pre-installed functionality that it wont detect when screen off, for your silent mode thing we can add another context - how about only when our launcher is in the foreground? that makes things even easier
now im glad to share my most frequently used profiles (not giving you guys my private ones XD) including
- vibrate 0.3 second with a little toast msg when power is plugged
- vibrate 0.3 sec and show how much battery left with toast when power is unplugged
- weekdays auto vibration mode in the morning
- auto rotation only on browser
- temporarily disable lockscreen when specified apps are opened (my default set for u is calculator)
- CM7 camera anti-flickering (good for those who OC with stock kernel )
- brightness 80% when camera activates and restore after exit
although gestures and proximity sensor contexts are SUPER COOL, other than the time i show off to my friends xD, ive always been avoiding the sensors to eliminate any chances of over using them and cause batteries.
so, i guarantee my profiles are super battery friendly....
hehehe you must be tempted to download immediately? do it! tell me what do you think of my favourite profiles which are always activated on my P500
to import, unzip my zip and u get xml files. go to tasker, long press "profiles" tab, import, choose the xml. done!
lol dont worry abt the little tip, Miasmic never gives malicious tasks
Happy tasking!
Sent from my LG-P500 using xda premium
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
voyager20021 said:
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
Click to expand...
Click to collapse
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Miasmic said:
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
How do you change OC on it?
.........
Set a profile which is based on a context on which the task will trigger, for example when open camera, set task to set clock to 600 Mhz, then set exit app task to reset the clock back to your usual OC freq.
You can play like that with almost everything on you phone.
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Doesn't it have an option for network location too?
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Yap! Also can set to start wifi/data when opening browser and disconnect when closing it etc.
vlt96 said:
Doesn't it have an option for network location too?
Click to expand...
Click to collapse
Look under task>net. If not there then no.
I can't get it executes the task, the notification keep saying no active profiles. Imported missmic XML profiles (thanks to miasmic). please help, thanks....
Try setting some simpler tasks like start wifi when opening browser. Miassmic`s tasks can be set manually too.
Here`s another profile
Enable WiFi when at Home
Context: State –> Cell Near
Tap the “Start” button and move around your home as your area may be covered by several cells (the “<” sign represents the tower you’re currently connected to). You may stop it after few minutes.
Action: Net –> WiFi
Another profile which sets up a shortcut on home screen for taking instant photos, without opening camera app (point and shoot)
Long-press on the Home-screen > Shortcuts > Task
Action: Media –> Photo Series Time (So that new photos don’t overwrite the previous one and every new photo will have the time attached with its name.)
If discrete is checked, there will be no sign of the picture being taken.
Profiles i use
I attached some of my usual profiles.
What they do:
Missed call> after any missed call with display locked the phone vibrates 0.7 sec than waits one minute and says "you had one call x minutes ago" every minute for 30 minutes. Profile must be used with display unlocked profile
Display unlocked> if you had a missed call and unlock the phone the missed call profile stops
Charging>when connected to AC/usb (can be set to either or any) phone will vibrate 07 sec and say "charging"
Battery full>when connected to AC/usb (can be set to either or any) and battery reaches 100% the phone will say "battery full"
Profiles can be improved or modified easy to reach anyones expectations.
This application has a few problems like battery drain .
Another one is UI....it's a bit unfriendly by the way the cool thing is that you have that if :
if condition1 = or anything with condition 2 then execute .
Yap, a bit unfriendly, but once you now how...
Hi,
On cm 7.2, how do you set tasker to enable or disable pattern lock?
I'm on cm 7.2 since yesterday on my Desire. It's my first time on cm, actually. Before that, I used to be on HTC Desire specific roms. I'm rooted.
I've been using Tasker for quite a while, and by now I have a number of profiles that make me feel my phone is smart
Now, the big problem with Tasker is that it spoils you by doing all sorts of things automatically for you. And when a profile no longer works and you have to do things manually, you get really annoyed
And so, in that context, I have the following profile :
Profile : Home
Context : Cell Near
Variable Set %HOME to on
Wifi Set On
Secure Settings Configuration Pattern Lock disabled
Previously, before I switched to cm 7.2, this used to work perfectly, with GO Launcher and stock pattern lock. Now that I'm on cm 7.2 also with GO Launcher, Tasker can no longer act on pattern lock.
Any idea anyone?
Thanks,
Egg
SOLVED :
I solved my issue by complety removing Secure Settings and re-installing version 1.2.2 from Google Play.
So I am thinking about buying this app but.....
This app is incompatible with your device.
CTM Samsung GT-N7100
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
JohnMather said:
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
Click to expand...
Click to collapse
There's a 7 day trial version you can download here:
http://tasker.dinglisch.net/download.html

Titanium Backup schedules not executed

Is anyone else having the issue of TB schedules not being executed when the phone is sleeping? I have set all the Battery Optimizations set to manual for both TB and the TB root key app. Sometimes the scheduled task is started when I wake up the phone and sometimes (at night) it's being ignored entirely. I am on rooted Oreo stock but I saw the same on Nougat.
Fixed
khaberz said:
Is anyone else having the issue of TB schedules not being executed when the phone is sleeping? I have set all the Battery Optimizations set to manual for both TB and the TB root key app. Sometimes the scheduled task is started when I wake up the phone and sometimes (at night) it's being ignored entirely. I am on rooted Oreo stock but I saw the same on Nougat.
Click to expand...
Click to collapse
OK, fixed it - I had to activate it under Ignore Battery Optimizations
khaberz said:
OK, fixed it - I had to activate it under Ignore Battery Optimizations
Click to expand...
Click to collapse
Having the same problem. Where is the option for "Ignore Battery Optimizations", is it a Titanium option or a system option? Thanks
palosanto0 said:
Having the same problem. Where is the option for "Ignore Battery Optimizations", is it a Titanium option or a system option? Thanks
Click to expand...
Click to collapse
It's a system setting, somewhere under the Battery settings. I am not on EMUI anymore, so I can't tell you exactly. However, it didn't fix my problem permanently. I have moved on to LineageOS meanwhile, where these problems don't exist anymore.
khaberz said:
It's a system setting, somewhere under the Battery settings. I am not on EMUI anymore, so I can't tell you exactly. However, it didn't fix my problem permanently. I have moved on to LineageOS meanwhile, where these problems don't exist anymore.
Click to expand...
Click to collapse
Unfortunately it does not work in my Xiaomi redmi Note 4X.
I found the option to activate "Ignore Battery Optimizations", however if I don't leave the Titanium backup PRO running, the scheduled backups are not performed.
Last week I have been searching internet for a solution, however still I have not found a satisfactory one.
Kind regards and thanks for your advice,
Javi
<deleted - see next post for updated info>
Titanium Backup schedules not executed (or interrupted after being started) and/or its related notifications not being shown appears to be an issue that is caused by crazy additional 'features' as implemented at some devices to improve battery life. This especially happens at OnePlus devices running Oreo (Android 8), but may possibly also appear at devices of other brands (Xiaomi?). Therefore it actually isn't a shortcoming of Titanium Backup itself, but the result of some stupid app handling and killing behaviors that may be active at your device.
Also other apps that should permanently be kept running in background may be impacted by this behavior (being killed for the same reason) like Tasker, Sync-to-cloud apps, etc.
Especially at OnePlus devices running Oreo, following implemented crazy 'optimization' behaviors are playing a role here:
After a user has set Battery optimisation OFF for a specific app, it may automatically be set ON again after a reboot or after the app was updated
Background services may be killed EVEN when for the related app the Battery optimisation was set OFF
The 'Autostart' attribute may be ignored, so apps may be NOT automatically started in background after rebooting your device
SOLUTION
1. Make sure the 'Advanced optimisation' options are disabled
Go to Settings > Battery > Battery optimisation
Click the 3 dots in the upper-right corner and select 'Advanced optimisation'
Verify that the options 'Advanced optimisation' and 'Sleep standby optimisation' are both disabled
2. Set Battery optimisation OFF for any app that should continue to run in background
Go to Settings > Battery > Battery optimisation
Select the app that should never be killed, so in this example: 'Titanium Backup'
Select 'Don't optimize' and click DONE
Nb.
Above is not needed for the 2nd entry 'Titanium Backup PRO', which is just related to your PRO key payment and not the running Titanium Backup process itself.​
However, disabling Battery optimization for an app is NOT enough for preventing that it could be killed when running in background at OnePlus devices!
This not only because the 'Don't optimize' setting may automatically be reverted to 'Optimize' after a reboot or after an update of the app, but EVEN when Battery optimisation is actually disabled it's nevertheless still candidate for being killed at OnePlus devices running Oreo! Therefore also next action is required in addition.
3. Lock the app in your 'Recent Apps' list
Open and then close Titanium Backup (or just touch the Home button at your device after opening the app)
Touch the 'Recent Apps' button at your device
This shows your recent apps, where Titanium Backup will now be included (as last / most recent entry)
Toggle the 'Lock' icon in the upper right corner of that Titanium Backup entry, to switch it to a closed lock icon symbol
(see attached screenshot)
This last action not only just prevents that the app could be removed from your 'Recent Apps' list, but it ALSO prevents the issues as described above, so:
The app will not be killed anymore when running in background
The 'Battery optimisation' setting for that app will not be reverted anymore to 'Optimize' after a reboot or after an update of the app
When done, Titanium Backup schedules should now run as defined. Also, its completion messages shouldn't disappear from your notification entries anymore, but kept until you remove them.
OTHER APPS
Because it's not just a specific Titanium Backup issue but the result of the stupid behavior as implemented at OnePlus devices running Oreo, it's highly recommended to repeat the steps above for any app that should never be killed when running in background (eg. Tasker, Sync-to-cloud apps, Alarm/Alert apps, etc.). Also apps that are making use of scheduled actions, or should awake at incoming messages, chats, mails, alarms, or Security/Anti-virus apps etc. could be candidate of not being able to react properly because they were killed when running in background and/or not started at boot. When such apps doesn't always correctly react/awake at your device, just perform same actions as described above to prevent them to be killed. When an app still doesn't work because it wasn't auto-started at boot, you could use Tasker to create a Tasker-profile that executes a Tasker-task to launch such apps at boot. Start-at-boot via Tasker appears to be not required for Titanium Backup, but for some other apps this was my only option to ensure that they were auto-started after a reboot of my device.
Nb.
Some apps have options included in their internal settings like 'Keep active in background', 'Run in Foreground' or 'Turn off battery optimisation'. Even when these types of internal app settings are selected, they could still be killed at some device brands (eg. OnePlus) when the actions as described above aren't implemented in addition for such apps.
OnePlus: Never settle, but also never be so stubborn...
Thanks
Much appreciated for the fix.
Never thought about locking the app, great idea ?
Just stumbled over this post through a link. Many thanks for the info; in my case it's not only TB that's effected but also several other apps like OruxMaps and Automagic.
For completeness I post some screenshots from OnePlus 6 / OOS 9.0.4 (Pie) showing the changed recent apps screens and dialogs (in German, but I guess you'll get the picture)
paarnoutse said:
Titanium Backup schedules not executed....
OnePlus: Never settle, but also never be so stubborn...
Click to expand...
Click to collapse
i was wondering why titanium is not executed in months.. and killed shortly even when i run it manually.
settings were great:
- no battery optimization
- no data optimization
- tons of free memory on RAM boasting 1+ (funny isn't it)
- recent app management=normal clear
- standby check=exempted
- keep activities
- deep optimization turned off
- sleep standby optimization turned off
and still it didn't help until i LOCKed the app. this is why 1+ and xiaomis achieve better battery scores than samsung
doggydog2 said:
...this is why 1+ and xiaomis achieve better battery scores than samsung
Click to expand...
Click to collapse
(Spoiler: heavy OT post)
...which is what I really love about my 1+: 3 - 4 days between charging aren't rare here.
For the very few apps that are having probs (like track recording) with heavy battery optimization I wrote myself a script (am using automagic, but this should be also possible with Tasker etc) to disable deep opt. then start my critical app. Works great for me, but as always: ymmv
I can't find the setting to lock an app in the recent list in Android 10. Anyone know how to do it?
James_Oakley said:
I can't find the setting to lock an app in the recent list in Android 10. Anyone know how to do it?
Click to expand...
Click to collapse
Each tile you see in the recents screen should show the app title and the usual three dots to open a pop-up menu. There you can lock the app, show app details etc
lm089 said:
Each tile you see in the recents screen should show the app title and the usual three dots to open a pop-up menu. There you can lock the app, show app details etc
Click to expand...
Click to collapse
Thanks for taking the time to reply. Appreciate it.
Still not seeing it.
Where do I click?
James_Oakley said:
Thanks for taking the time to reply. Appreciate it.
Still not seeing it.
Where do I click?
Click to expand...
Click to collapse
Your screenshot shows the app settings. You need to bring up the "recents" screen instead. If you're using the standard navigation bar that is the square button at the right end of the nav bar (screenshot #1, blue mark).
Then you flip through your recently opened apps until you find the one you're looking for. From then on it's as I described before: tap the 3 dots (screenshot #1, red mark). in the pop up menu select the "lock" entry (screenshot #2, green mark)
=== UPDATE: added some screenshots ===
lm089 said:
Your screenshot shows the app settings. You need to bring up the "recents" screen instead. If you're using the standard navigation bar that is the square button at the right end of the nav bar (screenshot #1, blue mark).
Then you flip through your recently opened apps until you find the one you're looking for. From then on it's as I described before: tap the 3 dots (screenshot #1, red mark). in the pop up menu select the "lock" entry (screenshot #2, green mark)
=== UPDATE: added some screenshots ===
Click to expand...
Click to collapse
Thanks - got it. When I read about "recents" in this thread earlier, I assumed it was when you go to Settings > Apps and you're first shown a list of recent apps. I've now got what everyone is talking about, thanks to your patient explaining. I'm sure this will help others too. On my phone, there's no nav bar it's all done with gestures, so you swipe up from the bottom of the screen - then lock Titanium in place. Bingo, and thank you.

How To Prevent System Update - and get rid of notification?

I have a ZB602KL which is now rooted with TWRP and Magisk. It is on Android 8.1 and I keep getting notification about FOTA updates - sometimes a really HUGE one. I am not really interested in the update and want to turn this all off. I did something similar long ago on my old Note phone but doubt that would work here. Any suggestions? Thanks
yeah.... even me getting always the notification of PIE update.. how to make it shut...as it can be mute for only 2hrs... and again it comes
truemate said:
yeah.... even me getting always the notification of PIE update.. how to make it shut...as it can be mute for only 2hrs... and again it comes
Click to expand...
Click to collapse
Go to settings>apps>show system app>FOTAupdate. Force stop the app. Now the notification will not bug you till the next time you restart your phone.
DeMockCracy said:
Go to settings>apps>show system app>FOTAupdate. Force stop the app. Now the notification will not bug you till the next time you restart your phone.
Click to expand...
Click to collapse
this i know it friend.. i was like make this crap to shut forever..till i wont run it manually.
btw is there prob in oreo.. many app if you try to force stop but still after few mins they get started again... like whatsapp.. i make it to force Stop.. but after few mins it start automatically....
i remembered in old version android once you make them force stop they wont run again till u start manually
Enable developer settings.
In developer settings, scroll down to the last. Somewhere towards the last, you'll find a setting called background check, enter this setting, scroll down to FOTA service and turn off its background check.
Go back in settings to apps and notifications. Select all apps and select show system apps from the three dot menu. Scroll down to FOTA settings and turn off background activity for the app (this is under battery settings).
Cookie Ninja said:
Enable developer settings.
In developer settings, scroll down to the last. Somewhere towards the last, you'll find a setting called background check, enter this setting, scroll down to FOTA service and turn off its background check.
Go back in settings to apps and notifications. Select all apps and select show system apps from the three dot menu. Scroll down to FOTA settings and turn off background activity for the app (this is under battery settings).
Click to expand...
Click to collapse
now this really worked.... thanks a lot friend.....
Download Ncleaner from you app store to hide it. that work amazing! got this idea from Bobby Prats

Categories

Resources