PowerAmp starts and closes after boot on PX5 device - Android Q&A, Help & Troubleshooting

Hi,
I am currently facing an odd issue with PowerAmp on my PX5 headunit. I have placed my music on the internal flash and set everything so that in theory PowerAmp should resume playing after the unit re-starts. What happens instead is:
- sleep for short time, PA starts playing right where I left it, or somewhere around, that's ok
- deeper sleep/hibernation: PA starts playing where I left it and closes immediately after that
I am using the Hal9k ROM which also features some options to keep apps "running" during standby and it also can re-start apps and services. But I tried different settings and the behaviour is as expected. If I remove PA from the "keep active" list, it remains closed after re-start. If I set it on the re-start after standby list, it starts from scratch. If I leave it on the "keep active" list, it does the start and close thing.
How can I determine which app or which setting can cause this? Is there a way of logging the commands PA is receiving? In the options it always says that the last command it received was "resume".
Thanks in advance!
Sebastian

Related

Music Applications launch randomly

When I first installed tasker, I set up a task to launch Music, Pandora, and Audible when my bluetooth helmet was connected. I didn't realize they would boot simultaneously. Anyway, I removed that task. But now those three applications launch randomly.
I can't get it to consistently repeat, but it seems to happen only when tasker is running, and (maybe) when there is a state change. i.e. plug in usb, change locale, etc
I have completely removed that task, and have used "Autostarts" to disable any weird instances of app starts, but could not find anything.
Do you guys know of any way to prevent this from happening?

Sudden Battery Drainage

I understand all these battery drain issues that the prime has been having but haven't actually had them, until now. I used to lose about 2-3% overnight but suddenly I am losing around 15% because it won't sleep. I go into the battery setting and it shows it been awake the whole time. Now I am sure if I looked around I may find a fix but it just seems a bit odd that it has just suddenly occurred. And its not a wifi drainage issue as I usually put it to sleep at power saving mode and wifi off. Just asking why?
Thanks,
I think it could be the Asus weather widget which I had set at 1 hour refresh rate.
if this just recently occured out the blue, likely a rougue app or something you recently installed. an app running in background or sync is likely the culprit.
Just put Skype on it but that's not signed in most of the time
every android tablet and phone i have does this occasionally, and those occasions are when i either play video or music. some of these media players employ a wakelock that will not disable after you put your device to sleep. sometimes a reboot will work, sometimes not. most of the times the reboot keeps it from draining. even force quitting all my media apps wouldn't work.
so basically i reboot every time i use any type media player so i don't get the drain - netflix doesn't require it, dice and just about every music player does. i'm not sure it this may be your problem, but it may be a possible solution.
I find that making sure to check the last two settings under Asus Customized Settings helps this. I was waking up in the morning to find my dock dead everyday before I checked those two settings. The only down side is when I turn the screen on and wake it up, it takes about 5-10 seconds to connect to the wifi. No biggie.
Use better battery stats and see what is causing it. I have read that skype does drain battery pretty bad. And even if you're not connected it still runs in the background at start up. Another app I would recommend is Autostarts. It allows you to disable apps at start up. I know system tuner is free and has the same functionality but I find Autostarts better. With ST, you just disable the app at start up, with Autostarts you can disable it at start up, shutdown(which some apps fire when the tab is being shut down and other system events), also other events. Like some apps fire up when you get a text, or when your connection changes etc.. I just think Autostarts has more options.
Also dev Entropy has a thread in the GS2 forums about know battery drainers. Some of it applies specifically to the GS2 but there are a bunch of general battery killers listed
http://forum.xda-developers.com/showthread.php?t=1308030
If you go to setting and battery it should show you which is using the most battery. The first one on top. If its android system, you can click on it and it will show you a list of whats been using your battery which may point you to the culprit. In my case, media was the only thing in the list. And I know if an SDcard is inside my dock it will drain battery. So after removing it the drainage went away. Havent had the drain issue since. Again yours might be different so check the battery usage.
Thanks for the feedback guys, the first thing i am gonna do is charge it up after it fell flat right up to 100% then try some suggestions. I am thinking a reboot could help it.

Tasker profile becomes inactive after phone is idle for 10 minutes

