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
Related
Hey,
My Vibrant CONSTANTLY keep rescanning the media on the SD, and its slowing the phone to a crawl. Ill watch it start, finish, and then start again 30 seconds later (or so). Anyone else have this, and if so, did you find a solution?
Thanks!
Sounds buggy...mine usually just does it if I reboot the phone
Sent from my Samsung Vibrant using XDA App
Actually my ONLY complaint about this phone not constantly but every time I reboot and it takes a good while scanning, if I try to press on any button while scanning the phone freezes, there has to be a tweak to disable this feature when vibrant roms become available..
Thats my issue too....it freezes, the screen goes off, the button backlight stays on, and I cant do anything but hard-reset it by holding the power or pulling the battery. ive deleted almost everything of the internal SD, so I have no idea why its freezing
I remove the external card and still experiencing the same thing, I just don't understand how my old HD2 with buggy winOS never did this, come on Developers Android is an awesome OS and extremely configurable, PLEASE fix this issue for us.
Mine does it on reboot and after I unplug it from my pc. It is a little annoying but it doesn't last too long.
It's scanning 16gb of memory for media changes. Why would you expect that to be faster than 20-30 seconds. Are you guys serious?
Sent from my SGH-T959 using XDA App
If it's doing it constantly and not just on reboot than that is definitely a defect.
Sent from my SGH-T959 using XDA App
The media scanner runs for me, at least, every time the userspace filesystem is modified, so on unplug from PC, file copy/deletes in the file manager, bluetooth unpair...etc. If you have an app that is frequently writing to /sdcard then that's probably triggering it for you.
Did you replace your SD card with one from another phone? I don't get any major scanning issues
Just exchanged the phone for a new one. Will report back.
No, I am using the stock SD card (Not ready to lose Avatar yet)
zimphishmonger said:
Just exchanged the phone for a new one. Will report back.
No, I am using the stock SD card (Not ready to lose Avatar yet)
Click to expand...
Click to collapse
I know you can copy avatar to the internal memory and it will still work... but the link on the app won't find it, you'll have to go to files, ect. I'm pretty sure you can copy it to another SD card without any trouble. As far as the media scanner, it is pretty annoying...scanned alot when I first got the phone ..of course moving around avatar, it took a long time to rescan and it scanned several times. Now it seems to scan evertime I move or delete a file ...sometimes it scanns more than once but its usually pretty fast. It would be cool to change the settings to rescan only when you specify or something.
i have just over 7 gig of music on my sd card, scan after reboot lasts less than a min.
<edit> it is a class 6 card, so that might help with the speed etc...
I was messing around in /system and looked at one of the .conf files. There's a line in there for media with a value of "on". I'm sure if you edit it to "off" it'll stop scanning but who know what the negative effects would be.
Ya, I never had this media scanning on my G1, on any build. Wonder if it has something to do with the Internal SD and some sort of database it maintains of it. No idea why it wouldn't be simple flash memory though, exactly like an SD card
It's because of the Music player and such.
I'd still say try a reset. I just did and things (besides the GPS which is not going to be fixed by this) like the market and such aren't giving me such long loading screens. I was installing 3-5 apps at a time. Even the Friends feed widget doesn't have the looooooong loading screen anymore.
zimphishmonger said:
Hey,
My Vibrant CONSTANTLY keep rescanning the media on the SD, and its slowing the phone to a crawl. Ill watch it start, finish, and then start again 30 seconds later (or so). Anyone else have this, and if so, did you find a solution?
Thanks!
Click to expand...
Click to collapse
I have this same problem. Typically it will kick into the media scanning mode when opening Google Maps. The phone becomes unusable for several minutes. The screen will shut off and then comes back on close to a minute after hitting the power button. Sometimes it will display "Safe Mode" in the lower left corner.
yeah, I have an 8 gig card which is basically full and the media scanning I only notice on boot ups. And this takes very little time (20 seconds maybe).
I'm curious if you have a corrupt file or app that is causing the issue man?
Have you moved avatar to your computer, stuck the SD card in your PC and formatted it? I wonder if you put it back in your phone and rebooted if you would still have this issue?
Worse case you just move the folder with avatar back to the card, nothing lost.
Do you mind trying a format?
Someone should try the "Autostarts" app. I would try it, but it requires a rooted phone, and mines not rooted yet. This app may be able to prevent the media scanning...
http://www.androidcentral.com/android-quick-app-autostarts
Thanks for the tips. I have wiped, exchanged phones, wiping the internal and external SD, and attempted to prevent the scan using autostarts (although I didnt find anything specific), all w/o luck. Ive removed ALL my music from my internal SD, only pictures are left.
It seems to scan every few minutes or so, and it almost always causes a restart of the Touchwiz process (w/ a reload of all the widgets) and lags the phone a lot (so much that it doesnt respond to button touches for a minute or so)
Im about ready to dig in and disable this scan unless we can find a legitimate fix or purpose for it.
Guys,
Just wanted to share my findings as Ive resolved a really annoying problem.
I have an X10 running stock gingerbread. Ever since the update I have noticed that the phone becomes pretty much unresponsive for many minutes after powering on. I have traced this to the media scanner process which re-indexes the media content on the sd card after a reboot, and also after remounting the sd card.
I have in the region of 10000 songs and 500 images on my SD card and if I wipe the media database and get it to rebuild, the phone is unresponsive for about 15 hours while it is rebuilt. A click on the screen would take up to 5 seconds to respond, usually with a prompt asking me whether I wanted to kill or wait.
Well, after many hours of debugging my mp3 id tags and photos and formatting sd cards, I have traced this problem to AVG Anti Virus. It would appear that when the media scanner does a quick open of a file to check the tags etc, that AVG would virus scan the entire file and consumes 100% CPU, with what would appear to be very high priority.
Deinstalling AVG has resulted in the phone being perfectly responsive during a full media scan.
This started happening as soon as I did the Gingerbread upgrade, but I dont know if this is the cause, or whether a new version of AVG gets installed when running GB.
Just hope this helps others
Cheers
Graham
Informative, but I don't think many would use anti-virus for their phones as it is a known cause for process hogging.
It doesn't really help either.
Yeah, I'm beginning to see that too. It is a worry though, given the number of apps you have on your phone, its nice to know you atleast have some protection. The bad thing is, if one of my apps went rogue and decided to do some keylogging, would avg have even known about it. I doubt it.
Its now firmly uninstalled.
G
Sent from my X10i using xda premium
I have noted that without a anti virus and as soon as I copied my songs to the sd card my phone has slowed down hugely, taking a few seconds for icons to appear on the screen. leaving u with a jerky and slow responding phone. It seems to be better now after the scan but thanx for the heads up atleast I know the media scanner is what is slowing down the phone when it is scanning.
I have got stock 2.3.3 rooted with avg antivirus pro installed. I used to get this problem on android 2.1. I have a lot of songs on mine so any file operation would result in a media scan making my phone unresponsive. The solution is to keep folders in your sd card down to a minimum. I have all of my songs in one folder on the sd card instead of artist>album. Every file operation with adao file manager forces a media scan which I barely notice.
^ 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
Morning ladies and gents, apologies if this is a duplicate post but this one has me stumped.
Since yesterday when copying some video files to my galaxy note 3, the phone has started over heating and draining the battery.
This happens whether the phone is in use or in my pocket hence the title of the thread.
I deleted the video files i copied, ran a full scan removed any heavy use apps and 3 times it has had a full charge in the last 24 hours and it overheats within seconds. I did a soft reset, left the battery out for a while and again overheating.
Is there something obvious I am missing, the phone doesnt appear to lag at all, just get really hot.
It has been suggested I do a backup then full factory reset, but this seems a tad drastic. Can anyone suggest anything to help?
Thanks Everyone
Could it be something to do with that indexing thing that Android does?
Google it
Hmmmmm
jh787 said:
Could it be something to do with that indexing thing that Android does?
Google it
Click to expand...
Click to collapse
Thanks fella, found a whole thread, looks like combined issues of SD card, pdf files and indexing.
Found a 1gb of PDF's on the sd card deleting now to see what happens
Update 2
Also i noticed yesterday when copying the video files it converted first before copying, so i have deleted all files and I am testing at the moment
Update 3
ok so i have resorted to formatting the SD card, removing it from the phone and seeing what happens
not sure if it is a faulty SD card
if all else fails I will full factory reset and then pray
Make sure to drop a .nomedia file in every folder that you don't need to see in the gallery/music player. That excludes all files in that folder (and folders inside that folder) from the mediascanner and indexing service.
ShadowLea said:
Make sure to drop a .nomedia file in every folder that you don't need to see in the gallery/music player. That excludes all files in that folder (and folders inside that folder) from the mediascanner and indexing service.
Click to expand...
Click to collapse
I am interested in this my Note 3 Sm-n9005 started over heating the other day. It got really hot I had my usb stick attached otg never had problems before...originally thought it was the rom (Dirty Unicorns latest 4.4.4 Kit kat) when the phone got hot really slow to respond. I disconnected the usb.....factory wiped, then dalvick and cache. rebooted and still heating up really rapidly. Noticed OTG not working, then flashed samung based rom Omega 24 all is well no heating up, however OTG still not working.
Then restored Xnote 21 rom all good no heating up issues.....still no OTG...... phone working fine. But wonder if heating up has caused hardware issue....any help appreciated
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).