What the heck is "media server" in the battery consumption info? - Huawei Mediapad M3 Questions & Answers

Every time I look at the battery info under settings, when I open the detailed consumption info it tells me "media server" has used 50 or 60% of the power. There is no app named "media server". Does anyone know what the heck this is and why it is eating the battery? (I have the BTV-W09 model from amazon, and it is running EMUI 5.0 and android 7.0)

Media server scans your sd card & internal memory for music and photos in order to index it. If it drains the battery, it could have gotten stuck due to some corrupted file it can't index. Another cause is using torrent and having lots of incomplete torrented files, those will bug out the indexing process.

I took out the external sd card and this nonsense did indeed go away, but the weird thing is all I did with the card was format it and put a single .wma music file on it. No one else in the world has a problem with that .wma file, so if it was causing the media server to go berserk, there be bugs there . Thanks for the info. I guess I'll avoid the external card for now.

Well, it went away for a while, but then it came back even without the external SD card. Googling this seems to indicate that lots of folks have this problem with random runaway media server eating all the power. I've now used the biggest hammer I could find without rooting: I've placed a ".nomedia" file at the highest point in the directory tree that was writable (and also in the root of the external SD card and put the SD card back in the tablet). So far this has worked (with the minor side effect of hiding all the sound effects so I no longer hear the "deedle-deedle" when I plug in the charger).

Related

Battery drain - Media

Hi guys... my battery started draining really fast these last few days. Media is using up my battery. The included packages it says:
DRM Protected Content Storage
Media Storage
Downloads
Download Manager
I just use the 7 just to web browse and read books, don't really watch or listen to anything. I'm rooted on Glazed rom. The battery was phenomenal for a while but now that Media thing is keeping the CPU going all the time and draining the battery in a few hours.
Anyone have a clue what to do? I searched a few other threads but couldn't find any real solutions. Should I just do a full wipe and start fresh? Thanks for any help
There is a running thread about the Media Server battery drain which may be of intrest.
Mediaserver battery drain help
ETA: There is also the following running thread in the Nexus 7 General forum...
Media Scanner eating the battery on my N7
I have the Galaxy Note 2. My battery used to be at 40% after 15 hours of continuous use because the battery is 3,100mAh. One day I started noticing "Media" consuming 30-50% of my battery drain and the phone was always getting hot. I thought I solved the problem a couple days ago, but it came back and I couldn't figure out how to delete this post, so here's an update lol.
Things I've tried
I tried using Titanium Backup and Freezing "Media," "Downloads," and a couple of other apps/services/processes, but that usually had no effect, or just crashed other apps.
I tried downloading F5 Media Scanner and freezing my media scanner, but I got impatient and just uninstalled it. My media never showed up, and I didn't know what I was doing.
Some people said Google Play Music was causing it, but that only seemed to run "Media Service," not "Media." I disabled "Automatically cache" just to be sure. I guess I can re-enable it and monitor now.
I found a couple corrupted video and image files on my SD card. They might have been the cause? I used ES Explorer and noticed some pics and videos didn't have thumbnails generated... that's how I spotted them.
I also deleted a couple of "temp.43223523" files. They were some things I was downloading from the Internet browser, but I must have lost connection or something... and the files were left behind.
I tried renaming some of my pics that had ridiculously long names like "e62352_3423525.23542.jpg" to "pic34.jpg."
I moved all my Titanium backup files (1,300) and ROM backups to my computer and deleted them off my phone.
My Solution?
I placed an empty ".nomedia" file in every folder on my SDcard and ExtSD (and reboot phone). That seemed to actually solve the problem. I've been gradually deleting the .nomedia files with ES File Explorer (and rebooting). You have to enable "Show Hidden Files." Any file starting with a period is hidden.
When you reboot your phone, I think "Media" scans your SD card automatically. So this is how I investigated: 1. Reboot, 2. Charge the phone to 100%, 3. Unplug charger and periodically check my battery status.
Conclusion
The .nomedia solution seems to work when you reboot your phone and maybe clear your "Media Storage 4.1.1..PALJ1 (PLAYLISTS)" with Titanium Backup by hitting "Wipe Data." I enjoy the piece of mind knowing I don't have all these random pics and **** from various apps being scanned continuously at all hours of the day or on each reboot, cluttering up my gallery/playlists. If you're not going to use this solution, I might suggest limiting the number of files on your phone. Making several Titanium Backups resulted in 1,300 files probably being scanned a few times a day. I have 900+ pics and videos I've taken and 10gigs of videos downloaded on my phone and I think I solved my problem. Now my phone is cool to the touch and after 4 hours of use has only dropped 20%.
Create the file with notepad -> save as ".nomedia" or find it somewhere else on your memory card and copy/paste it.
I tried your solution and it seemed to have worked but the problem is that if you put a .nomedia at your sd cards your music images and galleries will be empty

