PowerAmp and Wakelocks, and other Audio Applications - General Questions and Answers

Recently I've noticed that while playing music with my SGS3, it has been draining battery rather quickly. So I checked what was going on with BBS and CPU Spy and found out that while playing music with PowerAmp the phone can't go into deep sleep. I remembered while running on stock and a few other ROMs that this issue hasn't happened. After messing up my ROM by installing Chainfire3D Drivers and causing a bootloop a cleared system and what not and reinstall the ROM but had this horrible battery issue.
My few questions are:
1. Is it normal for the phone to stay "awake" while playing music whilst the screen is off
2. How would I fix this if it's not normal?

i don't think than the phone goes to deep sleep in music play, but you can force the minimum clock freq when the screen is off.. for example with SetCpu apk
Enviado desde mi A953 usando Tapatalk 2

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.

Suddenly getting crazy battery drain

Anyone else get stupid fast drain while its sleeping? I have wifi sleep policy set to turn off wifi when screen is off, and using the task manager nothing looks to be running that i havent launched myself. But usually i'd have the battery last DAYS and DAYS if i wasn't using it that much, but the last few charge cycles it's been nearly dead at the end of the day. Is there an app I can get to monitor stuff while its sleeping to see if something is keeping it from deep sleep? I can't remember what i've installed recently that could keep it in wake-lock or whatever. Thanks guys.
There's a build in feature in the settings menu to tell you what uses battery
Check that the wifi is actually sleeping when the screen is off. Tap the power button to wake up the tablet then look at the notification bar in the right hand corner to see if the wifi is turning on and connecting. If its not doing that then I dont think the wifi is disconnecting and turning off when the screen is turned off.
For battery issues, two "must have" tools are "better battery stats" and "cpu spy"
gary's right. download better battery stats here:
https://market.android.com/details?id=com.asksven.betterbatterystats
and since the developer of that app loves XDA, there's a free version for us!
OP: http://forum.xda-developers.com/showthread.php?t=1179809
DL: http://forum.xda-developers.com/attachment.php?attachmentid=833619&d=1325149176
Look into the partial wakelock and find the cuplrit!
Battery Drain
Try loading the free util Auto Airplane Mode which has helped fix the SOD issue and the related battery drain during the SOD.
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Same problem here :-(
Fully loaded at 7 o'clock and now I'm 34% - this really sucks!
faygo6464 said:
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Click to expand...
Click to collapse
All you can do is to check the apps you recently installed or updated. They might lock you from sleep. No easy way to control this
For me it was the "samsung-keyboard" - I froze it and now everything seems normal.

Music battery drain?

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.

Anyone else having lots of wakelocks after flashing new kernels?

Hey guys.
Lately whenever I'm flashing a new kernel either on KitKat or Lollipop I get terrible wakelocks that kill my battery. Not sure why this is happening. I'm using CWM. Basically after flashing I can just notice a huge battery drainage and I tend to install either GSam or WakelockDetector to see what's the problem. WakelockDetector (Rooted) gives me an overall idea of my battery problem. Usually SystemUpdateService, Audiomix "1013", "NlpWakeLock" , "EventlogService" and "CheckinService" drain my battery the most. Sometimes "ConfigFetchService" as well.
Thanks
KodRoute said:
Hey guys.
Lately whenever I'm flashing a new kernel either on KitKat or Lollipop I get terrible wakelocks that kill my battery. Not sure why this is happening. I'm using CWM. Basically after flashing I can just notice a huge battery drainage and I tend to install either GSam or WakelockDetector to see what's the problem. WakelockDetector (Rooted) gives me an overall idea of my battery problem. Usually SystemUpdateService, Audiomix "1013", "NlpWakeLock" , "EventlogService" and "CheckinService" drain my battery the most. Sometimes "ConfigFetchService" as well.
Thanks
Click to expand...
Click to collapse
[Battery Life Help] Troubleshoot battery issues here!
Application wakelocks have absolutely nothing to do with the kernel.
Keep in mind a "wakelock" is simply a request to keep the device awake; they can happen regardless whether the screen is on or off, they are only an issue if they occur while the screen is OFF.
SystemUpdateService is a pretty obviously named wakelock, it's used while an OTA is being downloaded. You can disable the service and it's receivers with an app like Autorun Manager (https://play.google.com/store/apps/details?id=com.rs.autorun, open in advanced mode, go into it's settings to enable for system apps, tap on Google Play Services, disable everything with SystemUpdateService in it's name).
AudioMix is triggered every time there is an audio event, including touch sounds. Harmless as it's usually only used while the screen is on.
NlpWakeLock is a location wakelock.
EventlogService and CheckinService are harmless, unless they occur 24/7 and don't go away EVER, which means you disabled their services but not their receivers.
ConfigFetchService is mostly harmless, it simply fetches your settings from Google's servers when you open a Google app, if that app stores it's settings on the cloud instead of locally.
Lethargy said:
[Battery Life Help] Troubleshoot battery issues here!
Application wakelocks have absolutely nothing to do with the kernel.
Keep in mind a "wakelock" is simply a request to keep the device awake; they can happen regardless whether the screen is on or off, they are only an issue if they occur while the screen is OFF.
SystemUpdateService is a pretty obviously named wakelock, it's used while an OTA is being downloaded. You can disable the service and it's receivers with an app like Autorun Manager (https://play.google.com/store/apps/details?id=com.rs.autorun, open in advanced mode, go into it's settings to enable for system apps, tap on Google Play Services, disable everything with SystemUpdateService in it's name).
AudioMix is triggered every time there is an audio event, including touch sounds. Harmless as it's usually only used while the screen is on.
NlpWakeLock is a location wakelock.
EventlogService and CheckinService are harmless, unless they occur 24/7 and don't go away EVER, which means you disabled their services but not their receivers.
ConfigFetchService is mostly harmless, it simply fetches your settings from Google's servers when you open a Google app, if that app stores it's settings on the cloud instead of locally.
Click to expand...
Click to collapse
Disabling the receivers works indeed. Thanks! By the way, another issue I'm having is that my Nexus 5's CPU heats too fast operating in UI and doing basic stuff, like installing apps from Play Store or watching videos on YouTube. Normally after about 5 min. of running if I go to System Monitor the CPU's temp is around 40-47ºC on action, in standby cools down to 34-35ºC but then after I use it again the temp rise to 45-47ºC. Usually when this happens the battery's temperature is also triggered and reaches 28-30ºC. Is this normal?
KodRoute said:
Disabling the receivers works indeed. Thanks! By the way, another issue I'm having is that my Nexus 5's CPU heats too fast operating in UI and doing basic stuff, like installing apps from Play Store or watching videos on YouTube. Normally after about 5 min. of running if I go to System Monitor the CPU's temp is around 40-47ºC on action, in standby cools down to 34-35ºC but then after I use it again the temp rise to 45-47ºC. Usually when this happens the battery's temperature is also triggered and reaches 28-30ºC. Is this normal?
Click to expand...
Click to collapse
The CPU throttles at 65C by default (some kernels change this or give you an option to change it), and shuts down at 105C. 47C is hardly anything.

Question Why does my phone idle at bout 50ºC

I was using Project Elixir 2.1 (Android 12L) when this first happened.
Phone started to heat up to the touch when I was using lite apps. Fb lite, Whatsapp, Music player, etc.
Then it escalated until battery idled at 39-40ºC and music player drained about 20% of battery. So I switched to lineage 19.1 (2022.11.04 build) which fixed it. Then I updated to 2023.02.03 and the heating up came back.
I couldn't stay in Lineage OS since banking apps didn't run either. So I installed CrDroid 8.10 2022.10.17 build (which worked very well in the past for me)
But now, the heating up has come back.
My firmware is v13.0.5.0SJUMIXM for Android 12.
Attached is a MatLog file and some screenshots of CPU usage grabbed from CPU Monitor app.
Is there anything I can do to fix this?
Ps. Turned off Sync and Location. Turned on Extreme battery saver and airplane mode. Now the battery idles at 37ºC. Room temp is ~26ºC.
What apps or services are using the most mAh?
Take out the trash. WhatsApp and FB; social media and sales apps should never be installed.
Start with the junkware...
Try temporarily disabling Google play Services.
(Temp. fix:root reqd.) High CPU usage and battery drain due to Google Play Services.
Google Play Services is causing high CPU usage and massive battery drain( >25%/h) continuously. Battery temps. cross 40°C in no time. The issue persisted upon rebooting the device. Had to finally freeze it. In FKM, I/O section shows constant...
forum.xda-developers.com
read this forum. it helped me
Kostaaa? said:
(Temp. fix:root reqd.) High CPU usage and battery drain due to Google Play Services.
Google Play Services is causing high CPU usage and massive battery drain( >25%/h) continuously. Battery temps. cross 40°C in no time. The issue persisted upon rebooting the device. Had to finally freeze it. In FKM, I/O section shows constant...
forum.xda-developers.com
read this forum. it helped me
Click to expand...
Click to collapse
Thank you!
"123.sh" file has a significant impact on the battery usage and temp. It's now moving between 32
But the CPU usage looks like the attachment now (steady at 69% and 49-52ºC).
Is this normal?
I have little idea since this is the first time I've checked CPU usage stats and total load.
https://forum.xda-developers.com/t/...to-google-play-services.4406617/post-87182961
blocking these hosts can also help. maybe you should try another kernel
Kostaaa? said:
(Temp. fix:root reqd.) High CPU usage and battery drain due to Google Play Services.
Google Play Services is causing high CPU usage and massive battery drain( >25%/h) continuously. Battery temps. cross 40°C in no time. The issue persisted upon rebooting the device. Had to finally freeze it. In FKM, I/O section shows constant...
forum.xda-developers.com
read this forum. it helped me
Click to expand...
Click to collapse
Thanks man. Now I'm back on Project Elixir and my idle is at 30C. It takes games to reach 39C now.

Categories

Resources