Music battery drain? - Nexus 5 Q&A, Help & Troubleshooting

When I play music on my Nexus 5, the battery seems to drain just as fast as screen on. Music shouldn't drain this much battery. It shows as always awake through the time that it plays music, which I don't remember seeing on other devices. I heard the DSP tunneling was supposed to help save battery while listening to music so I really don't know whats going on here. Is anyone else having these problems?

All depends what player you are using? I use Rocket Player with Viper sound and I can go over 12 hours with the super high definition driver. As with any device, everyone will have a different experience depending on how their device if configured.

Default Play Music app uses very little battery for me.

Playing music with Google play music locally has drained 10% in about 20 minutes for me. Its unbelievable
Sent from my Nexus 5 using xda app-developers app

25 minutes of music (local)
Sent from my Nexus 5 using xda app-developers app

My newest config uses about 6% per hour when playing music. Happy with it now.

In your battery stats does it show as awake during the time you are playing music? My CPU seems to be running hot while music is playing
Sent from my Nexus 5 using xda app-developers app

I've noticed the same issue recently. Drained 25% battery in ~45 mins if music playing. Battery stats show the device as awake for the entire time.
Thought it might just have been because I was using a 3rd party media player (PowerAmp), but it did the same thing using Play Music (playing only tracks on device).

This is 100% stock?

shotta35 said:
This is 100% stock?
Click to expand...
Click to collapse
Not really, now on stock 4.4.2 with TWRP recovery, root and a couple of Xposed modules active.
I have a couple of ideas for narrowing it down -
1st suspect is Last.fm scrobbling so I'll give it a couple of runs with & without that going and see if there's any consistent pattern there.
Then probably disable Gravity Box (pretty sure none of my other Xposed modules interfere with sound processing in any way).
Will update if I find something.

raolin7 said:
I've noticed the same issue recently. Drained 25% battery in ~45 mins if music playing. Battery stats show the device as awake for the entire time.
Thought it might just have been because I was using a 3rd party media player (PowerAmp), but it did the same thing using Play Music (playing only tracks on device).
Click to expand...
Click to collapse
Other people have reported various games leaving wakelocks open (keeping the device awake), also a bad media file can cause Mediaserver problems (this can show up as very high Mediaserver usage on Settings->Battery):
http://forum.xda-developers.com/showthread.php?p=47868557#post47868557

Well, uninstalling Last.fm and Gravity Box didn't work, still consistently awake whilst playing music.
All the solid blocks in the awake time where the screen is of are where music is playing, interesting that Play Music has so little CPU time, but is keeping awake so much. Media server isn't responsible for much wake time.
alistairs1 said:
Other people have reported various games leaving wakelocks open (keeping the device awake), also a bad media file can cause Mediaserver problems (this can show up as very high Mediaserver usage on Settings->Battery):
http://forum.xda-developers.com/showthread.php?p=47868557#post47868557
Click to expand...
Click to collapse
Pretty sure it's not a game, I had launched any games since my last reboot. Didn't see any processes or services running that might be related. Thanks for the link, I'll check it out when I get a chance.

Related

Huge battery drain while listening to music

Anytime I'm listening to music my battery dies extremely fast. I also notice that the back of my phone gets hot too... Next time this happens ill upload a screenshot of the battery usage
Sent from my Desire HD using XDA App
Happens to me too. Its the app though. When running music for example the newest release of Google Music player. You can check the partial wake status of apps through the Spare Parts app. This shows what apps are awake while you phone is in sleep mode. When listening to music for 2 hours or so, it will show that the music player has been in partial wake. So its just like leaving your phone on for 2 hours straight. And on top of what ever else is running. You can try finding other music apps to see if the issue still exists.
As for you phone getting hot. Could be a battery issue. Could be an overclock issue or undervolt issue.
Hopefully that helps you determine what is causing these issues.
Draining
This happens to me too. When I use GPS alot and Music. Each rom seems to have a different effect with the draining, so I would suggest getting feedback from the DEV.

