Media Server battery usage - Galaxy S III General

Guys,
i have the media server draining 10% of the battery, constantly. I have tried to reset the device, remove all the media files, remove the SD card, scanned for corrupted media, disabled google music.... No matter what I do it always pops up and start sucking up battery. I don't listen to music nor watch movies on the device. Any suggestion?

Yeah, it happens to me, too.
Whenever I charge my phone above 90%, I get "Media" scanning everything furiously. When I force stop that, sometimes "Media Server" comes up in its place and drains all my battery.
A simple restart sometimes renders it useless otherwise there's no way to stop it!

Use search.
There are a lot of treats about it.
And your in the wrong section.
There is a Q&A section.
Verzonden door mijn GT-I9300 met xda premium

coolhof said:
Use search.
There are a lot of treats about it.
And your in the wrong section.
There is a Q&A section.
Verzonden door mijn GT-I9300 met xda premium
Click to expand...
Click to collapse
I know there are alot of threads about it. Indeed I have tried all the common solution posted. I did my homework before posting.

DeadSOL said:
Yeah, it happens to me, too.
Whenever I charge my phone above 90%, I get "Media" scanning everything furiously. When I force stop that, sometimes "Media Server" comes up in its place and drains all my battery.
A simple restart sometimes renders it useless otherwise there's no way to stop it!
Click to expand...
Click to collapse
I reckon that's the conclusion. No way to stop the media server from running without apparent reason. Oh well, that sucks.

jurijvi said:
I reckon that's the conclusion. No way to stop the media server from running without apparent reason. Oh well, that sucks.
Click to expand...
Click to collapse
One of your apps must've not closed properly that's why it's constantly scanning for media files. Install betterbatterystats and see if you can get more details about it. You can also try properly closing apps that require "media" files such as poweramp, n7 player, mx player pro, player pro etc.

jurijvi said:
I know there are alot of threads about it. Indeed I have tried all the common solution posted. I did my homework before posting.
Click to expand...
Click to collapse
Report your post to a mod for moving to the correct section via the report button .
jje

Related

[Q] Mediaserver drain... with no media

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.

[solution] fix your battery on wls8

