[Q] Mediaserver drain... with no media - Nexus 7 Q&A, Help & Troubleshooting

So I got an awesome 32gb nexus for Christmas! I love it, and installed a custom kernel and rooted it already on 4.2.1.. I'm using the latest version of m-kernel. I noticed in the battery stats that mediaserver is using quite a bit of battery, usually 7-13%. Is this normal for the nexus? I researched this and saw that it can be caused by w corrupted media file, but I don't have any music or videos on the tablet so that doesn't make much sense... What do you guys think?

From what I understand its media scanning through your sdcard for media files. If you have a lot of files (nandroid backups) it takes along time to complete. You can force close media storage when its running usually after boot.

I get mediaserver showing high usage whenever I play games or watch movies. Based on that I think it has something to do with sound playing.
Sent from my Nexus 7 using xda premium

jefferson9 said:
From what I understand its media scanning through your sdcard for media files. If you have a lot of files (nandroid backups) it takes along time to complete. You can force close media storage when its running usually after boot.
Click to expand...
Click to collapse
It doesn't let me force close it.... I don't have any nandroid files or medeia, so I'm confused..

I think all these posts about scaning files are wrong:
http://code.google.com/p/android/issues/detail?id=37298
and only causing confusion.
The media server is the process that generally handles playback of audio and video. This is the one listed in the screenshots above as "Media server", "Mediaserver" and "Serveur multimedia".
Click to expand...
Click to collapse
Tought that poster with email @google obviously can be laying.

Lillz said:
So I got an awesome 32gb nexus for Christmas! I love it, and installed a custom kernel and rooted it already on 4.2.1.. I'm using the latest version of m-kernel. I noticed in the battery stats that mediaserver is using quite a bit of battery, usually 7-13%. Is this normal for the nexus? I researched this and saw that it can be caused by w corrupted media file, but I don't have any music or videos on the tablet so that doesn't make much sense... What do you guys think?
Click to expand...
Click to collapse
It's normal.
Turn off
Touch Sounds
Screen Lock sound
Notifications to silent
Keyboard clicks off
And you will slow the usage of mediaserver to a craw. It's really not a huge deal and not a big battery drain. Any time your device plays audio mediaserver usage is affected.

Read up on using a ".nomedia" file. Creating these in directories will tell the Mediascanner not to scan in that directory. Placing one in your usbstorage directory would probably cut Mediascanners usage in half.

styckx said:
It's normal.
Turn off
Touch Sounds
Screen Lock sound
Notifications to silent
Keyboard clicks off
And you will slow the usage of mediaserver to a craw. It's really not a huge deal and not a big battery drain. Any time your device plays audio mediaserver usage is affected.
Click to expand...
Click to collapse
My MediaServer doesn't even show on my Nexus 7

When i think about it i started using cover and disabled lockscreen when my issue started so i will try to use lockscreen again (even tough it is a hustle).

So in my cause it seams to be cause by My little pony from gameloft (and maybe with conjunction with no lock screen). Anyway i lost ma game save after game upgraded to the new version so i won't be playing it (again) and after uninstall it seam OK.

Related

Listening to music drains battery quite fast

