I am quite satisfied by my screen on time but the presence of media server taking up majority of my battery really bugs me. I have a screen on time of 1 hour 40 minutes, and media server is awake in 1 hour 10 minutes of it. I don't know if this problem is sony-specific because when I google media server porblems, most of them are wakelocks. Mine isn't; it doesn't discharge by more than 5 percent overnight. But still, I think I can get more battery life than what I currently have if I get that media server sorted out.
Note: please direct me to some other thread if this question does not belong here or had been asked before. I just have a feeling that this is sony-specific...
I have exactly the same problem on my ZR. No wake lock, but taking battery in the background. It only started to do so a few days ago.
Sent from my C5503 using xda app-developers app
tudork said:
I have exactly the same problem on my ZR. No wake lock, but taking battery in the background. It only started to do so a few days ago.
Sent from my C5503 using xda app-developers app
Click to expand...
Click to collapse
Is there any media files or apps that you recently added before the media server started acting up? I don't know if Titanium Backup is causing this, but I don't want to uninstall yet because I'm planning to move to a custom rom. It just so happens that I noticed the drain after I backup ed my apps with TB...
JRBT24 said:
Is there any media files or apps that you recently added before the media server started acting up? I don't know if Titanium Backup is causing this, but I don't want to uninstall yet because I'm planning to move to a custom rom. It just so happens that I noticed the drain after I backup ed my apps with TB...
Click to expand...
Click to collapse
I did add some music files to my SD card, but I think it was a few days before it started. After some observation, I think it is associated with playing INGRESS (which involves using GPS and moving around). BUt I had been playing Ingress for many months before I noticed the mediaserver battery drain. I have done the following:
- deleted all my media files on my sd card. Erased my sd card using the phone.
- emptied the cache of ALL apps which I thought would be associated in some way with media content.
- reinstalled the Ingress app.
- deleted duplicates of Download folder (just made sure there is only one folder with this name).
- I will check all music file names for special characters such as & and $ and delete those. I will delete all album covers. Only then I will add back music to my sd card.
After I do all this, I will monitor for a few days. I don't use Titanium and I am not rooted. After reading about this issue, I see that it can be connected to a lot of different things, but most people complain about mediaserver keepin the phone awake which it is not doing in my case.
tudork said:
I did add some music files to my SD card, but I think it was a few days before it started. After some observation, I think it is associated with playing INGRESS (which involves using GPS and moving around). BUt I had been playing Ingress for many months before I noticed the mediaserver battery drain. I have done the following:
- deleted all my media files on my sd card. Erased my sd card using the phone.
- emptied the cache of ALL apps which I thought would be associated in some way with media content.
- reinstalled the Ingress app.
- deleted duplicates of Download folder (just made sure there is only one folder with this name).
- I will check all music file names for special characters such as & and $ and delete those. I will delete all album covers. Only then I will add back music to my sd card.
After I do all this, I will monitor for a few days. I don't use Titanium and I am not rooted. After reading about this issue, I see that it can be connected to a lot of different things, but most people complain about mediaserver keepin the phone awake which it is not doing in my case.
Click to expand...
Click to collapse
I got 3:40 of screen on time today mainly because media server just had "35 mins keep awake time", 14 percent usage; which I still think isn't normal. The difference maker as I see it is me playing shorter amount of game today than normal - but I'm skeptic this is the cause
point 1 - That's exactly what I don't want to do yet because I don't want to go through that much hassle (I have a lot of music)
point 2 - I actually did that too, even though I am sourcing from people talking about media server causing "wakelocks"
point 3 - I don't use GPS at all, but I do have some cached maps on google maps. I'll try clearing data and check if it will do anything
point 4 - I did delete all the download folders before, no effect
point 5 - please do report back if doing these stuff removed the friggin media server awake time. Again, my standby time is SUPERB. it's when I use the phone screen on, that the battery drains: very fast at that
EDIT: Maybe we can post this on the Z forums? This problem, as I see it, is isolated on xperia devices due to the fact that I don't see any other forums talking about media server being awake with the screen all the time, because they are mainly talking about wakelocks?
JRBT24 said:
I got 3:40 of screen on time today mainly because media server just had "35 mins keep awake time", 14 percent usage; which I still think isn't normal. The difference maker as I see it is me playing shorter amount of game today than normal - but I'm skeptic this is the cause
point 1 - That's exactly what I don't want to do yet because I don't want to go through that much hassle (I have a lot of music)
point 2 - I actually did that too, even though I am sourcing from people talking about media server causing "wakelocks"
point 3 - I don't use GPS at all, but I do have some cached maps on google maps. I'll try clearing data and check if it will do anything
point 4 - I did delete all the download folders before, no effect
point 5 - please do report back if doing these stuff removed the friggin media server awake time. Again, my standby time is SUPERB. it's when I use the phone screen on, that the battery drains: very fast at that
EDIT: Maybe we can post this on the Z forums? This problem, as I see it, is isolated on xperia devices due to the fact that I don't see any other forums talking about media server being awake with the screen all the time, because they are mainly talking about wakelocks?
Click to expand...
Click to collapse
It will probably be more useful to post this on the Z forums, the ZR and ZL seem to be more niche phones. So, here are my conclusions: I managed to get rid of the mediaserver issue. First I was just playing with my phone to see what is associated with the process being active. It was definitely the game,. Ingress. So I did two things and I don't know which one did the trick: I turned off the gameplay sounds (pretty useless, as you play this game outdoors in public, and you don't want to bother people anyway) and I reinstalled the app. Then I started to play again, and no mediaserver appeared.
Therefore, since our problem is obviously related to some app or some activity we do with our phone while it is on (like you say, my standby battery consumption is very good, just like yours), I suggest monitoring for a few days to see what exactly seems to trigger the mediaserver, and then you can either reinstall the app, or empty whatever media folders associated with it, or turn off sounds if it is a game.
I THINK I FOUND A REMEDY!
Using better battery stats, I checked what was causing my battery drain. It turned out: It was a partial wakelock named Audio_out2 and Audio_out3. with some research through several forums, it is already a long-time bug of android (which annoyingly haven't been fixed for now) with some devices just using the mediaserver even when it's not actually using sound.
The simple fix: Turn off touch sounds and unlock sounds
For some reason, they are the ones who keep our mediaserver "awake" and thus, unnecessarily drains battery because the device somehow thinks it has to use the mediaserver.
Mediaserver still drains the heck out of my battery when I play most games, and I'm not sure if it's already the normal android behavior. What I'm definitely happy about now though, is that I was able to get 4+ hours of screen on time now if I didn't play or play minimally in a day.
Press Thanks if I helped
Same problem here, but I have audio and video files on my SD card.
Is this the problem maybe? I think not ...
I´m testing this trick:
"The simple fix: Turn off touch sounds and unlock sounds"
Had a similar issue. I've tried to cleanup my sd card and internal storage, no difference.
After a little bit of research I found out that the game "Ingress" makes the media server active for many people.
When I deinstallated Ingress --> voilà the media server usage went down to like 20% of the amount it had before. :good:
einfachgaer said:
Had a similar issue. I've tried to cleanup my sd card and internal storage, no difference.
After a little bit of research I found out that the game "Ingress" makes the media server active for many people.
When I deinstallated Ingress --> voilà the media server usage went down to like 20% of the amount it had before. :good:
Click to expand...
Click to collapse
Well, were you playing other games other than Ingress? I mean, did you use your phone for game as much as you usually would when the media server usage went down? I have a strong feeling that it acts up when playing most (but not all) games.
JRBT24 said:
Well, were you playing other games other than Ingress? I mean, did you use your phone for game as much as you usually would when the media server usage went down? I have a strong feeling that it acts up when playing most (but not all) games.
Click to expand...
Click to collapse
Yes I was playing other games in that period of time. After I've deinstalled ingress I played the same amount of the other games but with much less usage of media server.
And even when I wasn't playing the media server was active, now it doesn't.
Sent from my C6503 using xda app-developers app
Might be other games to does the same cuz i still have the issue.
Problem came up not long ago and lately i have installed Dots, Tip Off Basketball and Star Wars Force Collection. Ill see if uninstalling one of these can solve the issue...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
I didnt want to try each one so uninstalled the 3 games. Problem solved. One of these games was my problem
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
---------- Post added at 01:27 PM ---------- Previous post was at 01:26 PM ----------
Now my battery just jumped from 49% to 70% in one split sec.. Weird !!!
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
** I strongly suspect the Star Wars game though...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
iPeck said:
** I strongly suspect the Star Wars game though...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
Click to expand...
Click to collapse
So, playing other games other than those three doesn't ramp up the media server awake time?
Heres a screen of the games on my device, no problem with these... (i changed the icons so dont mind)
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
iPeck said:
Heres a screen of the games on my device, no problem with these... (i changed the icons so dont mind)
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
Click to expand...
Click to collapse
I don't think it's a particular kind of game necessarily, but rather the process being stuck in a loop analysing some random media file within one of the games. I suggest going one by one if people have this kind of patience and either turn off the game sounds, or uninstall and reinstall. I am playing Ingress now and everything is fine, mediaserver does not even appear anymore.
Never happened with these games on my device... Coincidence only ? Not sure bout that...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
Related
Just solved a really annoying battery drain issue. Figured I'd post the results...
I noticed last week that my phone was going through the battery MUCH faster than normal. A check of Settings/About Phone/battery use told me that the "Mediaserver" was using over 35% of my battery, surpassing the phone standby -- which is saying a LOT given what my T-Mo reception is like.
Now, I'm still learning, so when the description says is does something with running apps, I assume that the issue is an app I recently installed, so I remove apps I recently installed or updated. Nope.
I saw another post about a laggy G2 that seemed to also have battery issues. It recommended using Watchdog Lite to see what was happening. So, off to the Android Market.
After installing Watchdog Lite, I saw that the CPU was 0% idle with 75-95% "nice." Well, no idle = battery suckage, so off to see what tasks are using CPU. The initial check didn't show anything -- until I enabled monitoring "Phone Processes." The alerts for the "mediaserver" "linux task" showed that this process was taking every cpu cycle it could. Off to Google.
Did a search on "android mediaserver loop" and found a couple of bugzillas that essentially said that a corrupt media file (pic, movie or sound) could send mediaserverover the edge. So, I started to move *every* picture off the sd card onto my computer's HD.
Knew I was on to something when mediaserver stopped going crazy once usb storage was turned on. So, I moved all the image and movie files off and turned off usb storage. The CPU spun back to100% busy, but slowed back down to about 9o% or more idle.
Now all I have to do is find the bad file or files, and I can add it to the bugzilla.
EDIT: It seems that this has also made the cooliris gallery wake up and start updating again. So anyone seeing that the gallery isn't updating may need to see if their mediaserver linux task is unusually busy. If so, offload as many media files as possible and see whap happens...
Sent from my T-Mobile G2 using Tapatalk
Very useful post. Thanks!
I saw this sucking down battery for me as well while playing around with CM7 nightlies, but never thought too much about it. Good find!
I've noticed this issue with mediaserver too but never managed to find what's causing this.
Thanks for the tips
there might be a difference here but media server from G1 (htc dream) was the music stock music player. it might be different here but thats what it was in the G1
lil-devil said:
there might be a difference here but media server from G1 (htc dream) was the music stock music player. it might be different here but thats what it was in the G1
Click to expand...
Click to collapse
actually the stock music player is /system/app/music.apk on all vanilla android phones.
I believe that music player depend of mediaserver.
I have installed system panel and noticed a 30% cpu usage when I play some music with Cyanogen 7 RC2.
I will try with another Rom to compare the result.
I found my cause for the problem
I got really frustrated with the Galaxy S2 because of this mediaserver issue...
From wat i have researched, I found that once the 'gallery' is opened and closed,
Phone keeps using the cpu 100%.
Phone's back becomes red hot.
The battery drains rapidly in 2-3 hours.
I plug it on to a charger it doesn't charge up
the mediaserver process comes up in the 'battery usage' with 60% usage
Now, I switch off the phone. Boot it up. Charge the phone to 100%. Its all perfect and no heating up too. After 7 hours of usage, no mediaserver process in 'battery usage'.
I went into the gallery once. Browsed some photos. And Closed it.
Now it all started again. I've tried this 3 times now.
And I have no idea wats wrong with the gallery.
Do what I did and either move all the media files off the sd card or drop ". nomedia" files in strategic locations. (Don't forget to look all over the card because they could be in unexpected places.
Sent from my T-Mobile G2 using Tapatalk
could this mediaserver also be caused by lots of Pandora listening?
Mr. Turbofan said:
could this mediaserver also be caused by lots of Pandora listening?
Click to expand...
Click to collapse
It seems to be related to streaming audio also. I'm trying to figure out why since moving to GB my battery is being drained by media server when I never had this issue on Froyo. It only seems to take up the majority of the battery time when I'm listeing to Pandora over Bluetooth during the day.
Very interesting and usefull find, indeed.
Solving the problem lies in the options build.prop
must be changed:
---
media.stagefright.enable-player = true
---
to:
---
media.stagefright.enable-player = false
---
If this option is not in the file, it is necessary to add.
stopservice said:
Solving the problem lies in the options build.prop
must be changed:
---
media.stagefright.enable-player = true
---
to:
---
media.stagefright.enable-player = false
---
If this option is not in the file, it is necessary to add.
Click to expand...
Click to collapse
Don't think that is the cause. Mine is already set to false and still have the problem.
Is there a process we can freeze to stop this.
You really *don't* want to kill this process as it is the cataloger for *both* the music player and the picture gallery. Your best bet is to do something like I did to work around the issue.
Sent from my HTC Desire Z using Tapatalk
I started having the same issue (on Galaxy Note) today. Glad I found this thread in any case.
Once thing I noticed is PowerAmp plays sound files from games if you don't give it a media folder to stick to. I can only assume that it's using the media server to find these based on what someone in this thread said.
So it would seem that the .nomedia file method is definitely the best (to stop game sound files being found).
[Edit:] Oddly the behaviour stopped now. Mediaserver is no longer raping my battery. What do you think of the idea of putting .nomedia in every folder and then removing it from only folders you need (images, video and audio folders)?
You can easily do this by running:
Code:
for i in *; do cp file $i; done
from cli in Android (I think). "file" = <path to .nomedia>
No inherent reason you can't do that...
Sent from my HTC Desire Z using Tapatalk
mediaserver was not a notable issue for me untill 2 days before i installed "sprit fm".... then boom ...... mediaserver just gone mad and taking upto 65% of my battery..... now uninstalling "spirit fm" and will see what happens.
Mediaserver and Arel WARS
Hey all! Glad I found this thread. Got a Samsung Galaxy SII Skyrocket I727 from AT&T. From what I researched mediaserver is part of a standard for DLNA. I am a newb on xda so I cannot post links however search on youtube "Android DLNA MediaServer" and you can get a downlow as to what it is meant for.
Anyways mediaserver gets to be 400+ and sometimes even 500+mb according to Watchdog when playing a GAMEVIL game called Arel WARS. This is the first time I have ever had a problem with mediaserver and ONLY happens when I play Arel WARS. I reboot my phone and see mediaserver at 2.7mb. I start Arel WARS and BAM 100+mb already. After playing for about 20 minutes my phone becomes laggy and the game freezes up. I check Watchdog and it shows 400+mb being used by mediaserver. I then kill Arel WARS and mediaserver is still sucking 400+mb. I try several types of app killers but none can even see the process in order to kill it. I try an app called "reboot" that is supposed to simulate a reboot by killing apps and processes but mediaserver is still sucking the life out of my phone. Bottom line the only way I can kill mediaserver is by rebooting the phone and then its back to 2.7mb and it stays that way ONLY until I start playing Arel WARS. I can launch gallery all day long and media player and mediaserver is good.
Just giving my two cents. I emailed Watchdog dev to see if he can help me out since Watchdog seems to be the only app that can actually see mediaserver and also emailed GAMEVIL to see if they might have a memory leak problem somewhere. I will update when I get word from either.
UPDATE:
I recorded my phones screen to show you mediaserver and it sucking the life out of my phone. There is no way to kill it to my knowledge and the more I play Arel Wars the more it consumes precious ram. Copy this link into your browser to download the video. Its about 10 minutes long and about 18mb.
dl.dropbox.com/u/6778642/Android/Mediaserver_ArelWars.mp4.
You should be able to play it in your browser.
BTW I am still waiting on either GAMEVIL or the dev of Watchdog to hit me up with an email so I'll update if and when I get word.
My phone was getting hot because my Media Server(Media Scanner) process was eating anywhere from 10 to 30 percent of my cpu and battery.
My numerous attempts to disable it were unsuccessful,i deleted over 80 apk files and it was still running,lol.
I did a a temporary fix by placing .nomedia file at the root of my sdcard,and guess what?Its still fckn running!
I gave up and thought that it must be just on my phone,guess what?I just got brand new GS3 for my girl and same thing is happening on her GS3 and she is running stock and never been rooted.
Im trying to disable this Media Scanner from running because from what i read on the internet there is no permanent fix,its ics issue.
Im asking people to take screenshots of this process like i did and post them.Because im sure that there are others out there that have this problem that are not even aware of it,and it contributes to bad battery life and phone getting hot.
Post you screenshots so i can write Google to fix this annoying problem,thanks.
You can take a screenshot by pressing and holding power button and home button simultaneously.
I ended up getting a hyperion extended battery. helps alot!
Media server is not a scanner
.......it runs things like music. Video etc
Sent from my SPH-L710 using Tapatalk 2
freecharlesmanson said:
Media server is not a scanner
.......it runs things like music. Video etc
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Media Server is the name of the process for ics Media Scanner.
Not many replies i guess people dont care much about this thing running constantly and eating battery when it should not be running at all.Threads all over internet on this issue but not here,guess im unlucky with my two phones,while my S2 runs normal.
loveshinesthru said:
I ended up getting a hyperion extended battery. helps alot!
Click to expand...
Click to collapse
Flash Trinity Beta 4 kernel.I had about 4-5 hours screentime,now i have 5-6½ hours and zero lag.This is the best thing you can do for your phone.
lviv73 said:
Media Server is the name of the process for ics Media Scanner.
Not many replies i guess people dont care much about this thing running constantly and eating battery when it should not be running at all.Threads all over internet on this issue but not here,guess im unlucky with my two phones,while my S2 runs normal.
Click to expand...
Click to collapse
If you say so.. .........but uh I'm pretty sure I've always been able to track the direct correlation of it using cpu time to my music habits. And the CPU time of my music player, etc or Bluetooth audio activity. Not that I run ics any more. ...its old hat
Sent from my SPH-L710 using Tapatalk 2
freecharlesmanson said:
If you say so.. .........but uh I'm pretty sure I've always been able to track the direct correlation of it using cpu time to my music habits. And the CPU time of my music player, etc or Bluetooth audio activity. Not that I run ics any more. ...its old hat
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
i never run anything that plays music or bluetooth and mine is always running. I text, play words with friends, draw something, and use craigslist. thats about it. My husbands phone lasts longer than mine did when I was using the reg battery.
lviv73 said:
My phone was getting hot because my Media Server(Media Scanner) process was eating anywhere from 10 to 30 percent of my cpu and battery.
My numerous attempts to disable it were unsuccessful,i deleted over 80 apk files and it was still running,lol.
I did a a temporary fix by placing .nomedia file at the root of my sdcard,and guess what?Its still fckn running!
I gave up and thought that it must be just on my phone,guess what?I just got brand new GS3 for my girl and same thing is happening on her GS3 and she is running stock and never been rooted.
Im trying to disable this Media Scanner from running because from what i read on the internet there is no permanent fix,its ics issue.
Im asking people to take screenshots of this process like i did and post them.Because im sure that there are others out there that have this problem that are not even aware of it,and it contributes to bad battery life and phone getting hot.
Post you screenshots so i can write Google to fix this annoying problem,thanks.
You can take a screenshot by pressing and holding power button and home button simultaneously.
Click to expand...
Click to collapse
Not sure but my battery graph with those green icons is blasphemy!
Sent from my SPH-L710 using xda premium
I'm having the same issue running AOKP JB with the Jb koonst something or other kernel and i have to go in and kill the service everytime I boot my phone up..... After that it's ways fine... Have you found a solution just yet?
Sent from my rooted, suited, and booted SGSIII livin the dual-core life, know dat
lviv73 said:
Media Server is the name of the process for ics Media Scanner.
Not many replies i guess people dont care much about this thing running constantly and eating battery when it should not be running at all.Threads all over internet on this issue but not here,guess im unlucky with my two phones,while my S2 runs normal.
Click to expand...
Click to collapse
Just checked my phone and the 42 minutes of stayawake time listed on mediaserver correlates to the amount of time I listened to podcasts today. My phone is sitting at 74 % battery left after 8h17m on. That's in a crappy coverage area. No issues with mediaserver here. Running Stock ICS, rooted, stock battery, I've done nothing to kill or freeze any apps.
On the other hand, I don't use the stock media players. I use Poweramp for music and BeyondPod for podcasts. They both seem to use Mediascanner for a backend.
i have Allshare, Media Hub, and Maps, constantly running and i don't even use it and GPS, etc.. are all off.
to me, Android manages apps poorly, yet i've read app management is good for apps that are idle.. if it's so good why is battery life so poor. the problem is they make apps launch faster by having them "saved" in background but to me that still use resources.. I rather the apps take a second of two to load (by killing them when not used) rather than constantly chewing battery by having stuff cached/background running. despite the CPU going into "deep sleep" it manages to chew 7-10% battery life overnight just sitting idle. the only solution is to root and hack all the $#*s out.
i hate to compare WebOS with Andriod but on my Webos tablet it can stay on for a week or two with a full charge (with wifi on) it barely uses any battery when idle.
strongsteve said:
Not sure but my battery graph with those green icons is blasphemy!
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
+1
Sent from my SPH-L710
tony45x220 said:
I'm having the same issue running AOKP JB with the Jb koonst something or other kernel and i have to go in and kill the service everytime I boot my phone up..... After that it's ways fine... Have you found a solution just yet?
Sent from my rooted, suited, and booted SGSIII livin the dual-core life, know dat
Click to expand...
Click to collapse
No,there is only a temporary solution.Just google "ICS Madia Scanner" and you will find that people are having problem with this on just about every phone.
Media Scanner(Media Server service) should only use 2-4% of your battery-thats normal.But if its using 10% or 20% thats not normal and your phone will get hot.
Mrdia Scanner should not be running at all,it doesnt run at all on my Epic 4G and Epic Touch.It should only run fot a minute or two when you reboot the phone or add/delete files.Dont take my word for it just google the issue.
It has something to do with ics not liking certain media files so it keeps scanning them over and over.
freecharlesmanson said:
If you say so.. .........but uh I'm pretty sure I've always been able to track the direct correlation of it using cpu time to my music habits. And the CPU time of my music player, etc or Bluetooth audio activity. Not that I run ics any more. ...its old hat
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I think(not sure) that this problem was fixed in JB release.
tft said:
i have Allshare, Media Hub, and Maps, constantly running and i don't even use it and GPS, etc.. are all off.
to me, Android manages apps poorly, yet i've read app management is good for apps that are idle.. if it's so good why is battery life so poor. the problem is they make apps launch faster by having them "saved" in background but to me that still use resources.. I rather the apps take a second of two to load (by killing them when not used) rather than constantly chewing battery by having stuff cached/background running. despite the CPU going into "deep sleep" it manages to chew 7-10% battery life overnight just sitting idle. the only solution is to root and hack all the $#*s out.
i hate to compare WebOS with Andriod but on my Webos tablet it can stay on for a week or two with a full charge (with wifi on) it barely uses any battery when idle.
Click to expand...
Click to collapse
Just use 7zip and remove every app you dont use then flash your custom rom.I have GS2 that is not used as a phone so i deleted even phone and mms apk files and turned it into Galaxy S Media Player.
poit said:
Just checked my phone and the 42 minutes of stayawake time listed on mediaserver correlates to the amount of time I listened to podcasts today. My phone is sitting at 74 % battery left after 8h17m on. That's in a crappy coverage area. No issues with mediaserver here. Running Stock ICS, rooted, stock battery, I've done nothing to kill or freeze any apps.
On the other hand, I don't use the stock media players. I use Poweramp for music and BeyondPod for podcasts. They both seem to use Mediascanner for a backend.
Click to expand...
Click to collapse
PowerAmp uses its own media scanner so it should not be running at all.Its a good player but i like Neutron better due to 64bit sound.
Hello all,
I have a question about an issue that has been plaguing my phone for about the last month. I have tried numerous ROMs, kernels and basebands (which shouldn't make a difference but it's worth a try). Basically what is happening is when I have a clean install of a ROM with nothing loaded into storage, my phone is snappy and works perfectly, like butter, no matter the ROM or kernel. As soon as I load music on to my phone, the phone slows down dramatically. I start having "xxx is not responding" messages from every app I load up and the phone slows down to a crawl. I have tried many ROMs and kernels. If I install a new ROM without wiping my internal storage, the phone boots up with the newly loaded ROM slowly and can barely make it through the Android setup without crashing. If I wipe the internal storage and load a new ROM it works perfectly and snappy.
Does anyone know of a reason why this would happen? I am surprised that some music files could slow down the phone so much. Any thoughts are appreciated. I haven't tried going back to stock, but that is my next step. Somehow I think it would still slow down. I got the phone with ICS on it and immediately rooted and loaded JB ROMs on it. It didn't really start at first until I loaded my 10GB music collection on there. Any ideas?
Thanks!
Media storage scans new media and logs it into the appropriate apps.
Even with what I drop on (~4 gigs of music) it can lag for a few hours even.
Without you doing further testing and diagnosis I would guess that is your problem.
Settings>Battery should show media scanner high on the list.
Have you tried to let it settle (build up caches and read the files) for a day?
Yes, I was on a trip last week and let it sit for three days. I figured as much for the media scans, so I let it sit for a day. I don't see media scanner anywhere on my battery list. Just mediaserver, as I try to listen to the music that is on the phone as much as I can without locking anything up. I have:
Screen
Phone Idle
Mediaserver
Cell standby
Winamp
FBTouch
Android OS
Chrome
Android System
Voice Calls
jlink38 said:
Yes, I was on a trip last week and let it sit for three days. I figured as much for the media scans, so I let it sit for a day. I don't see media scanner anywhere on my battery list. Just mediaserver, as I try to listen to the music that is on the phone as much as I can without locking anything up. I have:
Screen
Phone Idle
Mediaserver
Cell standby
Winamp
FBTouch
Android OS
Chrome
Android System
Voice Calls
Click to expand...
Click to collapse
Maybe you need to defragment (I kid, I kid)
danielsaenz said:
Maybe you need to defragment (I kid, I kid)
Click to expand...
Click to collapse
Sometimes I wish I could.
Figured it out. I re encoded my music to VBR and copied it to my phone and all is well!
Sent from my Galaxy Nexus using Tapatalk 2
Hi, sorry for my eng., I have the same problem as you. But I think it's not only music. Tested read\write speed on clean stock, it's awesome. Then filled storage with music (6 gigs) and movies (6 gigs) - write speed decreased from 12 MB\s to 0,7 MB/s!!! WTF?! Then I deleted all music and movies (+12 Gb free) and ran tests again - read\write speed still low! Forever Gone (Nexus 7 memory lag's solution) doesn't helped.
Any ideas?
Well, reported to google about this problem. Others should look for an Issue 39154 on google code threads and join discussion
Sent from my Galaxy Nexus using xda app-developers app
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!
Since writing this mu phone e has lost 10% battery. I have tried all the other things on forums even deleted data and red own loaded data onto my phone and removed the sd card as apparently that was causing it. I cannot seem to stop the media server as it drains upto 40% battery even when I am not on my phone.
If you're referring to the processes called:
- Smartshare.DNLA
- Smartshare.MediaServer
- Smartshare.Provider
they can be disabled, I've disabled mine. A couple took a few tries but it's doable (not rooted). Haven't seen any side effects in my personal daily use.. But I don't share files from my phone.
(tired to provide a screenshot but I don't have enough posts)
Sent from my LG-H812 using Tapatalk
Fixed
I fixed it by updating the software which I feel stupid for not first trying still it was a bit weird that it was happening. Thanks for helping