Mediaserver issues...

So in my glallery, some of my images have doubled, and in my music list for selecting ringstones and such, it has tripled some of the songs, but only one of them works. Mediaserver has 48% percent on my battery drain and its taking more power than my screen is! Anyone know whats up with this?
I'm running AOKPS Alpha 2, but I noticed it was doing it last night when I was still on the Alpha.
I use quicpic for my pictures....no issues
https://play.google.com/store/apps/details?id=com.alensw.PicFolder
And google play for my music
https://play.google.com/store/apps/details?id=com.google.android.music
This is actual issue with the media scanner. From what I've read it's an issue that can happen from a few things. I seem to have fixed it for now, I removed all the media files that were acting up. and it's gone back to it's normal amount of battery usage. I may just format my sdcard, then reinstall the ROM again
Sent from my SGH-I997 using XDA

[Q] CM10.1 terrible battery life :/

Running cm10.1 7/17/2013 nightly, and kt747 kernel under-clocked to 1.2mhz. I used to go down 10% every half hour of screen on time. Ever since i activated my phone i have been getting terrible battery. At 5:00 i had 73%, i used 3g to browse in chrome and at 5:07 i had 68%. I had 100% in the morning and 7 hours later of mobile data off, I had 75%. Should i wipe system and do a fresh install?
Have you just flashed cm10.1? Are you on the latest STABLE/RC? I'd do a clean install, making sure you wipe wipe wipe. Also, make sure to let the ROM settle a few FULL charge cycles (fully discharging and charging) to calibrate the battery.
Display brightness & GPS setting all play a vital role when eating your battery. I'd lower the brightness and turn off all GPS setting when not in use. (As well as WiFi)
Also, if you text a lot, I'd turn off the key tap vibration and sound on your keyboard if you have it on. I know also,
I'm on CM10.1.3 and am getting great battery life with the STOCK kernel.
If your not using 4GLTE turning that off as well can increase battery life.
I restored and battery seemed better. I found that there is no deep sleep. I am going to flash 10.1.3 rc 2. I'm just afraid of it wiping my meid/imei. I backed it up with reboot nvbackup in terminal, but that's no guarantee. What's your opinion
Sent from my SCH-I535 using xda app-developers app
iws
If your already Backed up, I don't see why not. I've flashed from clean ROM and 10.1.3 many times and never had a issue.
However, that doesn't mean it will not happen. As long as you have your Backup your good as gold bro.
Okay, I'm looking for the appropriate gapps and going to flash. Wish me luck
Sent from my SCH-I535 using xda app-developers app
Check your IMEI after you flash, I also suggest a full wipe.
All went well
It took about a minute for it to get a signal, my stomach was turning lol. But data, and voice works perfectly, and my imei is still there. Also deep sleep works too. The bass bug from the nightly I was just on is still there. The only temp fix I could find was to force close DSP manager, play music, and Apollo. Start apollo and play a song, and keep playing a song while you open Google play music and play a song. Now bass isn't distorted. Yay. Thanks for all your help and support! I hope battery while using it is better, as I know standby is. The bass bug is only there if you have the bass turned up in DSP manager with the equalizer and bass booster.
Sent from my SCH-I535 using xda app-developers app
joedajoester said:
All went well
It took about a minute for it to get a signal, my stomach was turning lol. But data, and voice works perfectly, and my imei is still there. Also deep sleep works too. The bass bug from the nightly I was just on is still there. The only temp fix I could find was to force close DSP play music and Apollo. Start apollo and play music and keep playing and open Google play music and play a song. Now bass isn't distorted. Yay. Thanks for all your help and support! I hope battery while using it is better, as I know standby is.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
okay cool. i have not noticed any distortion in music, maybe check your DSP music equalizer settings. either way glad its fixed

[Q] Mediaserver drain