hey,
many of us have faced an issue with the battery after flashing the official JB
well this may not be a sol " cuz i don't know what happend!"
so what i did was
1. flashing LPF 4.0.3 wipe data before flashing , not after.
2. flashing the ls8 and the lpx modem at the same time no data wipe
thats it
I'll try this
Sent from my GT-I9100 using xda app-developers app
From the screenshot I see that you have a big problem with reception signal, which, most likely, causes many wakelocks. Change the modem with one from your country. And whats the solution btw?
Sent from my Nexus 7 using xda premium
I don't get this too. Your screenshot is full of wakelocks, and the only reason your battery isn't empty yet is because your screen wasn't on all the time...
Sent from the Matrix
I found out that the new "google now" ate ALOT of battery in my case.
Try disabling this.
for the screen on! i was oppening the secreen or receiving calls
yesterday i stayed upto 6 hrs after the screen shot was taken, wifi connected and it last till 7%
for my modem, the area where i live having problems with connection, all the modems kh3 and lb7 did the same, at least this modem catched the gps here
eraser0 said:
for the screen on! i was oppening the secreen or receiving calls
yesterday i stayed upto 6 hrs after the screen shot was taken, wifi connected and it last till 7%
for my modem, the area where i live having problems with connection, all the modems kh3 and lb7 did the same, at least this modem catched the gps here
Click to expand...
Click to collapse
Okay, but what's your point by opening this thread..?
Sent from the Matrix
look how much the battery last!!
eraser0 said:
look how much the battery last!!
Click to expand...
Click to collapse
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
d1rX said:
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
Click to expand...
Click to collapse
well, i roam around here a lot, must've missed this one, any link on that, or any solution?
PlutoDelic said:
well, i roam around here a lot, must've missed this one, any link on that, or any solution?
Click to expand...
Click to collapse
Sure, but first post what apps you're running in background -- maybe it's not media, but something else like Google Now, location service (maps)? How does your phone "sleep"? Does it wake up?
Anyway, media fix that seem to resolve my problems (no more media scanner in task manager)
d1rX said:
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
Click to expand...
Click to collapse
no i connected it to the pc for some time
also i didn't disable any service and the battery is lasting for me more than ics
d1rX said:
Sure, but first post what apps you're running in background -- maybe it's not media, but something else like Google Now, location service (maps)? How does your phone "sleep"? Does it wake up?
Anyway, media fix that seem to resolve my problems (no more media scanner in task manager)
Click to expand...
Click to collapse
hmm, im having a hard time understanding whats going on there, but i do switch my cam to sd card as location storage.
regarding your question, i tend to kill tasks always after i finish using my phone, in fact i clear the ram.
this is what im having right now, considering that i slept 8 hours of these 18 there, it's way too much, oh and yeah, i have the extended battery kit (official one), one more reason to moan.
This is the best battery performance I have ever had from my sgs2 (using siyah kernel and the scripts from the neat rom and siyah optimisation thread
Sent from my GT-I9100 using Tapatalk 2
PlutoDelic said:
hmm, im having a hard time understanding whats going on there, but i do switch my cam to sd card as location storage.
regarding your question, i tend to kill tasks always after i finish using my phone, in fact i clear the ram.
this is what im having right now, considering that i slept 8 hours of these 18 there, it's way too much, oh and yeah, i have the extended battery kit (official one), one more reason to moan.
Click to expand...
Click to collapse
Just as a precaution, copy cache folder from SD internal to SD external and delete everything in SD internal DCIM folder. Something else is draining your battery. That 18 hours is too little IMO
d1rX said:
Just as a precaution, copy cache folder from SD internal to SD external and delete everything in SD internal DCIM folder. Something else is draining your battery. That 18 hours is too little IMO
Click to expand...
Click to collapse
/storage/sdcard0/DCIM only contains Photo and Video folders, both empty. im using the stock file manager, i guess what u've asked me for may be hidden. However, there is a "/storage/extSdCard/DCIM/Camera/cache"
It is hidden in mine, but if you see the one on excard than you should see one in internal card. You have to look for wakelocks -- install BetterBatteryStats. I don't know any other method. That app will basically tell you anything.
Give this a read. It will get you started on how to find what's causing the wakes

anyone else seeing media server drain?

So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
create .nomedia file and put in folders with out any media (pictures, music files)
Full charge to zero overnight. Battery stats just says "media". Wtf. I thought I left this problem behind on my GS2 with cm10...
Sent from my SAMSUNG-SGH-I337 using xda premium
blackguy101 said:
So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
Click to expand...
Click to collapse
Yes I had this issue. Reformatting the memory card and restarting fixed it completely for me.
If you have a lot of pictures, you may have to give it a couple of days (no exaggeration) to index all of them. Should be ok afterwards, but will run your battery down in a hurry until its done.
I've tried different sd cards using different file systems and they all gave me trouble. I think the process is buggy...
Install rescan media root it should take care of it.. If you are rooted
Sent from my SAMSUNG-SGH-I337 using xda premium
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
This causes more problems than it solves. By force closing media process, you lose a great deal of functionality (for example your camera pictures will not show in gallery).
blackguy101 said:
So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
Click to expand...
Click to collapse
Check out this thread. It will fix your Media Server problem.
http://forum.xda-developers.com/showthread.php?t=2272594
Grant H said:
Check out this thread. It will fix your Media Server problem.
http://forum.xda-developers.com/showthread.php?t=2272594
Click to expand...
Click to collapse
Not true!
I've tried several cards and have reformatted them several times. In my case, the S4 is completely unusable with my media library (about 20GB worth of pics and music).
On a side note, I should point out that my old Moto Defy running CM10 processes the same SD cards with the same content without any problem. This is definitely a bug with the S4!!!
dew.man said:
Not true!
I've tried several cards and have reformatted them several times. In my case, the S4 is completely unusable with my media library (about 20GB worth of pics and music).
On a side note, I should point out that my old Moto Defy running CM10 processes the same SD cards with the same content without any problem. This is definitely a bug with the S4!!!
Click to expand...
Click to collapse
Hmmmm.. Well, I tried Did you try the android transfer program to put the music/pictures back on the card after reformat by chance?
Also, are you from White Lake, WI by chance?
Grant H said:
Hmmmm.. Well, I tried Did you try the android transfer program to put the music/pictures back on the card after reformat by chance?
Click to expand...
Click to collapse
Interestingly enough, if I transfer the files directly through the phone, it appears to work fine for a period of time. Unmounting and remounting the card, however, causes the "infinite" scan to start over and the phone becomes useless.
Grant H said:
Also, are you from White Lake, WI by chance?
Click to expand...
Click to collapse
No, White Lake, MI

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

Battery draining on stock rom.

I bought this phone few days ago and after some using noticed that battery drains really fast with WiFi/Mobile data. I downloaded Greenify and hibernated all apps using network. I turned off Sync, NFC, Energy saving on, screen brightness really low, gps, bluetooth still it drains with 2-4h using WiFi or mobile data(3g).
Can anyone think of something that drains my battery so fast? Thanks for any help!
R0m3t said:
I bought this phone few days ago and after some using noticed that battery drains really fast with WiFi/Mobile data. I downloaded Greenify and hibernated all apps using network. I turned off Sync, NFC, Energy saving on, screen brightness really low, gps, bluetooth still it drains with 2-4h using WiFi or mobile data(3g).
Can anyone think of something that drains my battery so fast? Thanks for any help!
Click to expand...
Click to collapse
Sounds like you either have a process that's preventing your phone from going into deep sleep, or your battery is malfunctioning. Try checking your sleep states with an app like BetterBatteryStats and see if your device goes into sleep mode properly.
P.s. My device lasts ~2 days with medium usage, always connected to the internet with either 3g or WiFi,and I'm not even using Greenify or anything similar, so the battery life is generally pretty decent.
SpaceDye said:
Sounds like you either have a process that's preventing your phone from going into deep sleep, or your battery is malfunctioning. Try checking your sleep states with an app like BetterBatteryStats and see if your device goes into sleep mode properly.
P.s. My device lasts ~2 days with medium usage, always connected to the internet with either 3g or WiFi,and I'm not even using Greenify or anything similar, so the battery life is generally pretty decent.
Click to expand...
Click to collapse
Ehh... thingy "PowerManagerService.WakeLocks" keeps waking the the device up. What now?
R0m3t said:
Ehh... thingy "PowerManagerService.WakeLocks" keeps waking the the device up. What now?
Click to expand...
Click to collapse
Check the partial wakelocks screen. You should be able to locate the app that's causing the problem there. Also, I've read somewhere that cleaning the cache (either through Storage Settings or recovery) helps.
SpaceDye said:
Check the partial wakelocks screen. You should be able to locate the app that's causing the problem there. Also, I've read somewhere that cleaning the cache (either through Storage Settings or recovery) helps.
Click to expand...
Click to collapse
Made a screenshot of partial wakelocks.
R0m3t said:
Made a screenshot of partial wakelocks.
Click to expand...
Click to collapse
Well, it looks like that AudioMix process is causing your problems. I did a google search and found this thread that might help you.
Some have reported that disabling touch and lock screen sounds fixed the issue, while others said that clearing the cache did it for them. I'm afraid you're going to have to experiment
Thanks for the help! I'll try to fix the issue then.
R0m3t said:
Thanks for the help! I'll try to fix the issue then.
Click to expand...
Click to collapse
You're most welcome. Good luck!
SpaceDye said:
You're most welcome. Good luck!
Click to expand...
Click to collapse
It didn't solve it. I'm still having the issue after factory resetting, flashing a new rom, and data resetting. So I noticed that below Audiomix theres written "1013". I googled it, and it should be media according to this thread: http://forum.xda-developers.com/showthread.php?t=442557 . This thing I'm having is such a headache.
R0m3t said:
It didn't solve it. I'm still having the issue after factory resetting, flashing a new rom, and data resetting. So I noticed that below Audiomix theres written "1013". I googled it, and it should be media according to this thread: http://forum.xda-developers.com/showthread.php?t=442557 . This thing I'm having is such a headache.
Click to expand...
Click to collapse
Hmm. That process is obviously tied to something media related, but I can't tell what... A music player perhaps? Do you use any media streaming apps? I'm afraid I'm at my wit's end here... Wish someone else would lend a hand :/
SpaceDye said:
Hmm. That process is obviously tied to something media related, but I can't tell what... A music player perhaps? Do you use any media streaming apps? I'm afraid I'm at my wit's end here... Wish someone else would lend a hand :/
Click to expand...
Click to collapse
I disabled apps like "Adapt Sound" and "SapaMonitor" and AudioMix went down to 1%.(I used media player to try if disabling these apps screws something up). Battery life seems a little bit better but hey, it could be better . Thanks for all the help again! That was really awful... Glad it's over
Happy to help

Categories

Resources