[ISSUE RESOLVED] Media Battery Drain -.-

All we have always heard about the "media server" draining battery bug on S3/Note 2...
Well, i never suffered of this bug... but today my phone wake up with media being on top of the battery panel and being always active...
My rom is XDME6
what shall I do? Any other with that issue?
u probably need to use better battery stats to check first.
1) It could be due to Corrupted SD card , either the songs or pictures.
- My personal experience for this. My SD card when i check number of files, it shows 900, however, when i check i only have 700 mp3.
200 extra hidden files are creating problem. I formatted the card and recopy the mp3, issue resolve
Or it could a new App you have installed, it doesnt shut down properly leading to wakelock
- I too have this issue, after i installed one game, i realise this issue. (probably coz i play the game with max volume )
anyway in the end, i greenify the game, issue resolved.
I too experianced this recently. But after searching a bit I understood that the problem was in my 32gb external SD. So I copied everything in my sd to my PC and formatted it. Then put the only the important files back. It takes sometime but it's worthy. And now I'm having superb battery life
Sent from my GT-N7105 using xda app-developers app
I experienced this when I had it plugged from my phone micro-USB to built-in USB port in the car.
It turns out the car was constantly looking through my phone to browse for music and show on the dash. Once I stopped plugging it into the car, I no longer saw it.
Cauchon said:
I experienced this when I had it plugged from my phone micro-USB to built-in USB port in the car.
It turns out the car was constantly looking through my phone to browse for music and show on the dash. Once I stopped plugging it into the car, I no longer saw it.
Click to expand...
Click to collapse
The problem is REALLY SERIOUS.
MicroSD unmounted. 4 cores at 100% .... process android.media 84% cpu usage...
OK PROBLEM FIXED
:victory::victory::victory::victory::victory:
It was my fault!
On formatting and restoring my old settings (upgrading the rom) I copied the EA Real Racing 3 data folder on the wrong directory :laugh:
So the media scanner was going crazy for this..... :silly:

Solved: Android System eating battery

