Hi,
I'm experiencing problems where the phone is killing running processes, presumably to save battery/RAM. While this can be good (at least the battery part), it's actually killing running music streams while playing and killing google home when I'm casting to Chromecast (meaning the stream continues, but I lose control over volume/changing content).
Are you guys seeing this aswell? Any tips to make it suck less?
You can set these up in the power settings - go to Settings / Battery / App Launch and change the setting for the app you want to run in the background etc.... It changes from automatically being managed to whatever you set it. You can also use this area to stop apps auto starting when you only use them infrequently - to save even more power.
Mixy said:
Hi,
I'm experiencing problems where the phone is killing running processes, presumably to save battery/RAM. While this can be good (at least the battery part), it's actually killing running music streams while playing and killing google home when I'm casting to Chromecast (meaning the stream continues, but I lose control over volume/changing content).
Are you guys seeing this aswell? Any tips to make it suck less?
Click to expand...
Click to collapse
yes - also, it seems to be killing calendar widgets update process so it often shows yesterdays events - i've tried 3 different widgets and all do this.
adamelphick said:
You can set these up in the power settings - go to Settings / Battery / App Launch and change the setting for the app you want to run in the background etc.... It changes from automatically being managed to whatever you set it. You can also use this area to stop apps auto starting when you only use them infrequently - to save even more power.
Click to expand...
Click to collapse
I'll test this, thanks
deepmenace said:
yes - also, it seems to be killing calendar widgets update process so it often shows yesterdays events - i've tried 3 different widgets and all do this.
Click to expand...
Click to collapse
I didnt notice this with calendar widget, but my weather widget has to be manually updated which is a pain.
I have a similar issue, with Audi MMI Connect app.
I use this in the car, essentially it gives my car's infotainment access to Internet Radio and Amazon Music streaming vie the Audi app on my phone....used to work just fine on previous phone (Galaxy S8+) but the P20 Pro seems to not truly keep the app running in the background etc. Quite simply, if I turn the screen on and open the app, it connects up just fine (Bluetooth to car)......but, turning screen off and the app just goes to sleep shortly afterwards, breaking the connection to the car
I have noticed similar issues with various apps, i.e. there seems to be some really aggressive background power conservation/app closing.....rarely, for example, get Gumtree app notifications, but see the emails....load up the app, and sure enough there are messages etc., same for Facebook Messenger!
Having stopped Huaweis app launch settings from killing/stopping all related apps (launcher/widgets/music etc), it is still killing my apps and not updating widgets.
I use Feel the Wear to manage notifications on my Huawei Watch.
Under Battery -> App Launch, I've set it to "manage manually", and allowed all the options to run when it wants, but it doesn't transmit the notification while the screen is locked.
nobody have solve this problem ?
I have the same issue with many application also if I configure the battery saver with manually configuration.
Same problem. Trying to listen to music/documentaries via OGYoutube in the background and it frequently kills it. I have turned all battery management etc off as above.
Driving me up the wall!
You can also try going to "Apps & notifications" -> "Apps" -> "Settings" -> "Special access" -> "Ignore battery optimisation" select to show "All Apps" then select the app you want and make sure you set it to "Allow (May drain your battery more quickly"
Hi. As stated this has already been done with no effect.
Special Access does the trick!
manos.alexiou said:
You can also try going to "Apps & notifications" -> "Apps" -> "Settings" -> "Special access" -> "Ignore battery optimisation" select to show "All Apps" then select the app you want and make sure you set it to "Allow (May drain your battery more quickly"
Click to expand...
Click to collapse
Manos.Alexiou suggestion makes a real difference.
I had the Battery>App launch settings but it was partially working.
Switching the Special Access settings completed the job!
These are *different* settings.
gkahd said:
Manos.Alexiou suggestion makes a real difference.
I had the Battery>App launch settings but it was partially working.
Switching the Special Access settings completed the job!
These are *different* settings.
Click to expand...
Click to collapse
even with both, my p smart 2019 with EMUI 9 killes the apps on background including google maps spotify etc. it took very long to disable it all for them as there is no option for disabling all apps at once. I think I am going to sell the phone soon.
I have Honor Play with exactly same problem, memory management is absolutely disaster.
Disable powergenie from ADB debugging. Once I did this, my phone finally started to behave like a normal phone
mariushm said:
Disable powergenie from ADB debugging. Once I did this, my phone finally started to behave like a normal phone
Click to expand...
Click to collapse
Please what should I write in cmd to disable , I have very bad battery
MsuatafaKhatab said:
Please what should I write in cmd to disable , I have very bad battery
Click to expand...
Click to collapse
adb shell cmd uninstall -k --user 0 com.huawei.powergenie
MsuatafaKhatab said:
Please what should I write in cmd to disable , I have very bad battery
Click to expand...
Click to collapse
HTML:
adb shell pm uninstall --user 0 com.huawei.powergenie
I don't think this will fix your battery, however.
Related
So I just discovered the magical world of tasker, and am loving it! Totally worth the money, and one of the best apps to have (the best if you know how to maximise its use)! I have been experimenting a bit with it, so I don't have many profiles. I'm sure many folks here will be using tasker and would be having some great profiles, so I'm looking forward to hearing some suggestions! The profiles I use are:
1. WiFi off at night, from 00:45 to 08:00, except WhatsApp, Play Store, Quora
2. Airplane mode at night, from 00:30 to 07:00
3. Use of interactive CPU governor when using Real Racing 3, and revert to lionfish governor after exiting app(Kernel adiutor profiles do this for me). I also added a condition to use auto-rotate when playing the game, and revert to portrait orientation after closing the app.
4. Auto-sync every two hours, from 08:00 to 20:00 (I would like to improve this to auto-sync only Gmail, would welcome suggestions on how to do this from any tasker experts out here )
I would love to implement more profiles and automate my phone, so looking for ideas.
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Nothing very fancy for me - right now just have it turning on my wifi hotspot when it detects my car's bluetooth connection so my stereo can use the internet.
It sounds like you are taking it pretty far, @varunadi. You should check out https://www.reddit.com/r/tasker for more cool ideas.
koimr said:
Nothing very fancy for me - right now just have it turning on my wifi hotspot when it detects my car's bluetooth connection so my stereo can use the internet.
It sounds like you are taking it pretty far, @varunadi. You should check out https://www.reddit.com/r/tasker for more cool ideas.
Click to expand...
Click to collapse
Yep, I am looking to maximise the use of this app, so thanks for that link, will check it out!
anks095 said:
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Click to expand...
Click to collapse
I'm still finding my way around tasker, reading a lot of tutorials so once I figure it out I'll let you know.
anks095 said:
Need a tasker profile which can disable my mobile data only for some specific apps.it means If I start those apps then my mobile data would automatically disabled and when I close them Data service should be enbled.If u can help on this then That wud be very helpfull
Click to expand...
Click to collapse
I don't know if you can disable mobile data entirely (not just background which Android can do already) for just certain apps.
Perhaps it would be easier to use something like Netguard.
I've never used it but the description says "Applications can individually be allowed or denied access to your Wi-Fi and/or mobile connection."
koimr said:
I don't know if you can disable mobile data entirely (not just background which Android can do already) for just certain apps.
Perhaps it would be easier to use something like Netguard.
I've never used it but the description says "Applications can individually be allowed or denied access to your Wi-Fi and/or mobile connection."
Click to expand...
Click to collapse
Can't the secure settings plugin be used for that purpose? Toggle data on/off I mean.
varunadi said:
Can't the secure settings plugin be used for that purpose? Toggle data on/off I mean.
Click to expand...
Click to collapse
I was actually going to suggest that as I have it installed already but when I tried it didn't work.
The "Mobile data" toggle was unavailable because it claims I don't have root. However, I'm definitely rooted and there's no listing (saying denied or otherwise) in SuperSU for Secure Settings so it didn't even ask for root. I'm not too surprised as SS hasn't been updated in over a year and a lot of the Play Store comments mention mobile data toggle specifically not working either (among other things). Too bad as it was pretty powerful and of course I think I paid for it right after its last update.
Not getting SS working for me might just be my problem and perhaps someone else can get it going.
I was also going to suggest [APP][2.2+][ROOT] Toggle Data 5.0 (xda-exclusive free version) but then I read more about what @anks095 said which was "can disable my mobile data only for some specific apps" so I'm guessing he just wants certain apps restricted and not all (although the next sentence seems to say otherwise but I might be reading it incorrectly). I'm not too sure that can be done via Tasker/SS - my guess is that it's an "all-or-nothing" kinda thing for mobile data so the VPN thing might be the only way.
I use a similiar app called automagic but some of the things that I got my tasker like program to do are: lockscreen enable/disable through wi-fi at trusted places (don't like geofencing due to battery), when connected to the bluetooth of my car. Auto silent 5 min before a meeting, but if not connected to my smartwatch then vibrate. And lastly sms emergency location request where my family can send a keyword and my phone will automatically send location.
joeanca said:
I use a similiar app called automagic but some of the things that I got my tasker like program to do are: lockscreen enable/disable through wi-fi at trusted places (don't like geofencing due to battery), when connected to the bluetooth of my car. Auto silent 5 min before a meeting, but if not connected to my smartwatch then vibrate. And lastly sms emergency location request where my family can send a keyword and my phone will automatically send location.
Click to expand...
Click to collapse
How is the lockscreen one working for you? I find the built-in SmartLock to be really unreliable but when I tried to do lockscreen stuff before (last year) there was some bug in either Tasker or Secure Settings that would sometimes keep your screen black with just the nav buttons visible present. I'll have to re-try now.
That sms emergency request thing sounds cool! Can the recipient open the location in Maps to see exactly where you are?
Without issues I set it so that it clears the password. Makes it so that I have to swipe to unlock. As for the location, yes it sends coordinates and the user in the other end taps it to bring up Google maps.
Sent from my XT1563 using Tapatalk
joeanca said:
Without issues I set it so that it clears the password. Makes it so that I have to swipe to unlock. As for the location, yes it sends coordinates and the user in the other end taps it to bring up Google maps.
Sent from my XT1563 using Tapatalk
Click to expand...
Click to collapse
Thank you very much - clearing the password was the key! I had been trying before to disable the keyguard entirely so I wouldn't even have to swipe but that's where the problem/bug came in. Thinking about it that makes more sense to have at least a swipe because I'd end up calling people from my pocket by mistake. So thanks again!
Tasker...hmmm. Bought it, but much to complicated for me. Macrodroid is much easier to understand and can also do complicated automation with a normal user friendly interface. I tried to like Tasker, but the more and more I tried the more stupid I felt.
Hi,
I tried to find root cause, but unfortunately without success. Is there anybody, who using Tasker or another application for automatization of your phone without any issues?
My issue is, Tasker is still "delayed" - but same rules I used before on LG G3 (Android 6.0) - but now on P9 (DualSIM) didn't work.
I have task for Calendar Entry, where if I have appointment in my work calendar, during this time Sound mode is deactivated (only Vibrate).
Some suggestion? I tried white lists, etc. or another app with same bad behavior.
Thank you!
Well, I tried to deactivate power management app from Huawei over ADB and looks good now finally! Its workaround, but tasker now working very well as expected.
adb shell pm hide com.huawei.powergenie
Did you have "Run in Foreground" selected in Tasker's preferences?
My Tasker works fine with that selected, although I also have trusted the app in permissions manager, allowed it to auto launch & activated it as a device administrator in advanced settings/security.
Yeah, I tried every tip over Tasker or phone (EMUI settings) and only deactivate power management helps me.
I had the same problem with IFTTT. It worked perfectly with my LG G3, but was hopeless on the P9. No amount of white-listing or settings would work.
I even had the app in memory, with Google maps running, on GPS, screen on, and it still wouldn't trigger a location based profile.
I've had to revert to manually arming and dis-arming my home security system. Annoying.
I translate from spanish so I'm sorry if your phone shows menus with other name.
You must go to adjust > advanced adjusts > memory and store and at bottom of page "space clean". On new screen push on upper-right wheel, and now on last option "white list of memory clean". Finally look for your app and activate it.
If you don't include app here, clean system will close it on background and timers won't work. It solved my problems.
aidrabmol said:
I translate from spanish so I'm sorry if your phone shows menus with other name.
You must go to adjust > advanced adjusts > memory and store and at bottom of page "space clean". On new screen push on upper-right wheel, and now on last option "white list of memory clean". Finally look for your app and activate it.
If you don't include app here, clean system will close it on background and timers won't work. It solved my problems.
Click to expand...
Click to collapse
"Settings>Advanced settings>Memory & storage>Storage cleaner" and "Memory cleanup whitelist".
Using Agama, I can get an app to start following a reboot. However, I would like to start the App at every Startup. Does Automate or any other app let you do that?
carroamer said:
Using Agama, I can get an app to start following a reboot. However, I would like to start the App at every Startup. Does Automate or any other app let you do that?
Click to expand...
Click to collapse
Why would you need Tasker for that simple.
Settings, type in the Search Autostart and add your app to the list of apps to be started on every reboot.
You may also need to disable Battery Optimization for your app (to make sure it would still work in background when the phone sleeps with dark screen)
That should generally work for all Androids. I don't have Huawei P9 now for years, I remember that EMUI might have had specific Settings organization but there was also Autostart (or Auto start)...
zgfg said:
Why would you need Tasker for that simple.
Settings, type in the Search Autostart and add your app to the list of apps to be started on every reboot.
You may also need to disable Battery Optimization for your app (to make sure it would still work in background when the phone sleeps with dark screen)
That should generally work for all Androids. I don't have Huawei P9 now for years, I remember that EMUI might have had specific Settings organization but there was also Autostart (or Auto start)...
Click to expand...
Click to collapse
When I search 'Autostart' it produces 'No results'
carroamer said:
When I search 'Autostart' it produces 'No results'
Click to expand...
Click to collapse
I had P9 for three years (if you don't believe, you can find tons of my posts here back from 2017-2018)
Now, you have that phone, not me (I got rid of my last Huawei almost three years ago) - I cannot show you and I cannot look into the EMUI settings because I don't have the EMUI phone anymore
But I KNOW that there was a way in EMUI how to control which apps will be automatically started on boot - I know because I played with all that back in those years, II did need for many apps like AdAway, Find My Device and similar that required to be auto-started to operate correctly
Take your time and google and you'll find. Sorry, I tried to help you but I will no more waste my time on that. Huaweis are past time for me
And take your time, use your imagination, If not Autostart, google for EMUI startup manager or something similar to find the answer for your question on the Net
Hello everyone,
i need some help and didn't find something here in the forums.
i own a P9+ with the latest ota-stock-rom installed, not rooted.
I am running my emap-app Orux-maps for many years now on different android-phones and have never had this problem.
If i use this app in the background recording my gps-track it will be closed after a while.
As far as i know now it could be related to Android power saving options.
I tried the following but with no success:
Under:
settings
batterie
-close apps after screenlock = toggle orux don't close
settings ( gear wheel upper right corner)
-close excessively power intensive apps -uncheck
apps
orux
close after screenlock -uncheck
Do you know if there are more power saving options in Android 7?
Is this maybe a known issue?
I also already gave the app all permissions...
THX a lot,
Henning
I know it's been years since this question was posted but issue remained
This is a MUST: enable "Apps>OruxMaps>App Permissions>Location>Allowed All the time"!
My original setting was "Allow only while using the app" and it did not work while running the app in the background because once the OruxMaps goes into background it will disconnect the Location Service and will reconnect as soon as app is reactivated (i.e. screen unlocked) drawing a straight track-line between two GPS readings... even though it says that the tracking is active but apparently without Location input...
After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid
I hope this can help others that have the same problem that I had. I hope this work for everyone.
Steps:
Disable Advanced Battery Optimization: Deep and Sleep
Disable Adaptive Battery
Disable optimize battery for the apps(maybe this isnt needed since I am getting notifications on time from apps that have this enabled)
Run this command via ADB or Android Emulador(this is disabledwhen you restart the phone so you need to run again):
dumpsys deviceidle disable
This is tricky, you may need to root your phone for it. You have to edit the build.prop this is located inside the system folder
Find this 2 lines
ro.vendor.qti.sys.fw.bservice_limit=5 - > I changed it to 120
ro.vendor.qti.sys.fw.bservice_age=5000 -> I changed to 10000
Lock your apps you want to receive notifications(maybe you don't need this)
But go to overview mode, click the 3 dots above the app and choose Lock
I locked my google play service too, just in case
Go to dial, and dial *#*#426#*#* this will open the GCM service(google play service) this is the guy that handles notifications.
After it is open, go to overview, 3 dots and lock it.
Now I have notifications in time, and my webwhatsapp or airdroid never lose the connection because the phone went to sleep mode.
For battery, I must say I did not noticed it got worst in FACT I think it got better, since now I can play(ragnarok eternal) for more time than I was playing before.
archraziel said:
After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid
Click to expand...
Click to collapse
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...
twinsen.net said:
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...
Click to expand...
Click to collapse
Did you try using this app: https://play.google.com/store/apps/details?id=io.github.mobodev.heartbeatfixerforgcm&hl=en
If even that does not work, I am sorry but you will have to root to fix it. I think you can have root and SafetyNet cert, have a look around, it might be possible.
I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
sshanky said:
I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
Click to expand...
Click to collapse
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Crossvxm said:
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Click to expand...
Click to collapse
I have set the apps in question to No Restrictions, a long time ago, but that didn't help. Today, I tried another option -- Use Adaptive Battery (Limit battery for apps that you don't use often). I turned that OFF, and it appears I've been getting alerts on my Garmin watch all day. However, I made a call and Google Voice wasn't active. I was getting excited that I'd found a cure until that happened. I'll try your suggestion in developer options and report back if it works. Thanks for that idea.
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
sshanky said:
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
Click to expand...
Click to collapse
Yeah MIUI 10 + Android 9.0 are worse than previous versions of MIUI, but Google apps have issues on all devices that do not use stock or near stock Android. Have you attempted to lock the app in the task manager? Open your app, for example Google Voice, then using the task manager (App switcher), long press that app and tap the lock button. Try using the phone as you normally would and see if it helps.
@Crossvxm that's a good idea. I'll try and let you know how it goes.
sshanky said:
@Crossvxm that's a good idea. I'll try and let you know how it goes.
Click to expand...
Click to collapse
All you have to to do is turn off Battery restrictions.
Also, I would suggest giving the launcher "Smart Launcher: a try. Not only is it awesome but it gives you quick access to all of the permissions, and battery optimizations. You can manage all of this from the Apps list.. Press and hold on any icon and click namage ( or the gear then manage) this is much easier then searching through the system settings for autostart, permissions, battery management etc. This is one app that is worth buying. The free version is great, but the paid version is incomparable, and I own all of the popular launchers. Smart Launcher Pro 5 is absolutely the best, and highly customizable.
My biggest issue with all AOSP roms is that the battery goes up to 105F when charging on every single AOSP rom that I have tried on the Mi8. While there is no immediate risk in the long term the battery should not get hotter than room temperature.
Back to Miui, turn off battery restrictions and you will have no issues, you also have the option of clicking the pin in recents to keep the app active.
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
sshanky said:
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
Click to expand...
Click to collapse
I run MIUI stock 10.3.3.0 with Sphinx Kernel and root. I also use Hangouts, Google voice, and Google message without issues. It's like tsongming mentioned. Turn off the adaptive battery and remove battery restrictions on each app. Also make sure they get all permissions.
Something to note , when I used Canting Kernel, I had lots of apps turn off in background including my Fossil sport watch connection. Going back to Sphinx Kernel took care of issue, probable too aggressive memory killer in Canting. Stock Kernel might have same issue idk.
./
When I had my Mi 8, I had no issues. This seems to be something new with the 9. I've disabled adaptive battery, I've provided all permissions to the app, I've removed all power restrictions. I'm not rooted, so I can't change kernel right now. It appears that locking the app might have helped a bit, but I wish I didn't have to do it.