Hi,
I recently came across a problem when listening to music on the DHD on stock rom and the newest OTA. When not listening to music I easily get two days on a single charge. When listening the battery is out of juice in around 11 hours, thats way too fast for me... I found out that a process called "mediaserver" is using around 50% of my battery when listening to music for more than 6 hours. HTC Music only takes around 2%. Is that normal, can the mediaserver be stopped? Already killed all of the media applications and cleared their data, also formated the SD card and put all my music back on. There are 1400 songs on that card, all in mp3 or m4a format, nothing else... 11h is a joke compared to the iPod Touch I had before...
Best regards
Oliver
I would just like to say that an ipod touch does not have cellular processes and hardware to drain the battery further.
Just saying that the comparison made may not be the best.
Sent from my Desire HD
Yes, I know that is a bad comparison, but I dont know why the music is draining my battery. The mediaserver seems to be the cause of the problem, but I dont know what it is and what it does. I also dont know how to solve the issue...
Best regards
Oliver
Try using a different music player. The one that is in the rom supports DLNA so it is possible that it tries to share your music with other devices. I have used it to stream music from my pc to my phone, but probably medaserver is the process that streams music from the phone.
Sent from my Desire HD using XDA App
Could it possible be that mediaserver keeps running even when it's not supposed to? I would understand if the mediaserver was running when connected to WiFi and listening to music.
But what do I know? I'm keep using spotify instead of using the built-in player ^^
Sent from my Desire HD using XDA App
Thanks for the replies.
Converted all tracks to mp3 today, so there are no m4a in my playlists anymore. Also renamed some songs with lots of characters, just to make sure everything is fine. Will see if it makes a difference. Are there any recommendations for alternative music players on the DHD?
Regards
Oliver
There is player pro and stock player, rest seem to drain too much battery.
Sent from my Desire HD using XDA App
try Music Mod. i've been using it because the stock music player widget doesn't have a 'previous track' button, and so far it seems to be a better player.
Hi,
tried a different music player yesterday. Sadly, the mediaserver process still needs around 50% of my battery... I really dont know what is causing that problem. Could anyone with a lot of music on the DHD test how much battery the mediaserver needs after playing music for a few hours without pause? Maybe it is normal...
Also, I've read that mediaserver is indexing the sd-card. Maybe there is a corrupt file which causes the problem. How can I narrow it down on specific folders. Can I exclude some folders from indexing?
Best regards
Oliver
Have you tried to listen to your music while phone is in airplane mode?
Sent from my Desire HD using XDA App
Not yet, will try that. Thanks for the hint.
What if the battery lasts longer then, where lies the problem?
Regards
Sadly, activating the flight mode doesnt help. Still drains the battery as much as before...
Any other hints, there must be a solution... A friend of mine tested playback on his DHD, the mediaserver only needs around 10% after a few hours of playback.
I used mine a lots today playing music....a hour and half playing over bluetooth to the car stereo and the way to work then i would say about 12 till 1.30 before dinner and then 3 till about 5.30 play thou exturnal speckers at work...
with a fully charged battery at 04.30 when i left to work till 18.00 when i got to the bed and breakfast and i was down to 68 present battery.
Hi,
thats impressive! Not possible with my DHD. May I ask you how much music you have on your sd-card, any which file types? I feel that there is a corrupted file somewhere in my card, but I dont know how to find it...
Using the hidden battery info tool (*#*#4636#*#*) I found out that the DHD was awake about 80% of the time. That means it doesn't get into sleep mode anymore when listening to music. Also, the back of the phone is getting hotter the longer I listen. Maybe that is the problem...
Mediaserver is a process that is playing back media on android. This includes sound and hardware accelerated video playback. It doesn't actually have anything to do with the internet, its name implies that it "serves media" to Android, to the user, to you.
Kill the mediaserver and you also kill the sound.
Also, it's normal for a phone to not go to sleep when it's playing audio. Something has to feed the mp3 data to the decoder right? In general, phones are not the best for listening to audio since they have to be awake to play it and keeping them awake wastes battery. Keep in mind that an iPod is a music player and has been designed as such so it probably supports a hardware mode to play music where the main processor is not required and can sleep (and not waste battery).
got about 10 albums all mp3, which rom are you using , some manage better then others.
Power management / battery better i mean..

Files can't be played (so far music and photos)!!! & Rapid decrease in battery!

Hi, ever since yesterday i been having a strange little problem; All my music files and photo/Videos are gone from my music player and gallery apps!.. I check the SD cards (both internal and external) all the content is still there except it wont load it! even when trying to access it with a different app (such as Play by AOL, Amazon MP3 player, Winamp, etc)... also when trying to switch my ringtone or notification sound it clashes! I tried rebooting the phone, downloading apps to re-scan my SD card and so far no luck...
another strange thing that stated happening yesterday also (I think it was around the same time, it sure seem like it) my phone started draining the battery really quickly. it gave me about 5 hours of life from 70% to 0%. this is waaay to quick! it usually gives me at least twice if not triple this!...
I have also notice that phone starts getting really warm when trying to load the music and gallery app...
has this happen to anyone else? or any suggestions? would really appreciate some helps... thanks...
Did rebooting help anything? I had a weird thing just the other day where all music and my ringtone were playing at really high speed. Rebooting fixed it, though I wonder what the issue was. There are programs that log cpu use by apps and things. For the battery issue I'd try one of those or go into your Battery Monitor in settings and see if you spot any apps that are eating all your battery. System Panel also works. It will keep a week long log of your cpu usage among other things.
You do anything else right before this?
Install any apps/p-roms anything like that?
Try a battery pull?
Try watchdog for a cpu monitor, it can notify you when an app is using excessive cpu.
Sent from my MB860 using Tapatalk
no, rebooting didn't help. I tried it multiple times. Tried pulling the battery leaving off for a couple of hours. Nothing
OK, i tried looking at the battery manager and it said that Media was taking up 35% of it!!! I tried force closing it. And after that some of my music became playable. But still it was very sluggish.
Unfortunately I did update alot of apps the previous day. So it may be attribute to one of them... but my phone is pretty much stock. Only with side loading enable... so no custom roms.
Thanks for your feedback, ill keep trying a see what happens and of course post my results for future reference..
PS my battery drain at an astonishing rate!; from 80% to 0% in less about 3hrs...

Get Maximum Battery Out of Stock JellyBean ROM (plus fix Media draining much battery)

Personally have been experiencing HUGE challenges regarding battery life of JB. and i have searched and searched, complained and complained in many xda threads. But in the end, i think this method is the best I figured out and it works pretty well!
I discovered the main cause of battery drain on JB is the 'Media Scanner'. I dont know exactly what the issue is, but it DRAINS your battery! I thought it was a corrupt file in my phone that was causing Media scanner to get stuck and scan for loong periods instead of 2 - 3 minutes which it should take regularly. (btw media scanner is launched every time you restart your mobo or make changes to your media files as far as i know). I formatted both my Internal and External SDs but it still didnt help. Now use the following Steps below to solve these issues.
1. Download Media scanner ROOT.
This app - https://play.google.com/store/apps/details?id=com.addz.mediascannerroot&hl=en
2. Download Media scanner also
This one - https://play.google.com/store/apps/details?id=com.addz.mediascanner
3. Always set 'Power saving' option on phone on. I can assure you that you'll hardly notice the difference in performance when you turn on power saving.
Having said that, if you want more brightness, you can increase from toggle or just tick auto by the side of brightness level settings right there in your notification bar.
Also, if you need to game or use heavy app that require alot of system resources, just turn off power saving.(Because power saving slows down your processors Maximum state from 1200MHz or 1.2GHz to 800MHz.)
How to use the apps mentioned in numbers 1 and 2.
First one is to stop it (Media scanner) from ever scanning. So open that one with ROOT at the end of the name (Grant SU prompt), then hit disable media scanner button wait for it to work. Just one or two seconds.
Sometimes you might open your gallery and notice a file is missing or you might not see even a single picture or vid in it.
ONLY NOW! can you open the second app dat DOESN'T contain ROOT at the end of its name.
Just open it and then hit the back button to close. thats all!
What this does if to call the media scanner you disabled earlier with first app so it can scan your SD Cards and your gallery will display your files.
You can read the application descriptions on Play store for better understanding.
If you notice that these steps still doesn't help you with your battery drain issue, try disabling Motions and Animations in debugging options too. Both in settings. Then test battery again and see how good it works.
IMPORTANT: You also want to change PhilZ recovery Backup format from .dup to .tar as this might be the reason why Media scanner goes crazy. How to - Reboot into recovery, select Backup and restore, then select 'Choose backup format', then hit tar. Now delete all previous backups done in .dup format and then hit 'Free Unused backup Data' or go into phone, delete the folders of the backups done in .dup and then delete evreything in blobs folder. Now do a fresh Nandroid which will now be in .tar format. ( Always Have a Nandroid backup on your phone , it can come in handy! )
REMEMBER: What works for one person, might not exactly work for everyone. We don't have 100% same hardware. . So take it easy while throwing your shots at me. I just decided to share this.
I hope this helps some solve their battery issue.
Please hit thanks if this helps you.
Attached screenshots of my test from steps in first post.
ROM! is The SWEET SMOOTH NEAT ROM LITE v4.0
Here are the details of the screenshots i attached to this post, just incase you can't go through all of them.
1. Battery at 97%.
98% (3:05:20) deep sleep after 3h:08m:49s (total time on batt3)
2. Battery at 95%
97% (5:58:26) deep sleep after 6h:07m:18s (total time on batt3)
Had major whatsapp activity in the backgroud (I always have )
3. Battery at 70% - 12:59pm
Screen time - 2h 4m 10s
4. Battery at 50% - 2:30pm
Screen time - 3h 17m 38s
5. Battery at 40% - 3:06pm
Screen time - 3h 53m 12s
6. Battery at 30% - 3:48pm
Screen time - 4h 33m 27s
7. Battery at 20% - 4:27pm
Screen time - 5h 12m 20s
8. Battery at 10% - 5:03pm
Screen time - 5h 48m 21s
9. Battery at 1% - 5:31pm
Screen time - 6h 15m 19s
Also to achieve this, i had all bloatware frozen (full list in my S2 Facebook group - Link in my signature)
Turned Off Sync, and motion (really dont know if this affected result since i guess you need to use the motion,
for it to use up your battery).
Anyways, having said all these, i had running in background, facebook messenger, whatsapp, email pushing hourly,
Instagram. Did some surfing using Opera mini from time to time, Watched Videos... and some other stuff i cant remember of course.
The fact that Power Saving does not slow down the phone like older builds is strange.
I don't even know if it works that well yet.
I mean, I used Power Saving on my friends S3 and the phone got really slow.
stanley08 said:
Personally have been experiencing HUGE challenges regarding battery life of JB. and i have searched and searched, complained and complained in many xda threads. But in the end, i think this method is the best I figured out and it works pretty well!
I discovered the main cause of battery drain on JB is the 'Media Scanner'. I dont know exactly what the issue is, but it DRAINS your battery! I thought it was a corrupt file in my phone that was causing Media scanner to get stuck and scan for loong periods instead of 2 - 3 minutes which it should take regularly. (btw media scanner is launched every time you restart your mobo or make changes to your media files as far as i know). I formatted both my Internal and External SDs but it still didnt help. Now use the following Steps below to solve these issues.
1. Download Media scanner ROOT.
This app - https://play.google.com/store/apps/details?id=com.addz.mediascannerroot&hl=en
2. Download Media scanner also
This one - https://play.google.com/store/apps/details?id=com.addz.mediascanner
3. Always set 'Power saving' option on phone on. I can assure you that you'll hardly notice the difference in performance when you turn on power saving.
Having said that, if you want more brightness, you can increase from toggle or just tick auto by the side of brightness level settings right there in your notification bar.
Also, if you need to game or use heavy app that require alot of system resources, just turn off power saving.(Because power saving slows down your processors Maximum state from 1200MHz or 1.2GHz to 800MHz.)
How to use the apps mentioned in numbers 1 and 2.
First one is to stop it (Media scanner) from ever scanning. So open that one with ROOT at the end of the name (Grant SU prompt), then hit disable media scanner button wait for it to work. Just one or two seconds.
Sometimes you might open your gallery and notice a file is missing or you might not see even a single picture or vid in it.
ONLY NOW! can you open the second app dat DOESN'T contain ROOT at the end of its name.
Just open it and then hit the back button to close. thats all!
What this does if to call the media scanner you disabled earlier with first app so it can scan your SD Cards and your gallery will display your files.
You can read the application descriptions on Play store for better understanding.
If you notice that these steps still doesn't help you with your battery drain issue, try disabling Motions and Animations in debugging options too. Both in settings. Then test battery again and see how good it works.
REMEMBER: What works for one person, might not exactly work for everyone. We don't have 100% same hardware. .So take it easy while throwing your shots at me. I just decided to share this.
I hope this helps some solve their battery issue.
Click to expand...
Click to collapse
Any idea why the set back bottom becomes hot when I use 3G ? Need a solution desperately
Sent from my GT-I9300 using xda app-developers app
Conceptunlimited said:
Any idea why the set back bottom becomes hot when I use 3G ? Need a solution desperately
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Its normal for your mobile to get hot using 3G. But wat you can do right now is use lowest brightness possible. And flashing a different modem can solve. Did in ICS.
Sent from my GT-I9100 using xda premium.
Please hit thanks if I helped you.
MaKTaiL said:
The fact that Power Saving does not slow down the phone like older builds is strange.
I don't even know if it works that well yet.
I mean, I used Power Saving on my friends S3 and the phone got really slow.
Click to expand...
Click to collapse
Amazes me too... But what can I say?! More for us! Lol.
Sent from my GT-I9100 using xda premium.
Please hit thanks if I helped you.
MaKTaiL said:
The fact that Power Saving does not slow down the phone like older builds is strange.
I don't even know if it works that well yet.
I mean, I used Power Saving on my friends S3 and the phone got really slow.
Click to expand...
Click to collapse
Yup, when i first tried my friend S3 i was amazed at how slow it got if you turned on this option, doesn't happen in s2 JB which is strange, however i will try this 3 things to see if battery life does increase.
Driss97 said:
Yup, when i first tried my friend S3 i was amazed at how slow it got if you turned on this option, doesn't happen in s2 JB which is strange, however i will try this 3 things to see if battery life does increase.
Click to expand...
Click to collapse
Yh. Power Saving on ICS was so laggy too!
up.
stanley08 said:
up.
Click to expand...
Click to collapse
Wow, really? Upping your own thread which contains, with all due respect, nothing new anyway?
Pfeffernuss said:
Wow, really? Upping your own thread which contains, with all due respect, nothing new anyway?
Click to expand...
Click to collapse
It happens! And yh, i edited post 1 and 2.
I don't know why you guys have this media scanner problem. My battery life with LSJ (NeatROM Lite) is the best I have ever seen on SGS2, (best screen-on time + call time, and it sleeps like a baby) and media scanner isn't showing in BBS, at least not frequently. Maybe you all are using .dup format for CWM backups? It's the default on Philz kernel (at least it was), but I changed that in recovery options to .tar.
pilgrim011 said:
I don't know why you guys have this media scanner problem. My battery life with LSJ (NeatROM Lite) is the best I have ever seen on SGS2, (best screen-on time + call time, and it sleeps like a baby) and media scanner isn't showing in BBS, at least not frequently. Maybe you all are using .dup format for CWM backups? It's the default on Philz kernel (at least it was), but I changed that in recovery options to .tar.
Click to expand...
Click to collapse
Pilgrim bro, you have a very good point there bro. Maybe i should look into this and change my recovery option to tar also... But anyways, the steps in the first post fixes the issue.
Is it possible to use voltage control app to limit max processor signal to 800mhz, and save more battery?
Not sure what people are complaining about?
I've stripped alot, and i mean alot of APK's from the system folder. Had around 6 hours screen time, and around 1 day 3 hours uptime on first cycle.
No wakelocks, nothing. Best ROM i've used in a long time!
After disabling media scanner my music player and video player doesnt show any files.. and the ringtones are set to default samsung tones instead of what i hav set..
any solution for that ???/
superleeds27 said:
Not sure what people are complaining about?
I've stripped alot, and i mean alot of APK's from the system folder. Had around 6 hours screen time, and around 1 day 3 hours uptime on first cycle.
No wakelocks, nothing. Best ROM i've used in a long time!
Click to expand...
Click to collapse
+1. What is the most important thing - disable Google Now, change dup to tar, delete backups created in dup (they are causing media scanners to go wild), disable motion, disable smart stay and that's it, more or less.
rocky183ya said:
After disabling media scanner my music player and video player doesnt show any files.. and the ringtones are set to default samsung tones instead of what i hav set..
any solution for that ???/
Click to expand...
Click to collapse
Just pop open the app named Rescan Media ROOT. wait like ten seconds after opening, then hit Disable media scanner. hit back button once to close app. And ur stuffs will be back in place.
adrian13th said:
Is it possible to use voltage control app to limit max processor signal to 800mhz, and save more battery?
Click to expand...
Click to collapse
Lol bro. Take it easy and remember its just a phone.
Conceptunlimited said:
Any idea why the set back bottom becomes hot when I use 3G ? Need a solution desperately
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I solved this by flashing XXKH3 modem in recovery mode (leaving RIL unchanged), using Philz Kernel 3.70 but I have GT-I9100.

MUST, KILL, MEDIASERVER!! /angry face

I have done a ton of reading about this mediaserver process, but nobody seems to have a definitive fix.. (.nomedia file etc etc)
It is ALWAYS greater than my "google play music" app usage or "poweramp" when I play music and sometimes it goes rampant and is the highest usage... (see pic)
I know the phone up time is pretty good for that charge level, but the killer is I only listened to music for about half an hour..
It just grinds my gears that this relatively unknown process is all but useless to my needs (poweramp has it's own media library), but cant be stopped..
Is anybody able to shed some light on how to stop this process, even if it is a temp disable while poweramp is running or something?
Anyone else sick of mediaserver feel free to chime in..
Oh, and to make matters worse, my friends Galaxy SIII can stream BT music all day long and mediaserver uses about 3%...
Both his phone and my phone seem to have the same "keep awake" time, but his uses almost no battery.. What gives?
My N4 is stock 4.2.1 rooted and i have no files on it apart from one album in the music folder, no google music sync, no ringtones, no pics.. Nothing..
I had the exact same problem on my Nexus S too..
http://forum.xda-developers.com/showthread.php?t=980575
It seems reasonable that corrupted media files is the cause. The phone might have scanned the damn file(s) over and over.
This might help.
https://play.google.com/store/apps/...SwxLDEsImNvbS5hZGR6Lm1lZGlhc2Nhbm5lcnJvb3QiXQ
Edit: I also suggest changing the music player.
Try Apollo
http://forum.xda-developers.com/attachment.php?attachmentid=1227099&d=1343478747
This (slightly outdated) version works better and less buggy than the one on Google Play.
Less features, less bugs.
I have the same worry, I think it uses too much juice for about 30 minutes of music. I use the default Google play music app though. Hopefully someone can help
Sent from my Nexus 4 using xda premium
1) "Mediaserver" is allegedly using up a huge amount of battery
2) Your battery's at 39% after 29 hours
...these two things don't work together.
Here's what's probably happening: Android is misinterpreting something as being related to mediaserver alone when in fact it's only partially related or even unrelated altogether. This is probably caused by an app you've installed, but could just as easily be an actual bug causing Android is assigning too high a percentage to a small amount of real usage, that's all it is. In any case, if your battery has lasted 29 hours, you're not suffering from any kind of "battery-drain" condition.
IIRC, in Android the ability to request music playback is separated from the ability to actually play music for the purpose of allowing music to be automatically muted or have the volume reduced under certain circumstances (phone calls, voice navigation prompts, etc) and probably various other reasons people smarter than me would understand. This generic process that plays audio is called "media server". When your music player of choice plays music, it's probably outputting the audio via mediaserver for compatibility and usability reasons - so you see "Google Play Music" and "PowerAMP" down at a tiny percentage because they're doing very little to speak of as applications, while mediaserver is running continuously whenever audio is playing.
When an app uses a service, or a service uses an app, or a service uses another service, the "blame" for battery consumption often goes to the wrong place in this way. For example, you might also have "Android OS" being blamed for "Google Play Music" using wifi to stream music, and various other perplexing scenarios. You might have "Android System" at 50% battery usage when in fact Android by itself is doing very little - it's the things that work through "Android System" that are actually responsible.
Another good example is MX Player, which IIRC uses mediaserver in order to provide hardware decoding, but is still really the app to blame for that video needing to be decoded in the first place. Etc etc etc, bla bla bla.
What's your screen-on time? I'm guessing around 1.5 to 2.5 hours, right? You're doing fine. Worry less about statistics and more about observable reality.
TL;DR: Sh!t fewer bricks.
You know i got the exact same thing as you have except mine is "google service." In a way I'm kind of disappointed with this. I expected a lot better quality from Google. Especially when these things are running on stock straight from Google.
nawoa said:
1) "Mediaserver" is allegedly using up a huge amount of battery
2) Your battery's at 39% after 29 hours
...these two things don't work together.
Click to expand...
Click to collapse
Thanks for the reply, and the information, but I still think something is not right... As I said before, ignore the long battery life as I have heaps of stuff turned off to try and investigate this bug..
I have previously played music all day over BT and had about 30% battery drain (70% left) which was about 60% mediaserver and 40% google play music.. This is perfectly fine for 5 or 6 hours of music playback... Google play music only.
However on this particular day for some reason I have 13% drain for 30 mins (21% of the 61% used) .. Something is not right.. I had not played music for the entire 28 hour period and mediaserver was nowhere to be seen in the usage stats, and then drove home with BT audio on, and BAM it's number one.. Using PowerAMP..
Perhaps the problem is with PowerAMP and how it handles the service?
Cheers, Tai
Bit of an update,
I ran the MP3 checker utility and found two corrupted, one of which was my ringtone!
I have since run the phone for two days and the mediaserver process has behaved itself and is just higher than the google play music app..
I still think that this needs to be fixed somehow, it shouldn't go pear shaped because one file is not 100%..
I got 2 days 10 hours on the last charge with over 1 hour of screen time and a few calls, dozens of sms's and emails, and music over bluetooth to and from work each day (3 trips)
Gotta be happy with that..
All right. Quick consideration. On my S2 there is a somewhat mediaserver that kind of drains the battery. The cause of this was the "sound when pressing" and "vibrate on press" (sry if translate isn't accurate) on sound settings.
In addition to that, make sure all vibrate and/or sound pressings on keyboards are disabled too.
Hope it helps.
Enviado desde mi Nexus 4 usando Tapatalk 2
Taijohnsen said:
Bit of an update,
I ran the MP3 checker utility and found two corrupted, one of which was my ringtone!
I have since run the phone for two days and the mediaserver process has behaved itself and is just higher than the google play music app..
I still think that this needs to be fixed somehow, it shouldn't go pear shaped because one file is not 100%..
I got 2 days 10 hours on the last charge with over 1 hour of screen time and a few calls, dozens of sms's and emails, and music over bluetooth to and from work each day (3 trips)
Gotta be happy with that..
Click to expand...
Click to collapse
What kind of mp3 checker utility?
:/
Sent from my Nexus 4
I'm lucky to get 15 hours of battery life... How???
Sent from my Nexus 4 using xda premium
First it was Google services, then Android OS, I got them both to behave, now it's Android Media Server, when I click on it, I do see Poweramp full unlock app there.
Not sure if it's poweramp though because a lot of people still say it isn't.
Any ideas?
If you're playing sounds at all it's going to be in use. It keeps your CPU awake to keep a song playing...
If you don't have any songs playing and it's awake, then it's bugged and you should reset the process.
Maybe I'm missing the point of this thread but it (this thread) seems rather off.
"Unknown process useless to my needs."
definitely need mediaserver to use your phone.
Seemonsters said:
"Unknown process useless to my needs."
definitely need mediaserver to use your phone.
Click to expand...
Click to collapse
I thought that the process only scanned the phone for media, and wasn't needed, but now I know what it does.. I still think that it should not have this problem dealing with corrupt files..
This is the checker I used..
http://download.cnet.com/MP3-Checker/3000-2141_4-10543407.html
How 2 days??
I have all the location crap turned off and only sync email, contacts and calendar.. Other than that, my phone is stock (rooted)
The mp3 checker doesn't see my phone when it's mounted via usb, I assume you have to copy everything off the phone to your computer and scan from there. This could take a while.
I had a similar problem before. I posted a possible solution in this other thread.
http://forum.xda-developers.com/showpost.php?p=35116498&postcount=8
First mediaserver, now the phone app?? wth.
I haven't even looked at the phone app today.
Having the same problem with Mediaserver, if I listen to a podcast on Doggcatcher I'm draining 15% per hour and battery stats show Mediaserver killing my battery. Listening to a podcast drains 15% per hour, it should hardly be draining anything. Simply listening to a podcast stored on my device takes more juice than browsing the Internet with the screen on, that's not right.
here's what i've done
# created a .nomedia file in every damn directory on the sdcard:
for d in `find /sdcard -type d`; do touch ${d}/.nomedia;done
#Then went through the directories which I wanted to allow Mediaserver to scan
#(DCIM/Pictures/Movies/Music etc...) and removed the .nomedia
for dir in DCIM Pictures Movies Music media subsonic; do find /sdcard/${dir} -name .nomedia|xargs rm;done
I'll let ya know if this changes anything.

mediaserver is killing my battery!

Mediaserver killing anyone else battery? Media server is is working while my phone is idle.
Better Battery Stats and figure out which program. Its something you loaded 100% sure... Start uninstall till you find out which one.
Are you playing music?
Sent from my SAMSUNG-SGH-I337 using xda premium
tvp480 said:
Mediaserver killing anyone else battery? Media server is is working while my phone is idle.
Click to expand...
Click to collapse
I have been in the habit since my S2 LTE i727 of clearing out my background apps. With the S4, I hold down the home button which will show all current apps, click on the icon at the right (three lines with an X). This will kill the apps you last run and should help.
rsarwar said:
I have been in the habit since my S2 LTE i727 of clearing out my background apps. With the S4, I hold down the home button which will show all current apps, click on the icon at the right (three lines with an X). This will kill the apps you last run and should help.
Click to expand...
Click to collapse
This usually doesn't kill the background process. I had issues when I first got the phone with Google services hogging battery. Used Gsam battery to figure out what is running and then you can disable whatever you don't need. But first you have to figure out what exactly is using the battery.
I thought I read somewhere that if your SD card is bad and you are playing media off of it, it was causing something to stay awake and eat battery. Though, I could have just imagined that???
hamzer11 said:
This usually doesn't kill the background process. I had issues when I first got the phone with Google services hogging battery. Used Gsam battery to figure out what is running and then you can disable whatever you don't need. But first you have to figure out what exactly is using the battery.
I thought I read somewhere that if your SD card is bad and you are playing media off of it, it was causing something to stay awake and eat battery. Though, I could have just imagined that???
Click to expand...
Click to collapse
I read about the SD card issue as well. I had issues initially with Google Maps eating battery, not as bad as some have reported but still it bothered me. Media Services running was a bit of a pain as well. Then I read someone mentioned that a factory reset should be done, so then I backup what little I had and did the reset. Now, the phone is much better than before along with me doing the home button, removing apps thing .. battery easily goes for 2.5 days (data usage via LTE and wifi on when needed and gaming / music) I also turn on airplane mode at night. My SD card is a 16gb Class 10 Sandisk which previously used on my S2 LTE i727 from Rogers which I formatted prior to using on the S4.
Hope my little tid bit helps
Mediaserver is a biotch. If you have a bad Media file on your card the phone looks for a way to decode whatever .ext (extension) the media file has and will continue to do so until it finds the correct decoder. When you have a bad file mediaserver continues to loop over and over until you get rid of that file. Best bet is to back up all your stuff onto your pc and format the card. Then re-load the card and this should rid of your mediaserver drain.
Please read forum rules before posting
Questions and help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

Categories

Resources