Hi all,
I have an AT&T Samsung Note 3 SM-N900A running Android 4.3 (baseband version N900AUCUBMJ5, kernel v3.4.0-1625098). I rooted it using Kingo, installed Tasker (with Secure Settings plugin), and created 2 profiles: one with a 'Home' location context, and one with a 'Work' location context. In the 'Location Edit' map screen for each, I set a pinned location w/ a radius of 200m. I also de-select 'GPS' (leaving only 'NET'), since I don't want GPS enabled all the time (to extend battery life). I confirm that these work when I'm actively using the phone.. the profile becomes active when I'm at the specified location (as expected). I know it's active because it's displayed in the Notification Panel (and it's also shown in green in the Tasker profiles list).
The issue I'm having is that after ~10 minutes of idle time (i.e. when the display is off and I'm not using the phone), I find that the profile is no longer active when I turn the display back on and start using the phone again. I confirmed that this *doesn't* happen after 1 minute, 2 minutes, nor 5 minutes… only > 10. I also confirmed that it happens for both profiles consistently. However, as soon as I start Tasker again from the Apps Drawer (or from Recent Apps screen), the profile is immediately activated again, and my Enter task is re-run.
I enabled the run log in Tasker prefs, but it basically shows a clean activation of the profile (with no warnings or anything that looks weird to me).
I know there's a 10-minute timeout in the Display Off Monitoring prefs, but that doesn't seem to be related to my issue. I tried reducing the All Checks Seconds from 600 to 90, rebooted the phone, and it still took ~10 minutes before the profile would become inactive after the phone being idle.
Any thoughts as to what the culprit might be? Are there any system logs I can look at that might shed some light here? I'm new to Android, and this seemed like the place to ask..
Thanks.
Ok, not solved..
Alright, bumping this, as the problem is back again after some time.
Has anyone ever seen Tasker exhibit the behavior I described? Again, I start the phone and Tasker profile is active, let the phone go idle for >10 minutes, the profile is no longer active and I need to restart Tasker manually to make it active again.
Still trying to figure out what logs are best to look at..

[Q] Disable Power Management Tips?

I've seen a few other threads for other devices on these rather annoying messages popping up, but the solutions in those don't seem to be valid anymore.
The two main solutions I found were to disable notifications for the apps "Extended Standby Mode Controller" or "Eco Mode Controller", but I have no such apps listed under Apps -> All so it seems they may have changed the name. I did search for com.Extended and com.Eco, along with com.sonyericsson.Extended / Eco but again, no luck there.
Normally these are a mild annoyance, but recently I've been using my phone more for YouTube, and if I get a notification whilst watching a fullscreened YouTube video, the notification bar and soft buttons don't vanish, meaning the top and side of the video are cut off. The only way to get away from that is to totally close the YouTube App and re-open it. This is annoying in itself, but watching YouTube videos means I'm more and more getting Power Management tips as the battery is run down.
Anybody know what the app controlling these notifications is called on the Z2? I'm running 4.4.4 rooted.
If you can't find which system app is notifying, did you try keep press on popped up notification and tap app info?
I haven't yet, but I'll give that a try the next time one pops up. To be honest, I had no idea I could do that
I use that method often. It works for me to finding app of the causing notification.
Well I was able to locate the App using that method, the app is "STAMINA mode", however even though I've turned off "Show Notifications" I still get the bloody Power Management Tips.
And the option to Disable the app is greyed out.
For now I've tried clearing the cache and Force Stopping it, but I suspect it will start running again later, or at the very least will need stopping whenever the phone is restarted.
I am rooted, so I suppose I could remove it, but I'd be worried about it potentially affecting the Sony ROM somehow.
https://play.google.com/store/apps/details?id=com.aboutmycode.NotificationsOff
Give it a try friend..
Lagamorph said:
Well I was able to locate the App using that method, the app is "STAMINA mode", however even though I've turned off "Show Notifications" I still get the bloody Power Management Tips.
And the option to Disable the app is greyed out.
For now I've tried clearing the cache and Force Stopping it, but I suspect it will start running again later, or at the very least will need stopping whenever the phone is restarted.
I am rooted, so I suppose I could remove it, but I'd be worried about it potentially affecting the Sony ROM somehow.
Click to expand...
Click to collapse

Spotify + bluetooth audio disconnects