So, I've seen quite a few posts now about Android System eating way more battery than it should, and I'd noticed the same thing on my phone since day 1. I tried turning features and settings on and off, disabling apps etc etc all to no avail, but I've finally cracked it
Format your external SD card via the phone settings, and use Kies to re-sync your content. Mine was originally formatted as FAT32 and I'd dragged and dropped the music and photos onto it via my computer. I don't quite understand the mechanism responsible, but this seems to be the source of my phone's unusual battery drain. Android System battery utilisation has dropped markedly, and battery life is greatly extended. I noticed the media scanner working for a few hours after I initially inserted the SD card, however after formatting and reloading via Kies the media scanner didn't run, yet all the content shows up where it should. I can only guess that some process responsible for indexing the media was running amok? Either way it's now able to sit in flight mode overnight without dropping a single %, whereas previously it'd drop at least 6%. In active use the display now always sits at the top of the battery use table rather than Android System, usually by a large margin :victory:
vanButton said:
So, I've seen quite a few posts now about Android System eating way more battery than it should, and I'd noticed the same thing on my phone since day 1. I tried turning features and settings on and off, disabling apps etc etc all to no avail, but I've finally cracked it
Format your external SD card via the phone settings, and use Kies to re-sync your content. Mine was originally formatted as FAT32 and I'd dragged and dropped the music and photos onto it via my computer. I don't quite understand the mechanism responsible, but this seems to be the source of my phone's unusual battery drain. Android System battery utilisation has dropped markedly, and battery life is greatly extended. I noticed the media scanner working for a few hours after I initially inserted the SD card, however after formatting and reloading via Kies the media scanner didn't run, yet all the content shows up where it should. I can only guess that some process responsible for indexing the media was running amok? Either way it's now able to sit in flight mode overnight without dropping a single %, whereas previously it'd drop at least 6%. In active use the display now always sits at the top of the battery use table rather than Android System, usually by a large margin :victory:
Click to expand...
Click to collapse
What if we don't have an external SD card?
thegame2388 said:
What if we don't have an external SD card?
Click to expand...
Click to collapse
Then this isn't what's causing your issue.
vanButton said:
So, I've seen quite a few posts now about Android System eating way more battery than it should, and I'd noticed the same thing on my phone since day 1. I tried turning features and settings on and off, disabling apps etc etc all to no avail, but I've finally cracked it
Format your external SD card via the phone settings, and use Kies to re-sync your content. Mine was originally formatted as FAT32 and I'd dragged and dropped the music and photos onto it via my computer. I don't quite understand the mechanism responsible, but this seems to be the source of my phone's unusual battery drain. Android System battery utilisation has dropped markedly, and battery life is greatly extended. I noticed the media scanner working for a few hours after I initially inserted the SD card, however after formatting and reloading via Kies the media scanner didn't run, yet all the content shows up where it should. I can only guess that some process responsible for indexing the media was running amok? Either way it's now able to sit in flight mode overnight without dropping a single %, whereas previously it'd drop at least 6%. In active use the display now always sits at the top of the battery use table rather than Android System, usually by a large margin :victory:
Click to expand...
Click to collapse
So what should we format the memory card to? Fat32 still?
Joe0113 said:
So what should we format the memory card to? Fat32 still?
Click to expand...
Click to collapse
Just let the phone format it, there are no options for which file system you would like.
vanButton said:
Just let the phone format it, there are no options for which file system you would like.
Click to expand...
Click to collapse
Interesting. And what's your battery like now?
Joe0113 said:
Interesting. And what's your battery like now?
Click to expand...
Click to collapse
Much, much better. Oddly the Gallery app now shows more album artwork that was always located on the external SD card, but obviously was not being properly indexed. So far today I've got 3.5 hours of screen-on time and still have 58% battery capacity. Previously it'd have been that low with no screen time.
vanButton said:
Much, much better. Oddly the Gallery app now shows more album artwork that was always located on the external SD card, but obviously was not being properly indexed. So far today I've got 3.5 hours of screen-on time and still have 58% battery capacity. Previously it'd have been that low with no screen time.
Click to expand...
Click to collapse
Couple more questions thn I'll stop annoying you :silly:
1. What's your Android System vs Screen now in terms of usage of the battery (% wise). And how was it before you did this little trick?
2. How should I go about putting everything back onto my SD Card (backups, pics. apps, etc.)? I've never used Kies before so I have no idea what to do lol.
3. All you did was go to settings, then storage and hit format sd card, correct?
Joe0113 said:
Couple more questions thn I'll stop annoying you :silly:
1. What's your Android System vs Screen now in terms of usage of the battery (% wise). And how was it before you did this little trick?
2. How should I go about putting everything back onto my SD Card (backups, pics. apps, etc.)? I've never used Kies before so I have no idea what to do lol.
3. All you did was go to settings, then storage and hit format sd card, correct?
Click to expand...
Click to collapse
You're not annoying me, honest, that's why I shared my results here ;P
1: Android System is currently 13%, screen is 29%. Previously Android System would be over 30% no matter what and often much higher if I didn't use the phone much that day.
2: Copy everything off your SD card onto your computer using whichever method you currently use. In Kies there's a file browser icon that lets you browse the contents of your phone, as well as copy things to and from it. You don't have to use the automated sync tools in Kies, you can simply drag and drop using the Kies browser.
3: Yup, that is correct. Not sure if it's maybe formatted using exFAT now, but I believe that's Android's preferred format these days.
I think I formatted my new SD card when I put it in the phone but not sure.
Is there any way to check and see what the card is formatted to? exFAT? Fat32? It was a brand new Samsung card.
I'm not really seeing bad battery life at all just curious.
vanButton said:
You're not annoying me, honest, that's why I shared my results here ;P
1: Android System is currently 13%, screen is 29%. Previously Android System would be over 30% no matter what and often much higher if I didn't use the phone much that day.
2: Copy everything off your SD card onto your computer using whichever method you currently use. In Kies there's a file browser icon that lets you browse the contents of your phone, as well as copy things to and from it. You don't have to use the automated sync tools in Kies, you can simply drag and drop using the Kies browser.
3: Yup, that is correct. Not sure if it's maybe formatted using exFAT now, but I believe that's Android's preferred format these days.
Click to expand...
Click to collapse
So when I re copy everything to my phone... Can I put it on my SD card again or should I place it in the internal storage? (using kies as you stated) thanks a lot buddy
Sent from a Galaxy 5 light years away
Joe0113 said:
So when I re copy everything to my phone... Can I put it on my SD card again or should I place it in the internal storage? (using kies as you stated) thanks a lot buddy
Sent from a Galaxy 5 light years away
Click to expand...
Click to collapse
Yup, you can put everything back on to the external SD card via Kies.
Maybe it is also caused by kitkat bug, which is Not only triggered by skype, but also hangouts etc etc http://www.zdnet.com/kitkat-giving-...-says-google-as-it-prepares-a-fix-7000027051/
Verstuurd vanaf mijn GT-N7100 met Tapatalk
Dumb. Not related to battery drain
Follow Me @Bash_array
thegame2388 said:
What if we don't have an external SD card?
Click to expand...
Click to collapse
i'm also getting massive android system use for seemingly no good reason, and it started like 4 days ago, my phone was fine before that.
I'm new to android so I don't even know where to start with regards to uncovering problems of this nature
das7982 said:
Dumb. Not related to battery drain
Click to expand...
Click to collapse
Even dumber, you didn't read the article ? It is indeed related to battery drain and is a common bug in kitkat

