Subsonic
Subsonic copied to clipboard
Battery drain
It's happened quite a few times since I upgraded to Nougat on my Nexus 6P.
Example: http://i.imgur.com/xBxpIAn.png
DSub doesn't have to be playing music for it to occur.
Can someone try out this apk and let me know if they see a brief toast onPause
when they exit the application? Pressing back or pressing home should both trigger it.
https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.1-fix.apk
"App not installed. This package appears to be corrupt."
Weird. I tried re-compiling it and uploading so try again. I imagine something just got corrupted when either uploading to dropbox or you downloading it.
Another user screenshot:
Sorry it's not working
Was able to install and saw the onPause toast when pressing back & pressing home on Android 6
Another user was able to install and verify that the onPause is still being called correctly on Android 7: Just installed. I do see it when I exit by hitting back, by hitting home and when selecting exit from the daub home screen context menu. That last one it the only one that pauses the music though. I also see it a few other random times like entering the settings menu but that also doesn't pause music.
Maybe I wasn't able because I'm enrolled in the beta?
It might be that simple. Here are a couple of apk's based off the latest Beta code. The first one upgrades the support library to the latest version made for Android 7.0. The second one just removes casting functionality to see if something is going wrong with that.
https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20BETA%20Upgrade%20Support%20Library.apk https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20BETA%20Remove%20Cast.apk
I am also looking into buying a a Nexus 5x to directly debug. Can you think of any options you normally change which are different than the defaults? While there are quite a few people reporting this, it definitely is not as high as it should be if everyone was experiencing this. I'm trying to think of anything which could narrow down what the issue could be.
Are these supposed to give me any toast messages? I installed the apk files.
No they are not supposed to give toast messages. I just want to see if they still give you a huge battery drain while running them. And you can only have one installed at a time. Which one did you install and have you been noticing the same issue so far?
http://i.imgur.com/RwigkGi.png http://i.imgur.com/4eFpm55.png No drain yet on the apk that removes casting functionality. The initial wakelock with the screen off was because I was playing music with DSub.
Another user has verified that the old version of DSub 5.2.2 works fine without the battery drain. If you are not seeing any battery drain with that version without casting functionality, I would try https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20BETA%20Remove%20DLNA.apk. This version ONLY removes DLNA casting functionality. Upgrading the library I use for DLNA casting was the only change related to casting I made between 5.2.2 and 5.3.
PS I am trying to get more people on this thread so the testing isn't all on you/so we can get more data.
The battery drain for me only shows up when DSub has to fetch something from the server to play. If I am in offline mode or I play only cached music, battery usage is fine. My hacky work around has been to cache what I want to hear and then force kill DSub, this seems to keep battery usage down quite a bit. If you have something specific you want tested, please let me know (I have Nougat on a Nexus 6p).
I purchased a Nexus 5x, but didn't realize it only came with a USB C -> C cable. I won't be able to do any more debugging on this for a couple more days until Amazon delivers some A -> C cables.
@daneren2005 should we be testing that 5.3.2 beta with DLNA removed? I see the same battery drain on a Pixel running Nougat.
Yes that would be good. I bought a nexus 5x but am unable to reproduce the battery drain. Is anyone able to list their settings so I can see what I might need to set differently?
I get 'The package appears to be corrupt' trying to install that no-DLNA package. I tried downloading the file from my computer too, to be sure, same thing.
There's no settings export in DSub, is there?
I forgot I have done an update since I put that out so the versions don't match. I will have to recompile them again. No there is no export. I will have to see how long it would take to make one
Here are some different test versions: DLNA removed: https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20Remove%20DLNA.apk Chromecast removed: https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20Remove%20Chromecast.apk All casting removed: https://dl.dropboxusercontent.com/u/23354647/DSub%205.3.2%20Remove%20Casting.apk
I found the same issue where dsub was using a proportionally high amount of battery%. I installed the All casting removed package and have thus far seen a marked improvement in battery usage. Before it was not unusual to see 15-20% usage for dsub, but thus far I haven't even seen it show up in the battery usage monitor since updating.
I've been using the DLNA removed version the last couple of days, seems good but I want to give it a little more time.
I've been experiencing the same battery drain since I'm on Android 7, and also Android 7.1.1 on my Nexus 6P. The test version without any casting seems to be fine, no battery drain so far. For the record. On one day battery usage for Dsub could be 20%, without actually using it, and the main usage of the app would be the Wifi connection. Now, after using Dsub listening to music for an hour it's only on 1% of battery usage.
DLNA removed
version seems to do the job here.
It's good to know the root issue is with DLNA. I am trying to figure out what the root issue is
5.3.3 Is a battery drainer as wel.
Since I have the same issues with the current release, I will install the non cast version and report.
I can confirm that running with "DSub 5.3.2 Remove DLNA.apk" the battery drain is gone. My phone is no longer smoking hot and the battery is back to respectable times!
I know that the issue is not "Fixed" but I am glad my favorite music streamer is working properly again.
Thanks @daneren2005
5.3.3 is still sucking the battery dry.
@QuillOmega0 I don't think that @daneren2005 ever said that 5.3.3 was fixed. Turn off auto updates in the play store for dsub, then install one of the known working versions that are listed in this issue. I am sure once there is a workable update to solve the drain issues there will be a 5.3.4 release.