Hey guys!
So I realize there are already a lot of topics on this on other phones, but not for the N5.
I've tried the solutions posted on the other phones but they don't seem to work.
Mediaserver seems to take a consistent 10-20% of my battery drain. When I reboot my phone, it jumps up to 30-40%, which is expected because the phone is scanning everything at boot. However, even after a few hours after, if I check the time on mediaserver, it still increases, meaning it's still being used.
My N5 is pretty bare, media wise. I have ~3 gigs of songs and like 50 pictures on it. I've tried removing all my pictures and music, but the mediaserver is still active and takes the same amount %.
I've tried Rescan Media root, but I'm guessing that's not compatible for 4.4 yet because it crashes every time I open it.
I've read that better battery stats can help identify it, but all I see on the stats are that mediaserver is taking up battery. I already knew that.
I've also read that mediaserver could be active due to an application, but the solutions associated to this problem involved uninstalling one app at a time and checking mediaserver; I don't have time for this method.
Anyways, any help would be greatly appreciated.
I am running the latest Cataclysm ROM and Faux kernels.
Thanks!
I want to add the information that during testing the drain times, I have not listened to music or played youtube, etc. Nothing media related.
Mediaserver will show up as the culprit even if it is an app you have installed.
i.e. I found my battery dead (at 11pm) which was odd for me, so I checked and saw mediaserver at 40% usage. I put on my detective hat and worked out it was a game I installed (Robot Unicorn 2), which is very poorly coded so that if you dont completely quit it (swipe it away), it will constantly be playing in the background, it will keep your device awake and constantly play music (that you cant hear).
You will have to work it out, or install a bettery battery app to work out which app it is.

[Q] Sweep-to-wake?

