Related
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..
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...
ok so i tried everything! i reseted the tablet (re-locked bootloader than unlocked it) and i still have media server running non stop with no apps installed and no media on my tablet. i cant find a solution to it someone help me please. media server stops when screen is off or connected to usb port. it runs whenever screen is on regardless what i do.
There is a whole thread on this
http://forum.xda-developers.com/showthread.php?t=1801378&highlight=media+server
don't know if they found an answer yet though.
krelvinaz said:
There is a whole thread on this
http://forum.xda-developers.com/showthread.php?t=1801378&highlight=media+server
don't know if they found an answer yet though.
Click to expand...
Click to collapse
no thats media scanner not media server two different things. if u look in op of that thread its a different issue
ok so now its getting worst decreasing my nexus 7 battery life. i need help. i switched roms and everything and it still is running whenever the screen is on. it doesnt run when screen is off or when charging which is odd..
If what you are looking for is something to play stuff from your nexus to tv bubble upnp is flawless. The only thing you have to watch is your nexus going into deep sleep. You can set it up not to do that though. I use a wdtv with it its perfect plays anything I throw at it.
Sent from my Nexus 7 using Tapatalk 2
I recommend trying Elixir widgets 2 to create a widget which includes auto sync and sync all. With auto sync s off let it run for an hour or so and see if this resolves it. If it does you can use sync all as a manual sync.
I´m having the same issue since yesterday, the only changes i made was, install moonreader +, virtua tennis and asphalt 7.
For me it´s the same, the Media Server is active whenever my screen is on, in fact, the CPU + Activation time of the media server is exactly the screen on time.
But i think that this only happens now...
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.
I am not sure if this is a legit complaint, but sometimes I don't use my N10 for a few days and my tablet will be completely drained. I really only use my tablet for some general browsing/emails/videos. I generally turn off all automatic updates/notifications/etc as I know I may go days between use and want to conserve as much battery life as possible.
With that said I have noticed lately that my entire battery will drain after 3-5 days even if I am not using. Is that just the case? Or should I expect to not lose too much battery when inactive. I looked and 90% of the batter drain was the Android OS.
Any help would be appreciated.
Hi,
The same problem just happen to me. I've fully charged my tab yeaster day night and I found her with only 14% left. Didn't use it the last 23 hours.
WTF!
I've attached a screenshot
admiralwilly said:
Hi,
The same problem just happen to me. I've fully charged my tab yeaster day night and I found her with only 14% left. Didn't use it the last 23 hours.
WTF!
I've attached a screenshot
Click to expand...
Click to collapse
When your N10 is sleeping, you still have several things happening such as looking for updates, synchronizing RSS feeds (like your greader), WIFI connection and communication. By looking at the programs that consume the most battery during those times, you can start tackling them 1 by 1. There are a few apps that will help with battery life and to reduce drain. You can also try turning WIFI off when not in use and you don't want updates. You can also change your WIFI - Advanced settings to Keep WIFI on during sleep only when you are plugged in. You can google battery life during sleeps as there are lots of threads about this topic, which is more Android related than N10.
Just like SmokinCharger said there are other apps running, try turning off Sync initially and don't forget to turn off WiFi, this may save a little your battery, if it doesn't try uninstalling some apps that may cause this, like Facebook.
"This Story Ends Where It Began" - Octavarium (Dream Theater)
Sent from my GT-I9505
admiralwilly said:
Hi,
The same problem just happen to me. I've fully charged my tab yeaster day night and I found her with only 14% left. Didn't use it the last 23 hours.
WTF!
I've attached a screenshot
Click to expand...
Click to collapse
That graph looks exactly like a wakelock going on all the time and your tablet never actually sleeps. OP probably has the exact same problem.
My own personal Nexus 10 will lose about 1% battery every 20 days when sleeping.
Thanks for the help. I really do t use that many apps and don't have Facebook. I have attached some pics. Media server is using all my battery? I even turned my wifi off while sleeping.
Any other ideas?
seagood3 said:
Thanks for the help. I really do t use that many apps and don't have Facebook. I have attached some pics. Media server is using all my battery? I even turned my wifi off while sleeping.
Any other ideas?
Click to expand...
Click to collapse
Do you have your N10 set as a media server? If not, media server could be just looking for changes in your N10 in order to have media available - i.e. downloaded a jpg and to show up in Gallery. I believe there is a setting to not allow it to auto detect, but I don't remember where in the settings it is.
Don't have it set up as a media server. Like I said I really don't use it too much.
Enigma - you only lose 1 percent? How is yours set up?
seagood3 said:
Thanks for the help. I really do t use that many apps and don't have Facebook. I have attached some pics. Media server is using all my battery? I even turned my wifi off while sleeping.
Any other ideas?
Click to expand...
Click to collapse
While i may not say there is a wakelock, you can clearly see that because the app has been on and running for over 14 hours time that that process is what is causing the wakelock and draining all your battery. I forget how to fix the media scanner thing, I know I have seen it before in the forum for the Galaxy nexus, which was my old phone. What Media Scanner is is the process that scans your storage for files so that it has an index of what is on the device and so it can display the files and folders for you in Windows. most likely Media Scanner is stuck on a specific file and cant get past it so the process is staying on forever.
My personal setup is the RaSaber ROM (not available anymore) 4.2.2 and KTManta kernel (whatever the last 4.2.2 version was). I probably will never upgrade to 4.3 because this setup is perfectly smooth and the only bugfix that 4.3 brings that I would ever care about does not matter to me since I never hit the bug (playing video in specific apps using hardware rendering). I mainly use my tablet for games and book reading on trips, so it goes long periods without use these days. I never charge it in between because I know it will still have basically the same exact battery level as I left it whenever the next time I pick up the tablet is. I posted some screenshots before in some other thread a while back because no one believed me on the battery life. I went something like 70 or so days of idle and was at 97 or 98% still, then went on to use it for gaming and got like 7 hours of screen on time still before I needed to charge the thing.
seagood3 said:
Don't have it set up as a media server. Like I said I really don't use it too much.
Enigma - you only lose 1 percent? How is yours set up?
Click to expand...
Click to collapse
Your tablet is searching for more media, maybe you can check the settings and see if there's anything set up to be syncing. Also you can try installing another ROM to check.
Sent from my GT-I9505G using Tapatalk 4
seagood3 said:
I am not sure if this is a legit complaint, but sometimes I don't use my N10 for a few days and my tablet will be completely drained. I really only use my tablet for some general browsing/emails/videos. I generally turn off all automatic updates/notifications/etc as I know I may go days between use and want to conserve as much battery life as possible.
With that said I have noticed lately that my entire battery will drain after 3-5 days even if I am not using. Is that just the case? Or should I expect to not lose too much battery when inactive. I looked and 90% of the batter drain was the Android OS.
Any help would be appreciated.
Click to expand...
Click to collapse
I had a similar problem, after upgrading to Android 4.3 a couple months back. The battery seemed to run down much quicker when the screen was turned off. However, the problem seems to have gone away now. I'm not sure if there was some media scan or whatever running in 4.3 that finally finished or if it was a webpage I had loaded in my browser that kept refreshing itself. See if you can reproduce the problem with all browsers, email, video players turned off. Check the app switcher to make sure nothing is loaded. If so, the problem might be in the OS itself. Maybe it will go away with time, as it did for me. :victory:
Hi,
You can try leaving it off, the battery will stand by then . And as Nexus 10 boots really fast you won't see any problems (mine has 2GB free and booted in 20-25sec).
Hope this suggestion helps ,
~Lord
"We think so supersonic and we make our bombs atomic" - Eagle Fly Free (Helloween)
Sent from my Nexus 10 using Tapatalk HD
I found this in relation to this topic on a different site:
"All you need to reset is that media scanner: Settings > Apps > All > Media Storage: Force stop & Clear data. Then, reboot."
Most people seem to think this works. In a follow up, someone posted this:
"I had the same problem and none of these fixes worked. It turns it that my Spotify was the problem. It had crashed and could not find the media files i had downloaded. I uninstalled Spotify and that solved the problem"
Good luck.