I've seen the CPU usage by "Media" (android.process.media?) to be always extremely high (as seen by "Battery Usage" and "GSam Battery Monitor") - and seemed to be the culprit of my very fast battery drainage.
So using Titanium Backup, I Froze "Downloads 4.x.x" and "Media Storage 4.x.x" which seemed to have helped a LOT - I get much better battery life, and the CPU usage by "Media" is 0-1% as opposed to 80-98%.
Just wondering - anyone know why this is - and what side-effects I could have by freezing these two processes?
I have been dealing with this issue for the last couple of days too. I ended up having to clear the data in Google Music and start fresh.
I froze pretty much everything possible. Those two processes will make your music stop playing and prevent you from using system sounds. It might also keep the market from functioning.
I think the latest google music update messed something up though. My problem seems to have cleared up, but I also have not played music in a while to see if it comes back.
Gersonian said:
I have been dealing with this issue for the last couple of days too. I ended up having to clear the data in Google Music and start fresh.
I froze pretty much everything possible. Those two processes will make your music stop playing and prevent you from using system sounds. It might also keep the market from functioning.
I think the latest google music update messed something up though. My problem seems to have cleared up, but I also have not played music in a while to see if it comes back.
Click to expand...
Click to collapse
I've had this for quite a while - I don't play music - and I have not had any problems with notifications or sounds, or even downloads.
I read that it does affect Gallery - which I did just try - and yes it seems to force close. But I have always used QuickPic instead which does not seem to have a problem with me freezing these two processes.
I assume they scan the internal and external data locations for media/files... I've read that it's possible that the scanning process gets stuck in a loop if there is a corrupt file or if there is something wrong with the SD card... *shrug*
I'm just wondering if I should be worried.
I'm on CM10 by the way... amazing how much faster my GS3 is over stock...
I miss CM10 from when I was on my Epic. Eventually the day will come that I will flash something. For now I am still just tooling with the way I like things.
I read about the corrupt file issue too. I am keeping an eye on this. Every time I froze media the media-related processes, something inevitably got screwed up. Hopefully I have fixed the issue on my end.
Do you have Google Music on your phone? Just because you do not listen to music does not mean the application isn't draining your battery. It could be starting up and keeping your phone awake if there is something corrupt going on there. Probably better to seek out a solution that allows the core processes to run than to keep them frozen. More than likely you will lose some additional functionality than just the gallery FC'ing.
Gersonian said:
I miss CM10 from when I was on my Epic. Eventually the day will come that I will flash something. For now I am still just tooling with the way I like things.
I read about the corrupt file issue too. I am keeping an eye on this. Every time I froze media the media-related processes, something inevitably got screwed up. Hopefully I have fixed the issue on my end.
Do you have Google Music on your phone? Just because you do not listen to music does not mean the application isn't draining your battery. It could be starting up and keeping your phone awake if there is something corrupt going on there. Probably better to seek out a solution that allows the core processes to run than to keep them frozen. More than likely you will lose some additional functionality than just the gallery FC'ing.
Click to expand...
Click to collapse
Nope - I don't use Google Music - and I use a separate MP3 player for playing music (I'm one of those weird people who doesn't believe in wasting my phone battery on playing music.. haha)
I don't see anything else eating away at my battery life according to Gsam (well, ok, except the evil Amazon App Store - which I can't freeze since some apps I bought from Amazon require it - UGH).
Please read forum rules before posting
Questions go in Q&A
Thread moved
Instead of freezing these processes, when you reboot after a couple of minutes go to settings>battery and then to MEDIA and force stop. It will turn itself back on later if need be but that stops the ruanaway service with no apps force closing when used.
kennyglass123 said:
Instead of freezing these processes, when you reboot after a couple of minutes go to settings>battery and then to MEDIA and force stop. It will turn itself back on later if need be but that stops the ruanaway service with no apps force closing when used.
Click to expand...
Click to collapse
My phone is set to reboot every morning after Ti Backup does a backup of apps/data and I'd hate to have to go through that every morning.
(the SmartPhoneMate app also requires 1-2 reboots a day so that's why I also do that)
Yeah I'm just lazy
One day I'll take the time to figure out if it's something on my SD card...
I just wanted to make sure if there was something else I should be worried about... so far nothing major as far as I can tell.
P.S> Sorry about posting in the wrong place - as you can see, I'm total n00b here (been lurking for a while though)
Here is a good set of solutions and workarounds: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
In addition, a further one may be helpful/needed: disable (freeze) the Downloads app (com.android.providers.downloads)
What was most helpful in my case is to use the Rescan Media Root app to disable the buggy image scanner altogether.
ddvo said:
Here is a good set of solutions and workarounds: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
In addition, a further one may be helpful/needed: disable (freeze) the Downloads app (com.android.providers.downloads)
What was most helpful in my case is to use the Rescan Media Root app to disable the buggy image scanner altogether.
Click to expand...
Click to collapse
Good stuff... thanks!
I've been using My Tracks on my Xperia and SW3 for ages, but now Google is ending the fun
What alternatives are there? It needs to be able to record tracks/routes on the SW3 alone as well as on the phone.
Have you tried Google Fit? I've used it and it almost has the same statistics as My Tracks and also shows your route on a map view inside the app.
Fit is an ok app, but the main draw back is huge battery drain, at least compared to MT.
strange, I have been using Google Fit all the time, 2x 20 min gps bike rides daily, a bit of walking, two day battery life easily, no problem whatsoever with battery drain. Maybe a reset of your watch first?
I just tried Fit again and it seems to work well, without any battery issues. Maybe marshmallow sorted the issues I had previously. Giving Fit a chance to show what it can do then
About Fit app - recently i`m missing one part of Fit app - i cant record any activities - i have Fit app and icon, and Fit Activity is missing. I`ve tried to reset watch - same thing. I`ve reinstall Android Wear app - nihil novi sub sole. Help please? Maybe show me alternative to Fit app - i need to run without phone - only with SW3 watch. Anyone can help me? Endomondo? Strava? Can those programs work as stand alone apps only in my watch and have build in gps support?
Ghostracer is fine
Hi all,
I'm running several apps that should run all the time (AdGuard, Network Speed Meter) or for a long time (speed trap warner,...) but OxygenOS kills them after a certain period. Some of them restart automatically, some don't. Of course all of these apps are 'not battery optimized'. Is there any chance to prevent OxygenOS from killing them?
Are there custom ROMs that can overcome this problen?
I'm on the latest OxygenOS Pie Beta, but the behavior was similar on Android O...
Thanks a lot,
W
Did you try locking the app via recents menu?
Thank for the info, didn't know that.
Unfortunately it doesn't help, Adguard and the network monitor don't appear in recents. The speed trap warner automatically starts and stops when I'm in the car, i don't want to open recents manually every time.
Battery - Battery optimisation - Don't optimise
safwankatharudheen said:
Battery - Battery optimisation - Don't optimise
Click to expand...
Click to collapse
This is not changing anything,e ven with disable battery disabled, even with adaptative battery disabled.
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
M3drvr said:
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
Click to expand...
Click to collapse
My app is not killed when i lock it in the switch app menu
There's a whole website regarding that issue on several devices, maybe it helps: dontkillmyapp(dot)com/general#user-solution
I have had my P20 for about three month now... and it's OK but the Huawei "enhancements" and some other things are very frustrating.
1) Almost none of my "background" stuff works... Meaning things like Google Photo backup, SMS Backup & Restore scheduled backups, and other scheduled services don't run until I open the apps. Not much good to have automatic backups if they aren't automatic. Also, Google Rewards does not notify me of new surveys. Things that happen in the background seems to happen for a short time after you open the app, then they just stop.
2) Multitasking is a joke... On my old Moto G5+, I could have Facebook, Candy Crush Saga (don't judge, I have invested too much time to quit), Pandora, MeWe, Gmail, Messenger, Nine Mail, and a host of other apps running with no issues switching back and forth without them "reloading". On my P20 with the same RAM and supposedly a faster processor, if I am in Candy Crush Saga and switch to Facebook, then switch back, Candy Crush reloads when I was in the middle of level... Much less trying to have Pandora or a few other things going simultaneously. And yet I typically have 1.8-2.1GB of RAM available, it's impossible to actually multitask without apps restarting constantly.
3) Delayed or no notifications... From most apps... Gmail, Facebook, XDA, Nine (a real problem, this is my work email), Calendar, etc. Almost every app that isn't open gives delayed notification, sometimes a minute or two, sometimes hours, sometimes not until it is opened. Other times notifications show up, but no sound is given at all.
These things all seem to be related to how aggressive the memory and application management is to maintain the battery... Sort of making up for the hardware's inefficiencies through software. But it works, battery life is quite good.
4) Inability to change "default" apps like the Gallery... I hate the Gallery, but I love Google Photos as the "gallery" app. You can change it in the settings to the default, but few applications "honor" that setting. And for some reason the Gallery doesn't see all the photos I download with Photos. Weird... And even when you set other non-Huawei apps as defaults, it only works sometimes. This goes back to EMUI's software framework I think. Never had this issue on Motos, Nokias, Pixels, etc.
5) More of an annoyance than anything else, but what the heck is with the lock screen wallpaper? I can't get rid of the Huawei papers, they show up no matter what I do or how many of my own I add, the stock ones keep showing up. I have gone into the lock screen settings and disabled ALL of the embedded ones, and only my folder of about 50 or so images, and I keep getting the stock Huawei ones show up in the rotation.
Then there is the lockups... For example, open Google and search for something, switch to images, and maybe turn on GIF filter or something... This thing will grind to a halt in nothing flat, granted my old Moto would lag a bit, but it was 100 times better than this thing. I get the same thing in some apps but not others without consistency. Or if my UC-One app for work rings, sometimes it works, other times it locks up tight and needs a hard reboot to recover... No other phone out of the 80 or so at work does this. It's just so inconsistent.
And my last gripe is the data lag... At random times, regardless if on mobile data or WiFi, it will just lag out for 10 seconds to 2 minutes, usually once or twice a day, but not consistently... Everything looks fine, good signal strength regardless of source and other devices work fine, but no data will be moving and videos freeze and buffer, Facebook pictures don't load, etc. Granted, this really started after the May 2019 update.
It sounds like I hate this phone, but I do like a lot of things about it... The battery life if good, the charge times are good, the camera is excellent, the sound quality is acceptable, nice screen, not too big or overweight. But man, that new Pixel 3a XL at $20/month is sure looking pretty good.
Am I all alone here, or do others have the same issues?
Oh dude. 99 % of things you mentioned can be handled in the phone settings like telling phone not to shut apps in the background. You should Google before you write things down.
Ragarding your last point with lag: try doing a soft reset and install you carrier settings once again.
I've got the phone for half a year now and after searching and changing some settings it works better than anything else I've seen on a phone I paid 350 EUR for.
EuBir said:
Oh dude. 99 % of things you mentioned can be handled in the phone settings like telling phone not to shut apps in the background. You should Google before you write things down.
Ragarding your last point with lag: try doing a soft reset and install you carrier settings once again.
I've got the phone for half a year now and after searching and changing some settings it works better than anything else I've seen on a phone I paid 350 EUR for.
Click to expand...
Click to collapse
I take no offense from your comment, but I am not a noob... I have been working with Android since Eclair and smartphones in general much longer, including working on several ROM development teams and am an RC here. I did Google and DID turn off Huawei's "App Launch" management that I assume you are talking about trying to stop the optimizations from EMUI, and a few other things, but this is AFTER that. Although some of them seemed to help a little, it doesn't fix the problems.
Not only have I soft reset, I have done complete factory resets and all of my carrier settings are current... The lag also occurs on WiFi.
My post was kind of a rant, not necessarily looking for a solution unless there was one, and I was looking to see if I was the only one with these issues. Nor am I saying this isn't a good phone... Many of the things I have talked about would not bother many people.
In my case, I'm happy with the phone. Obviously I had some other problem, especially in some of the points you mentioned in the post. As the backup of Google Photos that did not work, but when I opened the app. However, selecting that all applications start manually has worked correctly for me.
I have disabled several applications using ADB. I know it does not erase them definitively, but hey, it's something. I also hate or just do not like the amount of applications that the phone has installed, I see them as unnecessary. I've always tried to use Google apps: calendar, dialer, calculator, clock, contacts, file manager, keep notes, etc. (that means I also disabled the original dialer).
But there is something that haunts me since I upgraded to EMUI 9. And it is a bug in recent applications that has a blue shadow that only appears when using a launcher. As I read, the solution is to disable the EMUI launcher, I did it once, but I prefer the appearance of recent applications of EMUI 9 than the previous ones. (Although I believe that this is poorly implemented).
Disable Huawei power genie app. I think it will solve all your problems with background apps.
You can find instructions online.
Your battery will take a small hit.
The biggest issue is the wifi, very capricious
I have no problem watching a 1080p stream on twitch... but loading the newsfeed on FB, twitter, is sometimes impossible. I have to switch to 4g to load the newsfeed and it's very annoying ... Sometimes i can browse the internet for 5minutes, then nothing would load, for no reason ...
The battery management settings is also very aggressive, and notifications often displayed 1h, 2h late. Occasionally i get a "1 message from " " ... 1 day" on messenger app
One thing i really miss is viper4audio ... I did everything, i can't get this thing to work.
Appart from that, it's a good medium range phone.
maxime4611 said:
The biggest issue is the wifi, very capricious
I have no problem watching a 1080p stream on twitch... but loading the newsfeed on FB, twitter, is sometimes impossible. I have to switch to 4g to load the newsfeed and it's very annoying ... Sometimes i can browse the internet for 5minutes, then nothing would load, for no reason ...
The battery management settings is also very aggressive, and notifications often displayed 1h, 2h late. Occasionally i get a "1 message from " " ... 1 day" on messenger app
One thing i really miss is viper4audio ... I did everything, i can't get this thing to work.
Appart from that, it's a good medium range phone.
Click to expand...
Click to collapse
I don't know what phone you have.I think you are on a wrong thread.This is for Huawei P20 which is a premium phone not a midrange phone.
It's not a 800€+ phone, and there's the p20 pro. I bought it for 379€ in europe, just a month after it's release. So for me it's more a medium range phone ^^ the top medium range
costindaemon said:
Disable Huawei power genie app. I think it will solve all your problems with background apps.
You can find instructions online.
Your battery will take a small hit.
Click to expand...
Click to collapse
Thank you so much for this. I was so tired of having to reload recent apps. It was so bad on my phone that just switching between 2 apps would close the first.
maxime4611 said:
It's not a 800€+ phone, and there's the p20 pro. I bought it for 379€ in europe, just a month after it's release. So for me it's more a medium range phone ^^ the top medium range
Click to expand...
Click to collapse
Well,for me there are the specifications that make a phone premium/midrange or entry-level.The P20 has specifications that matches a premium 2018 phone.If you were so lucky to find a new P20 in spring 2018 for less than 400 euros,good for you.
costindaemon said:
Disable Huawei power genie app. I think it will solve all your problems with background apps.
You can find instructions online.
Your battery will take a small hit.
Click to expand...
Click to collapse
Ryandos said:
Thank you so much for this. I was so tired of having to reload recent apps. It was so bad on my phone that just switching between 2 apps would close the first.
Click to expand...
Click to collapse
You don't need to disable the Power Genius app, it can actually do some good... disabling it is functionally equivalent to going to Settings -> Battery -> App Launch and turning off "Manage All Automatically" and that will leave you like most other Android device with the kernel managing everything.
I disabled this at first after @costindaemon mentioned it, but Gmail app notifications, especially for non-Gmail accounts, got wonky... So I re-enabled Power Genius but turned it off as I stated above, then went through the apps and turned some on that I wanted "suppressed"... Gmail is an enigma here though, if it's management is turned off I had issues with notifications and accounts, and in App Launch it had a warning saying something like that, so I turned it on for that app and it's been good since. I have since just monitored the usage with GSAM's App Sucker and anything high on the battery usage list that I didn't want I turned on the Manage Automatically for that app and it no longer misbehaved. Think I have found the happy medium here.
I still have some issues with the phone, most just annoyances now... not to the level of frustration I was at before though. Still looking at that Pixel 3a XL though... it's in the cart, financing approved, but I just can't seem to pull the trigger yet. lol
acejavelin said:
You don't need to disable the Power Genius app, it can actually do some good...
Click to expand...
Click to collapse
You're right. I made a mistake in thinking that disabling power genie worked, when in reality it was just rebooting my phone that temporarily fixed the problem.
I did a bit of googling into a "ram leak" on the P20 and it was actually because I was using a 3rd party launcher (Nova). The solution was to disable the stock Huawei launcher, and since I did that 2 days ago my free ram has not gone below 1000mb. I've installed another launcher in case Nova mucks up.
But it looks like you've moved onto the 3a now, hopefully it's better than the awful software experience that comes with this phone xD. I definitely won't be buying Huawei in the future.
Ryandos said:
You're right. I made a mistake in thinking that disabling power genie worked, when in reality it was just rebooting my phone that temporarily fixed the problem.
I did a bit of googling into a "ram leak" on the P20 and it was actually because I was using a 3rd party launcher (Nova). The solution was to disable the stock Huawei launcher, and since I did that 2 days ago my free ram has not gone below 1000mb. I've installed another launcher in case Nova mucks up.
But it looks like you've moved onto the 3a now, hopefully it's better than the awful software experience that comes with this phone xD. I definitely won't be buying Huawei in the future.
Click to expand...
Click to collapse
Yeah, I got my Pixel on Monday... Already think it's 10 times better, except the camera. That 2x "optical zoom" was damn nice although the Pixel's pictures seem a better quality even though they take longer to process. For the camera, I'm still giving the edge to the Pixel but I haven't played with it much yet.
All my issues are gone now and battery life is noticeably better. The Huawei will be going up on the local classified ad sites soon, hopefully the market for them isn't completely tanked.
Sent from my Pixel 3a XL using Tapatalk
Your lockscreen issue is solved by deleting the excess wallpapers from the lockscreen. As you cycle into the first one, tap it and...
Any issues you have don't exist for me. Likely because i always first disable/uninstall most major google apps immediately.
Any problems i've noticed don't appear to me as device specific but rather OS related. To me, this thing performs quite well with impressively low battery drain by comparison.