Alright, so does anyone have any experience using a Kernel for the Moto G that enables sweep-to-wake? (Or slide to wake, however you want to call it). I'm really looking into getting the Moto G, as my Galaxy S2 is on its last legs, however after having used and gotten used to the STW on my S2. there's no way I'd want to go back to using the power button all the time.
Mainly, I'm looking for someone who has a Moto G with a STW enabled Kernel installed, as I''m also curious about how much it would affect the battery life (after going from an S2, it would be nice to have a phone with good battery life this time!)
Many thanks in advance :
I'm using faux kernel which has both sweep to wake and double tap to wake. Both work fine. No noticeable drain on battery on stock, my phone still makes it through a day of moderate to heavy use with 40% left
Sent from my XT1034 using Tapatalk
pisherthefisher said:
I'm using faux kernel which has both sweep to wake and double tap to wake. Both work fine. No noticeable drain on battery on stock, my phone still makes it through a day of moderate to heavy use with 40% left
Sent from my XT1034 using Tapatalk
Click to expand...
Click to collapse
Well, that's definitely great to hear! Roughly how much screen time do you get with "moderate to heavy" usage? I typically get 2 and a half hours with my S2 (because of the high idle battery drain), sometimes even less, and that's with pretty much everything apart from 3G turned off!
AskingAlex said:
Well, that's definitely great to hear! Roughly how much screen time do you get with "moderate to heavy" usage? I typically get 2 and a half hours with my S2 (because of the high idle battery drain), sometimes even less, and that's with pretty much everything apart from 3G turned off!
Click to expand...
Click to collapse
2-3 hours of on screen time. Moto g has very solid idle battery time, I can leave it unplugged overnight and when I wake up the battery only drained by 2%
Sent from my XT1034 using Tapatalk
pisherthefisher said:
2-3 hours of on screen time. Moto g has very solid idle battery time, I can leave it unplugged overnight and when I wake up the battery only drained by 2%
Sent from my XT1034 using Tapatalk
Click to expand...
Click to collapse
Whoa, what kind of wizardry is that? My S2 would drop around 15% overnight xD
What kind of brightness do you have your screen at? I typically have my screen at 15% brightness to get a decent screen time, because going up to 50% roughly halves the time I can use it for *sigh*
AskingAlex said:
Whoa, what kind of wizardry is that? My S2 would drop around 15% overnight xD
What kind of brightness do you have your screen at? I typically have my screen at 15% brightness to get a decent screen time, because going up to 50% roughly halves the time I can use it for *sigh*
Click to expand...
Click to collapse
Most of the time I keep it around 15%-25%. I'm not really sure how much higher brightness will affect battery life, but the LCD screen is pretty bright so I only find myself needing to change the brightness when I'm outside.
Sent from my XT1034 using Tapatalk
pisherthefisher said:
Most of the time I keep it around 15%-25%. I'm not really sure how much higher brightness will affect battery life, but the LCD screen is pretty bright so I only find myself needing to change the brightness when I'm outside.
Sent from my XT1034 using Tapatalk
Click to expand...
Click to collapse
Ahh, nice. I think I may have just found the perfect replacement for my S2! Now all I have to do is find a way to filter down my 20GB or so of music... unless I just keep my S2 just as a fancy music player, haha
Edit:
And thanks a bunch for the help, by the way!
AskingAlex said:
Ahh, nice. I think I may have just found the perfect replacement for my S2! Now all I have to do is find a way to filter down my 20GB or so of music... unless I just keep my S2 just as a fancy music player, haha
Click to expand...
Click to collapse
That's definitely one of the downsides of the moto g, no micro SD card slot. If you're okay with cloud streaming, Google gives you 50 GB of Google drive space for buying a moto g. You can also get a small usb OTG adaptor that will let you use micro SD cards if you don't mind the extra budge it creates.
Sent from my XT1034 using Tapatalk
Just a little add-on for those who might want sweep to wake type functionality on a stock device - Gravity Screen On/Off (from the playstore) can be set up to provide this functionality via the proximity sensor as can some automation apps. I use MacroDroid. I only touch my power button when powering on after a shutdown. Battery impact is measurable but still negligble in the grand scheme of things (I still get 3-4 hours screen on time over 2 days with light usage, upto 7-8 hours in a single day with heavy usage).
Re music storage - I've recently bitten the bullet and uploaded my collection to Google Play Music - the free service allows you to upload upto 20,000 tracks and doesn't use your Drive storage. You can then 'Pin' your favourite tracks/albums/artists to the device for offline listening or to minimise streaming. Stream quality can also be limited when not streaming over wifi if your data is capped and/or disabled entirely when not on wifi so that the app will only show you pinned music.
neu - smurph said:
Just a little add-on for those who might want sweep to wake type functionality on a stock device - Gravity Screen On/Off (from the playstore) can be set up to provide this functionality via the proximity sensor as can some automation apps. I use MacroDroid. I only touch my power button when powering on after a shutdown. Battery impact is measurable but still negligble in the grand scheme of things (I still get 3-4 hours screen on time over 2 days with light usage, upto 7-8 hours in a single day with heavy usage).
Re music storage - I've recently bitten the bullet and uploaded my collection to Google Play Music - the free service allows you to upload upto 20,000 tracks and doesn't use your Drive storage. You can then 'Pin' your favourite tracks/albums/artists to the device for offline listening or to minimise streaming. Stream quality can also be limited when not streaming over wifi if your data is capped and/or disabled entirely when not on wifi so that the app will only show you pinned music.
Click to expand...
Click to collapse
I tried using something like that on my S2, but the proximity detector obviously wasn't all that amazing, as it kept on letting the screen switch on when it was in my pocket, so that kinda put me off that. I'd still be open to trying it, but I can't see myself fully relying on it again. Although I suppose I could use it along with a standard flip case so I know the screen would definitely stay off, but I'd have to get one without the magnet like the official one has, for the fear of the internal sensors being... fried? Idk, whatever the magnet does that makes them stop working right!
Yup, I'd been looking at Google Play Music myself. Can you download a few songs from there as a "buffer" for if your connection goes down, or is absolutely everything streamed directly? I have to go through 1 small tunnel on each journey to Uni, but it means a a few minutes of blotchy internet connection, which can be a pain and a half
AskingAlex said:
I tried using something like that on my S2, but the proximity detector obviously wasn't all that amazing, as it kept on letting the screen switch on when it was in my pocket, so that kinda put me off that. I'd still be open to trying it, but I can't see myself fully relying on it again. Although I suppose I could use it along with a standard flip case so I know the screen would definitely stay off, but I'd have to get one without the magnet like the official one has, for the fear of the internal sensors being... fried? Idk, whatever the magnet does that makes them stop working right!
Yup, I'd been looking at Google Play Music myself. Can you download a few songs from there as a "buffer" for if your connection goes down, or is absolutely everything streamed directly? I have to go through 1 small tunnel on each journey to Uni, but it means a a few minutes of blotchy internet connection, which can be a pain and a half
Click to expand...
Click to collapse
Yep - you can 'Pin' tracks from Play Music and they are effectively kept on local storage and those tracks are never streamed. If you are streaming an album / playlist / instant mix it also caches tracks (about 5-10 tracks in advance) so intermittent loss of connectivity shouldn't interrupt playback. The app also picks up music that is manually added to the Music Folder like any regular player. The 'Pin' method is preferable for me, but only because I use Play Music with Chromecast, and it can't stream tracks to Chromecast that have been manually added to the music folder.
neu - smurph said:
Yep - you can 'Pin' tracks from Play Music and they are effectively kept on local storage and those tracks are never streamed. If you are streaming an album / playlist / instant mix it also caches tracks (about 5-10 tracks in advance) so intermittent loss of connectivity shouldn't interrupt playback. The app also picks up music that is manually added to the Music Folder like any regular player. The 'Pin' method is preferable for me, but only because I use Play Music with Chromecast, and it can't stream tracks to Chromecast that have been manually added to the music folder.
Click to expand...
Click to collapse
That's awesome, thanks for the info!
One final question, if you don't mind me being so annoying? How do you upload the music to Google play? Would I have to put some songs on my phone, upload them, download some more, upload them etc etc, or is there a way to upload the songs directly from my computer?
AskingAlex said:
That's awesome, thanks for the info!
One final question, if you don't mind me being so annoying? How do you upload the music to Google play? Would I have to put some songs on my phone, upload them, download some more, upload them etc etc, or is there a way to upload the songs directly from my computer?
Click to expand...
Click to collapse
You can upload from your browser
Sent from my XT1032 using Tapatalk
AskingAlex said:
That's awesome, thanks for the info!
One final question, if you don't mind me being so annoying? How do you upload the music to Google play? Would I have to put some songs on my phone, upload them, download some more, upload them etc etc, or is there a way to upload the songs directly from my computer?
Click to expand...
Click to collapse
From browser at Google Play Music, via the Chrome Play Music App, or by Music Manager program (https://support.google.com/googleplay/answer/1229970?hl=en-GB) which you can set to watch specified folders on your computer and upload from those folders as and when you add music to them.
neu - smurph said:
From browser at Google Play Music, via the Chrome Play Music App, or by Music Manager program (https://support.google.com/googleplay/answer/1229970?hl=en-GB) which you can set to watch specified folders on your computer and upload from those folders as and when you add music to them.
Click to expand...
Click to collapse
So, after going to download Google Play Music, it turns out that I cannot do that. I only have a Maestro card, and Google do not accept this. And for some reason you need to register a card, even when asking just for the free version of the service. That's a bit of an annoyance, to say the least.
Don't suppose you know of another alternative that has this same functionality? I've never really been one to use online streaming services like this before so I'm not sure on what apps are trustworthy and which will just fill my phone with adds. I'd be fine with paying a little for a good app, but I'd need a free one until then, because... well, I can't use my (only) debit card, so I'll have to wait until I can get a Play Store voucher... card... thingy... I'm not 100% sure what they are, I've never had to get one before xD

Categories

Resources