I use Spotify in my car and have set it to manually manage and allow it to run in the background..
However, the audio always cuts off to after a while after the screen goes off.
When I wake the phone I see Spotify still playing (audio via fone now, but this means it's kept running in background which is good) and Bluetooth remains connected to the device. It's like the android system just stops sending audio via Bluetooth after a while
Does anyone know how to solve this? My only workaround now is to keep the phone awake via an app like Google maps...
I'm on mate 10 pro. 8.0.0.131 c636
Sent from my BLA-L29 using Tapatalk
Same for me with deezer app and car audio which hadn't any disconnects on my other mobiles. No help though....
I tried to change the codec in developer options, which didn't change. I hadn't any bluetooth cutoff since then (couple of days now). Maybe coincidence.
I have discovered the same problem just today (my mate pro is fairly new). It is clearly a software bug. It also fails to update the track name on my car stereo - still shows the first track name even several tracks in.
To get it playing again I turned Bluetooth on and off. Quite annoying. I hope it gets fixed.
happens on my P10, happens on my mate10 pro as well.
It's not a bug, just unintuitive EMUI.
Fix Launch settings for Spotify and add the app on the "Ignore battery optimization"-list under Special Access menu.
It can be difficult to find. Search for "Special" and it will pop up, or click
Settings/Apps & notifications/Apps/Settings/Special Access/ignore battery optimization/
vembryrsig9 said:
It's not a bug, just unintuitive EMUI.
Fix Launch settings for Spotify and add the app on the "Ignore battery optimization"-list under Special Access menu.
It can be difficult to find. Search for "Special" and it will pop up, or click
Settings/Apps & notifications/Apps/Settings/Special Access/ignore battery optimization/
Click to expand...
Click to collapse
I did try this and it still doesn't work.
I don't think it's an issue with the app itself as this also happens on stock music app on stock launcher.
Audio cuts out, plays via the phone speakers so the app itself isn't being optimized or shutdown.. Seems like the Bluetooth function is though
Sent from my BLA-L29 using Tapatalk
I set spotify up with battery optimisation off and with manual launch in battery settings as part of my initial set up. That is not the cause of this Bluetooth problem, unfortunately.
Mine cuts off regardless of app and screentime... so even if i am playing music behind navigation, the bluetooth audio still pushes via the phone after a while
bluetooth still showing connected to the device.
The issue seems resolved for me, but don't know exactly what fixed it.
The only 2 things I did was to manually manage all apps(battery settings), prevent almost all apps from running in background except the audio apps (music/Spotify, and other impt widgets.. Which was already done previously)
And reset defaults on developer mode (not that i changed anything)
See if u guys have any luck with this
Sent from my BLA-L29 using Tapatalk
Hey guys,
Greetings from a Mediapad owner. (EMUI should have it's own subforum)
I first experienced this issue, or a similar issue for myself a few days ago - audio would cut out with the screen off, and would be choppy at best with the screen on (but my music player in the background). The music player itself would stay open, and as soon as I put in the foreground, audio would resume from where it left off (i.e. playback would be paused while the app was in the background).
I am also looking for insight. My suspicion is that EMUI's launch feature is responsible for killing an Android system process related to media, bluetooth, and/or battery optimization in this instance. Launch only allows you to specify preferences for user apps; system apps are managed automatically by Launch no?
Here is the insight I can provide:
This issue went away for me as soon as I plugged in a charger. Connected to a charger, EMUI's battery optimization is apparently less aggressive.
After trying random things, I once again attempted to stream music in the background without a charger plugged in. Eventually, the issue fixed itself. I am not sure if I did anything to accomplish that, however there are two things that may have contributed:
As with another poster above, I tried to change the bluetooth driver in Developer Settings. I was unsuccessful and there was no change for a while after.
The other thing I did, is I found what I think is the standard Android battery usage screen that EMUI hides from us, and I played around with it. This screen showed me that "Android System" was not set to ignore battery optimization. I tried to change that and couldn't. Really, I didn't change anything, but in this process it is possible that an Android system app relating to battery optimization may have been reopened after having been killed off?
The only way I know how to access that screen btw, is to download an app titled 'pNutsAnySettings' and then click on the tile with the battery percentage on it.
I had exactly the same issue with my Mate 10 pro in my car. Audio would cut off from car and continue playing on the phone but the car said it was still connected to the phone. I had the same kind of issue with my Garmin Forerunner watch which would constantly disconnect throughout the day meaning I missed smart notifications.
I found on another thread (Cant remember what one) that if you have root, use Titanium Backup to freeze the Power Genius app. Since doing this a few weeks ago I have not had the issue again in the car and my Garmin now stays connected all day and night
djclark25 said:
I found on another thread (Cant remember what one) that if you have root, use Titanium Backup to freeze the Power Genius app. Since doing this a few weeks ago I have not had the issue again in the car and my Garmin now stays connected all day and night
Click to expand...
Click to collapse
I read that same thing as well - but freezing the Power Genius app (via Xposed Edge Pro) didn't help in my case. Maybe it would have if I had rebooted, or something.
In any event, I believe that freezing the Power Genius app partially if not fully disables EMUI's launch feature, which I generally like...
This problem returned for me last night. I turned bluetooth off and back on again. That fixed it.
My mate 10 Pro does this too. 2011 Camaro SS with MyLink conversion. I go into BY, hit the info icon and disconnects the media playback then reconnect it. Works for a few days. Comes back. No clue why
(Unrooted stock btw)
Update: I finally disabled Power Genius and rebooted. No more pesky issues and if anything my battery life has improved. Only differences I observe (on my Mediapad): there are no longer 'app usage' battery stats inside the EMUI settings app (I can access them by other means), and Launch now needs to be managed through the Settings app (rather than the App Info screen).
thref23 said:
Update: I finally disabled Power Genius and rebooted. No more pesky issues and if anything my battery life has improved. Only differences I observe (on my Mediapad): there are no longer 'app usage' battery stats inside the EMUI settings app (I can access them by other means), and Launch now needs to be managed through the Settings app (rather than the App Info screen).
Click to expand...
Click to collapse
What app now
leo72793 said:
What app now
Click to expand...
Click to collapse
The app you need to freeze or disable is Power Genius. It's a component of EMUI. It won't show up in your main app list, but if you are rooted you can use an app like Titanium or Service Disabler to do the trick. If you aren't rooted - this is a prime example of why people root.
If that's what you were asking?

Categories

Resources