[HELP] Mediaserver Battery Drain + Heat

^ Title
My phone heats up then mediaserver is at 40% :/ how do i get rid of it? i tried to do some searching and came up with turning off Quick connect, Samsung push services but this still happens. i dont have any SD card mounted too. im on sm-900f. any fix for this? currently i restart the phone but it usually happens again after i restart >_<
Thanks in advance for anyone who can help.
poch21 said:
[HELP] Mediaserver Battery Drain + Heat
Click to expand...
Click to collapse
Mediaserver is just a generic category. You need to find out what app is using mediaserver. It's, as you might imagine, probably a media app e.g. audio or video player. An app like GSAM would help you track that down.
There is also an app that kills mediaserver every x hours. But it would be more effective to find the actual app that is the root cause.
.
Had the same problem. Happened to be some youtube-downloaded videos that I had recently downloaded and were somehow corrupted. Renamed then to .old and mediaserver disappeared right away. I've heard it also happens with big m3u or playlist files.
Hope this helps.
I just had this problem for 2 days. Media server is sipping the phone's battery at 45%. First, I tried turning off the phone and restart but it didn't solve the problem. But just this morning, when I was not connected to wifi, the media server disappeared. Then when I reconnected, it was completely gone (well, for now). That's just my observation. I have microsd with lots of data and media but I did not delete any of them. It like it went away on its own. :/
If you have an external SD card it's easy to reproduce the problem, just mount / unmount and you will see it starting / stopping. With internal you can backup the whole card and start deleting folders till it stops. It is cause of a faulty file, you just have to find it
I had the same problem, 45% battery used by media server on galaxy s5 stock rom. I solved problem by finding corupted file on micro sd card. I had 5 GB on micro sd. I have created folder name "backup" on internal storage. Then I select all files on sd and moved it to internal memory in "backup" folder. It took some time. At the end is says that it can't move two files. All other files were moved. Those to files were corrupted. The files which remains on sd card were videos taken with phone and when you tried to watch them they were freezing. I have format micro sd and at the end move everything back from backup folder to sd. Problem solved.
Settings > Connections > Nearby Devices > Disable ?
poch21 said:
^ Title
My phone heats up then mediaserver is at 40% :/ how do i get rid of it? i tried to do some searching and came up with turning off Quick connect, Samsung push services but this still happens. i dont have any SD card mounted too. im on sm-900f. any fix for this? currently i restart the phone but it usually happens again after i restart >_<
Thanks in advance for anyone who can help.
Click to expand...
Click to collapse
try to flash another firmware different country...:good:
it happned with me on stock rom but after i flash 5.0 russian this problem fixed:good::good:
dont forget to hit thanks

