Battery drain with any kind of audio - Galaxy S III General

Hello guys, so i just flashed temasek's rom after a mega wipe and sd card format..
So far the battery is good in every way but when i use youtube, listen music or even receive lots of messages in what's app i get lots of audio_out2 wakelocks, it shows like media server in the battery stats...
It's using almost the same amout of the screen when i'm watching youtube videos..
What should i try to fix this ??

Related

Listening to music drains battery quite fast

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

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

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

MUST, KILL, MEDIASERVER!! /angry face

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

[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.

[Q] (Q) media services using tons of battery

Running Paranoid Android 3.99, android 4.3.
I do not have google play music installed. No Apollo. I do have mx player and codec installed.
I currently have no movies or music saved on my device. No custom ringtones or notifications.
I've used TiBU to convert some system apps to user apps and then greenified everything that isn't a required system app. Sync is off. I do not have currents installed at all.
I do not know what would be causing this. I'm only getting about 3 hours of screen time, and the second most % of anything shown in battery is mediaserver, right behind screen.
I've downloaded better battery stats and it is showing me that the tablet is going to deep sleep, 81.8% after 15 minutes which seems right about where it should be. Right now I've powered it down and doing a full charge to get a better reading with better battery stats.
I've searched, google and xda and other people have had a similar issue but the fixes they've suggested do not apply to me. As I said earlier, no music files, no movie files, only one picture, no google currents, google now is disabled, no play music, no apollo, only mx player and codec.
Does anyone have any ideas that might help me out? I'm at a complete loss.
_________________
Edit I think I may have found the culprit - A game I recently downloaded called Arc Squadron Redux, after letting the nexus sit for an hour after a full charge mediaserver was nowhere to be found, so I started testing my apps to see if I could find the cause, this happened to be the first one I tested and sure enough, after 10 minutes in the game mediaserver was in my battery list, 3rd this time behind screen and arc squadron... After closing out of the game mediaserver was steadily climbing in the usage percent, and I found arc squadron was showing as a cached process.
I may have to go change my review for that game, or let the devs know what it's doing.
Upon further reading I found this app http://forum.xda-developers.com/showthread.php?t=2552255 and I thought I would leave it here just in case anyone else was having similar issues.

Categories

Resources