Don't close app on screen off -> some apps not following settings... - Huawei Mate 9 Questions & Answers

I am on MHA-L29C567B190, 7.0 Android (Some of my apps won't run on Oreo).
I am having a few apps that close when I turn the screen off (intermittently) even though I have them set to not close. One is particularly annoying: Pandora. I'd say 80% of the time I play Pandora, and turn the screen off, it goes dead. Sometimes a relaunch it will work and sometimes not.
I don't know if that feature is an Android feature, or a Huawei feature. Does anyone know?
Anyone else having this problem? Know of a fix?

easy use battery optimisation turn to manually.100 percent works
---------- Post added at 04:09 AM ---------- Previous post was at 04:06 AM ----------
manage app laucnch.battery optimization part

I appreciate your reply.
I'm sorry, I don't understand what Yukon are telling me ttyl set. I don't sees any optimization settings. When I go into optimize out find an optimizer.

Go to settings - battery - launch and find the app then change to manual mode(ensure that you enable the 3 options especially run in background)
Or go to special access - ignore Battery optimization - select all apps then scroll Don to Pandora, tap on it, select allow then click OK and exit

yep u r rite.follow the instruction that he give.Iaunch manually for that app and second ignore battery optimization mean let it run while in backround

Well, my US version doesn't have those settings. There is no launch option under battery on my phone.
I did just now notice for the first time that I have a gear icon in upper right corner of Battery. Clicking that, I see this option:
Close excessively poer-intensive apps
Auto-close excessively power-intensive apps running in the background
Click to expand...
Click to collapse
So I turned that off. I don't know if that will affect the Close apps after screen lock settings.

Related

Settings for Optimal Daily Screen On Time and Usage

Beware: These are my settings and have worked for me and a few other family/friends who own HTC One X's. What may work for one person may not work for everyone. Because different people use their phone differently throughout the day. But with these tips and settings each person was able to maximize the use and efficiency of the battery (including me).
ON AVERAGE I GET : 3-4 HOURS SCREEN TIME, ON ALL DAY MODERATE TO HEAVY USAGE , MY BEST WAS 5 HRS AT ONE POINT!
(Text Messaging, 1 hour Phone Calls, Camera, Music, Facebook, Email, WebBrowsing, Twitter, Spotify, PULSE News, ESPN Scorecenter)
-----------------------------------------------
Before we start If you are on OTA 2.20 Update make sure you root your phone using this guide (you can only do this if you saved the "Unlock_code.bin" from the 1.85 root method.
http://forum.xda-developers.com/showthread.php?t=1812039 CREDIT TO: ERASTE
------------------------------------------------
After you complete the above requirement. Then move onto the tips/tricks below
APPS NEEDED: BetterBatteryStats (root required), BatteryCalibration (root required), Quick Boot (root required), SetCPU (root required), SmartSync Disabler, TitaniumBackup (root required), Watchdog
Within Settings:
1. Wi-Fi:
Go to Advanced -->
- Turn off "Network Notification Setting"
- Select Always for "Keep Wi-Fi on during Sleep"
- Un-check "Best Wi-Fi Performance)
2. Still inside settings click on "More" under "Mobile Network"
- Make Sure "NFC" is set to OFF
3. In Accounts and Sync
- Make sure you turn off any sync settings you dont need. I usually leave DropBox, Facebook, Weather, Google on.
4. In Location
- Turn off GPS Satellites.
- I keep 1st and the 3rd setting checked usually all the time.
5. Display, Gestures, & buttons
- (This is Personal Choice) I uncheck "Animation"
- Uncheck "HTC gestures"
6. Sound
- Uncheck "Quiet ring on pickup" , "Pocket Mode", "Flip for speaker"
- Also uncheck "Dial pad touch tones", "Touch Sounds", "Screen lock sound" , "Vibrate feedback" .
7. Power
- Uncheck "Fast boot"
8. Language & keyboard
- Inside "HTC Sense Input" setting, Turn off "Sound feedback" , "Vibration feedback" , "Trace keyboard" , "Toggle keboards"
EXIT OUT OF SETTINGS
NOW:
- If you have the Sense UI Weather/Clock Widget good!, if not add the Widget to your Homescreen for this part
-- Click on the Cloud or Weather Icon on the Weather/Clock Widget ... THEN click on "Menu" --> Then click on "Edit" = now erase any of the other locations for weather ... this reduces the amount of places the weather has to sync to.
--- NEXT ... Go back to the home screen and now on the Weather/Clock Widget this time click on the Time ... THEN at the bottom click on "World Clock" ---> Then click on "Edit" at the top within the "World Clock" screen ---> then delete the other World Times ...
---------------------------------------------------
Download "SmartSync Disabler"
- Check the setting "Disable smartsync" (smartsync is apparently some glitch that causes your phone to drain overnight, look into it...)
- Restart your phone
------------------------------------------------
Download "Watchdog"
- Configure it and leave it be; this app will tell you when there are rogue apps running wild in the background.
-- After you are notified about the rogue app you can go and close it .... very useful to minimize stray apps causing battery drain
----------------------------------------------
Download "SetCPU"
- Set the "max" to "1134" (value I use, and i experience no lag .... this underclocks your phone without noticable lag or performance issues)
- The "min" is by default at "384" , leave it at that
- Check the setting "Set on Boot"
- At the bottom there are 2 little tabs:
1st tab: select "ondemand"
2nd tab: select "noop"
-----------------------------------------------
Download "TitaniumBackup" (I use pro version)
- Click on the "Backup/Restore" tab
-- Once inside the tab find and freeze any bloatware apps/signed apps that you dont need our use ... just longpress on any useless Apps and choose
--- For example I froze: YellowPages, ATT Navigator, Car, CityID, MOG, HTC Hub, Live TV, Top HD Games...etc...
-----------------------------------------------
Download "QuickBoot"
- Use this to quickly reboot or power down just by clicking on the app without having to hold on the power button.
----------------------------------------------
Download "BatteryCalibration"
- Charge the battery to 100%
- Once you are at a 100%, open this APP
- If you see "100%" in white bold letters --> Then click on Calibrate ---> Then unplug your phone and use
UR BATTERY IS NOW CALIBRATED
USE THIS AFTER SWITCHING ROMS and ETC ...
-------------------------------------------
Download "BetterBatteryStats"
- Use this app to check which apps are causing a lot of drain
- Look up the guide on how to use this APP to hone your "wakelocks"
----------------------------------------
HOPE THIS GUIDE AND STEPS HELP YOU AS MUCH AS IT DID ME, MY FAMILY AND FRIENDS!
I do all of these except battery calibration, setcpu, and I leave GPS on.
I don't see a need to use the battery calibration app on this phone. All my CPU tweaks I apply via init script so I don't need the app running using resources. Also I've found that GPS doesn't eat up too much unless an app is misbehaving. Also most of the sound stuff won't do to much. The only other thing I could suggest is use manual screen brightness instead of auto.
Other then that these are some good guidelines to good battery life
Good job OP :thumbup:
Edit: I also don't leave watchdog on there unless its a new ROM/app I'm testing. If you aren't experiencing wake locks there isn't much need for this app. Great for sniffing out rogue apps however!
Sent from my One X
init.d?...
ChongoDroid said:
I do all of these except battery calibration, setcpu, and I leave GPS on.
I don't see a need to use the battery calibration app on this phone. All my CPU tweaks I apply via init script so I don't need the app running using resources. Also I've found that GPS doesn't eat up too much unless an app is misbehaving. Also most of the sound stuff won't do to much. The only other thing I could suggest is use manual screen brightness instead of auto.
Other then that these are some good guidelines to good battery life
Good job OP :thumbup:
Edit: I also don't leave watchdog on there unless its a new ROM/app I'm testing. If you aren't experiencing wake locks there isn't much need for this app. Great for sniffing out rogue apps however!
Sent from my One X
Click to expand...
Click to collapse
HELLO! THANK U FOR THE KIND COMMENTS! ANY HELP WITH HOW TO DO THE "init.d" STUFF WOULD BE GREAT! GUIDE MAYBE?!
I'm curious what is NFC under the network setting?
I'm currently trying to max battery life, o have notice huge drops in battery time since moving to the new base.
Oh ...nice guide, should help a lot of people.
Sent from my HTC One XL using xda premium
Grnfinger said:
I'm curious what is NFC under the network setting?
I'm currently trying to max battery life, o have notice huge drops in battery time since moving to the new base.
Oh ...nice guide, should help a lot of people.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Underneath "Mobile Network" there are 3 dots? click on that and then you shall see NFC within one of those settings!

[APP][2.x-5.x] [APK] BATTERY SAVER ULTIMATE

Overview
Battery Saver Ultimate application provides the best power settings to saves the battery time of your device or your tablet. Whenever the battery runs low or goes too much down, just tap the power saver app to turn on the saving mode.
Battery savers help you to switch off all the extra functions like WiFi, Bluetooth, GPS, sound and other energy consuming apps on the device. The app will notify when the power gets down in percentage and it even shows the charging stages.
Charging Stages:
Free Battery Saver Ultimate app regulates the manner in which your device is charged with a Unique 3 Stage Charging system to ensure you get the most out of your battery and reminds you not to over charge.
Types of Mode :
1. Saving Mode: (Use in lowest Battery Status)
Device Brightness set to 10%
In Activate WiFi of the Device
Stand By time to 15 seconds
2. Sleep Mode: (Use when you sleep)
Turn Off Call & SMS and turn ON the Flight Mode
Set Vibrations Off.
Airplane Mode.
Sound Off and mute media sound too.
Brightness set to 10% or minimum level.
3. Customized Mode
You can Customize app usages as your need to save Battery Power.
Can adjust the battery saving setting freely depend on your need and usage.
Can adjust WiFi, Bluetooth, vibration, sound, device brightness, synchronization and stand by time.
Features and Requirements
Accurate battery remaining time
Shows Standby Time.
Accurate charging remaining time
Schedule power saving modes for work/class/sleep and more!
3 Stage Charging system 1. Fast charge 2. Continuous Charging 3. Tickle Charging.
Wifi/Data/Bluetooth/GPS/Flight Mode toggle!
Brightness control!
Shows Battery Health, Current Battery Power in mAH, Temperature, Voltage and Battery life status.
Interesting app. I installed it on my tablet. Look up how it will work. Pity that application is not in material design...
Can I say dodgy app here full of ads and nothing as you say it is. Gives me to play games and full of ads. Avoid
Looks very Good though
Full of ads, nothing like advertised. Avoid.
mr_stax123 said:
Looks very Good though
Click to expand...
Click to collapse
Please state more
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
First, you need not concern yourself with free ram on an Android device. Android manages resources better by itself. As for the apps that launch on startup, you can got to menu>settings>apps and select the "running" tab to show you exactly what is really running. Then, the easiest way is to uninstall the app in question.
Automated task killers do nothing but cause more problems than they can potentially solve.
You might find this thread enlightening.
mr_stax123 said:
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
Click to expand...
Click to collapse
The task killer discussion gets old. I think there is risk of oversimplifying both sides. ie on one side people want to treat it like pc...not correct. On the other side people seem to imply any discussion of memory management considerations is irrelevant/rejected because "android will handle it all"....which is not always entirely correct either. The latter may be closer to the truth especially for new devices, but there is still room for middle ground. Not all programs are equal, some launch "services" which takes priority over other app processes. Too many of those services can eventually crowd out cache and slow your phone down. Maybe most people with newer phones will never get there, but there are still people with older phones (including the op for all we know) and also some folks with new phones who (if they listen to the oversimplifications) may get carried away on the number and type of apps they install over the life of their phone
---------- Post added at 12:47 AM ---------- Previous post was at 12:43 AM ----------
Even so, killing off those services is not the answer. If an older phone has too many running services so it taxes it's resources then it's either time to uninstall some or get a device that can handle it. If it's a problem with the app itself hogging resources, then let the developer know and find an alternative.
If you try to tow a boat with a bicycle, the answer isn't to throw away the boat's engine to make it lighter. Similarly, a task killer may make the phone's performance improve briefly, but over time it will make things worse. And it fixes nothing.
An app preventing another app from "auto-starting" is a task killer. Look at it this way: The phone boots up and runs it's processes. The auto-start blocker detects an app it doesn't want to run, so it kills it. Now, depending on what app it is, the phone may call for it again and thus running it later, which defeats the purpose of an auto-start killer, unless that app is a task killer which again kills said flagged app to keep it killed.
The way to properly manage an app you don't want to have enabled on the phone at bootup is to disable the app on the system manager (newer phones have it AFAIK), freeze the app via Titanium or similar apps, get into the app settings and disable certain features like auto-sync and set everything to manual.
However, the OP did not specify what phone and which apps. It may be apps which the phone requires to run at some level, like Maps (which several apps call for), or maybe the apps he is seeing are just RAM cached, which really don't matter at all.
Adjusting with app settings is preferred if you can, but does not always solve the problem (I referred to wakelock/battery drain problem with a certain version of Maps on my previous phone ... many people we having the same problem at the time and the only way to stop it was to block the app from starting as indicated in link below, or else to freeze it). Freezing has the disadvantage that you cannot run the program easily (requires you to launch TiBu to thaw the program). If you have blocked the program from autostarting, then it does not start at boot or other automatic time, but it remains available to manually launch the normal way (clicking the program icon). At that point (if it's a program like Maps), it will probably stay running until next reboot. It was my preferred solution when maps was giving me wakelocks and battery drain on my phone. Maps didn't run automatically on boot and never started until I manually started it. After that point I could live with the battery drain or reboot
Rom Toolbox Pro is a great app with many features and of course, there's an auto start manager that allows you to disable various receivers off the apps that start on boot. There's also a freeze/deep freeze feature as well. Great app

Multitasking not working properly

Hello, Android keep killing apps. For example I browse web on Chrome, open Google Maps and after a few second switch back to the Chrome and it's already dead, so it take time till it opens and loads web page. It happening with basically every app including Google Now Luncher.
I haven't got any task manager, developers options are set to default, RAM usage is on 300 MB. Have anyone idea how to fix it?
Phone LG G Flex 2 (H955), Android 6.0.1
have you turned on doze??? or powersaving modes??
are you rooted??
Battery saver is off and in Flex 2 there is no settings for doze, but "Ignore optimization" window where you can select apps individually, but it didn't help.
Harak said:
Battery saver is off and in Flex 2 there is no settings for doze, but "Ignore optimization" window where you can select apps individually, but it didn't help.
Click to expand...
Click to collapse
I also had the same problem. Multitasking ain't keep app on background for a decent time...
All we Need is a Custom kernel

Stop a8 auto closing Pokemon Go

EDIT: Added a 4th option that didn't work!
Hi ,
Does anyone know how to prevent the A8 from auto closing Pokemon Go? I've tried the following:
1. Settings, battery, settings, and disabling
1.1. Adaptive battery
1.2. Put unused apps to sleep
1.3. Optimise settings
2. Settings, battery, memory, setting, and adding Pokemon Go to the list of apps that aren't checked.
3. Settings, apps, Pokemon Go, battery, optimise battery use, not optimised
4. Lock the app in the recents menu
Yet after a short while of switching the screen off, it still gets killed. Is there some other arcane setting I have missed or do Samsung (they're not the only ones) that add GUI settings to make it look like you're in control but actually the setting does nothing?
Note: phone is not rooted, but I am happy to root it if necessary - it used to be rooted, I just couldn't be bothered after the recent update!
TIA
m
No one? OK, how about a different angle: if I re-root it doe anyone know which process I'd need to remove / kill to stop Samsung killing apps?

Issue with Battery Optimization - Please Help

Battery Optimization always turn off my MicroG and Volume Style
Detail:
I Use MicroG for Vanced, and Volume Style for swipe volume. (I like these two apps very much for several years) Then need to turn off battery optimization. I choose to not optimize. Then it will always back to optimize. Every day, every time I should find these two apps, and set to not optimize.
Open app setting and turn off battery saver too, still the same.
Is it because of MIUI Optimization ? is it okay to turn it off? Or I just have to give up using those two apps anymore :crying:?
you can turn off MIUI optimization. try enable microG in autostart. and disable Miui battery saver in microG. recomend use MIUI eu for this youtube vanced for better experience.
Pepiii said:
I Use MicroG for Vanced, and Volume Style for swipe volume. (I like these two apps very much for several years) Then need to turn off battery optimization. I choose to not optimize. Then it will always back to optimize.
Click to expand...
Click to collapse
Can confirm, I'm seeing the same here (Vanced on stock EU v12.0.3.0).
same here, especially if you reboot the optimisation comes back...very frustrating.
Alvian_P said:
you can turn off MIUI optimization. try enable microG in autostart. and disable Miui battery saver in microG. recomend use MIUI eu for this youtube vanced for better experience.
Click to expand...
Click to collapse
So, is it better to turn MIUI Optimization off or not ?
Pepiii said:
So, is it better to turn MIUI Optimization off or not ?
Click to expand...
Click to collapse
You don't need to turn off MIUI optimization. What's basically happening is that Microg doesn't request the proper app permissions for it to run on background smoothly. Even if you manually grant it the required permission i.e. Allow_in_power_save, it won't work, since it doesn't use it and MIUI requires it to be set to specify what to do. In short if you are worried about functionality then don't be. And if the notification bothers you, you can turn it off like in screenshots below.
Slim K said:
You don't need to turn off MIUI optimization. What's basically happening is that Microg doesn't request the proper app permissions for it to run on background smoothly. Even if you manually grant it the required permission i.e. Allow_in_power_save, it won't work, since it doesn't use it and MIUI requires it to be set to specify what to do. In short if you are worried about functionality then don't be. And if the notification bothers you, you can turn it off like in screenshots below.
Click to expand...
Click to collapse
I get it, so it means MicroG will still function well even though the notification appeared.
And what about function in Volume Style that always turn off because it back to optimize even I've already make it not optimize. Is there any suggestions what I have to do ?
seems MIUI battery settings seem to revert back after a while for "important apps" - such as Nova launcher for example.
i have optimisation off in developer settings, but no matter how many times i set specific apps to "no restriction" , MIUI 12 just reverts back after a little while.
nickmax1 said:
seems MIUI battery settings seem to revert back after a while for "important apps" - such as Nova launcher for example.
i have optimisation off in developer settings, but no matter how many times i set specific apps to "no restriction" , MIUI 12 just reverts back after a little while.
Click to expand...
Click to collapse
Developer options>standby mode
Try setting all buckets to active*; if they're not already locked to active, power management is active.
Find the app causing this and deal with it directly.
Power management... destroyer of worlds
*this may work but the power management app may simple reset the bucket state latter.
blackhawk said:
Developer options>standby mode
Try setting all buckets to active*; if they're not already locked to active, power management is active.
Find the app causing this and deal with it directly.
Power management... destroyer of worlds
*this may work but the power management app may simple reset the bucket state latter.
Click to expand...
Click to collapse
I have no setting in Developer Options called "Standby mode"
nickmax1 said:
I have no setting in Developer Options called "Standby mode"
Click to expand...
Click to collapse
I don't know then...
anyone found a solution for this? will using venced in root mode be any better?? what if one keeps the battery optimizations on for microG will venced still work as expected??
blzbh said:
anyone found a solution for this? will using venced in root mode be any better?? what if one keeps the battery optimizations on for microG will venced still work as expected??
Click to expand...
Click to collapse
For those wondering (this thread is a top match via Google), the solution is to simply enable the app icon in microG settings. You can get to settings via YouTube Vanced. Then MIUI will treat it like a standard app, allowing you to disable battery optimisation and it will persist across reboots.
nickmax1 said:
I have no setting in Developer Options called "Standby mode"
Click to expand...
Click to collapse
Standby apps...
This is how it should appear if global power management is disabled. Although the bucket shows all buckets as active, many are not and not using battery or any resources like ApkExport or Autostarts which weren't in the memory cache at the time this screen shot was taken.

Categories

Resources