LG G3 Easy Fix For Battery Drain

I was having a problem with an unusually high battery drain with my LG G3. I also began to notice a few corrupted images.
So I turned my G3 off and removed my microSD card. I inserted it into a USB microSD card adapter & plugged it into my PC.
I ran a check on the card using DiskGenius (free) and saw it had some problems. My solution:
1. Used DiskGenius to fix exFat file system problem (not perfect).
2. Backed up all the files on my microSD card to my PC using EaseUs Todo Backup (free)
3. Formatted the card to exFat again using the SD Card Formatter (free)
4. Restored all my files back to my microSD card.
Now my battery life is amazing again and any app that accesses the microSD card is faster!
Hope this helps some of you.
Thanks for the tip but, honestly, I don't understand how that can justify an improvement in battery life. Could you elaborate a bit more the idea behind it?.
sergialess said:
Thanks for the tip but, honestly, I don't understand how that can justify an improvement in battery life. Could you elaborate a bit more the idea behind it?.
Click to expand...
Click to collapse
The file system on the microSD card can get corrupted. When that happens and the phone tries to access a corrupted file, it might take multiple file reads (to compare the results of reading the same location) and/or more CPU cycles (performing error correction) to read the file, either of which drain power from the battery.
Corrupted files can also cause certain apps to crash.
Also, depending upon what version Android you have, sometimes when the Android media scanner encounters a corrupted mp3 it will scan the file over and over, draining the battery (this is a common problem).
Note that what I'm suggesting in my OP does not fix the corrupted files, it only fixes the cause (exFat file system corruption). The corrupted files must still be fixed or deleted.
Reformatting your microSD card should be done whenever there is a sudden and unexplained power drain, or once every three years.
Good finding then. Glad if it worked for you. I'll take it into account when it happens to me. Thanks.
I was also having problems with my Kindle app, books taking a long time to open and close. This fixed it fast!
I fixed it in another way. I bought a 7500mah battery ;P
andreasli said:
I fixed it in another way. I bought a 7500mah battery ;P
Click to expand...
Click to collapse
Assuming it is a real 7500mah battery, that fixed the battery drain symptom, but not the file corruption or device slowdown.
That is actually a great thing to remember if having SD card issues, much appreciated.
However the title seems to be misleading. Even if there was a corrupted file on the SD card, it would not cause a significant impact on battery usage. I guess maybe if a poorly coded app (ie: with no error catching) continuously tries to access a corrupted file, maybe. But even then... I just don't see it. Also, quality and fast SD cards are so cheap now, I think a more practical solution would just be to replace the card.
A corrupted SD card can cause significant battery drain for the reasons I already explained. Besides myself, others have already experienced this problem espcially if an mp3 file is corrupted.
I replaced my SD card with a bigger one, but some people can't always afford that.

Categories

Resources