Page 1 of 2

BUG: Battery eating

Posted: Sat Mar 23, 2013 5:21 am
by botijo
Hi,
I noticed that sometimes MMA is being kept alive a while after the music has stop. For example, I was listening to some music while I walked home last night and MMA notification icon was still showing. The reports on battery usage says MediaMonkey was taking over 70% of the juice. It briefly reported MediaMonkey as *wakelock*.
As far as I know, the strange thing I tend to do is to disconnect the headphones in order to go into pause mode. That is, I do not turn on the phone screen to activate the pause mode.
I am running out of ideas. Let me know if there is any experiment I could try.

Mobile phone: Google Nexus S
Andriod version: 4.1.2, latest available, non rooted

Thanks.

Re: BUG: Battery eating

Posted: Tue Mar 26, 2013 2:55 pm
by jiri
It should be fixed in the latest release, can you confirm please?

Thanks,
Jiri

Re: BUG: Battery eating

Posted: Wed Mar 27, 2013 8:20 am
by Uberjew666
Updated to latest, battery bug still present.

MM is top on the list with 39% usage, everything else is between 10%-1%. MM hasn't been used at all.

Re: BUG: Battery eating

Posted: Wed Mar 27, 2013 9:19 am
by guest
All i can find is android media server in list not mma. And the server is not taking much power at all.

Re: BUG: Battery eating

Posted: Fri Mar 29, 2013 6:36 am
by botijo
Jiri,
So far so good. Mediamonkey process is down the list, as it should be. I noticed that the screen lock widget in this pre 4.2 Android phone is killed very soon after playback stops. I am OK with that, and probably is related to fixing this battery bug.
I will post here again if I ever encounter the same trouble.
Thanks for your prompt update!

Re: BUG: Battery eating

Posted: Wed Apr 03, 2013 8:16 am
by Uberjew666
This bug is still present and mainly active whilst wifi is enabled but not connected to any wifi network, only 3G. MMA was active for 1 hour and consumed 30% battery before I noticed and forced close.

Re: BUG: Battery eating

Posted: Thu Apr 04, 2013 3:05 am
by jiri
How exactly does it exhibit the bug? Is it that MMA icon is still shown in the tray, even though MMA doesn't play?

Jiri

Re: BUG: Battery eating

Posted: Thu Apr 04, 2013 5:01 am
by Uberjew666
I don't use MMA for music playback, I use another app. I only use MMA for syncing music wirelessly. I had taken my phone off charge and left the house for work and after an hour and a half, I noticed my battery was at 70% (at this time, it's usually around 90%+) when I checked, MMA was awake and had been for an hour.

Also, I turn airplane mode on whilst in work otherwise my battery will really drain.

Re: BUG: Battery eating

Posted: Thu Apr 04, 2013 8:14 am
by BigInJapan
Was this after a large sync or a failed sync or anything like that?

Significant battery usage AFTER syncing

Posted: Thu Apr 11, 2013 10:08 am
by Jonny2284
Recently started using MMA and just run into a little issue. Up to now I've only been syncing a handful of things across as my phone was a secondary media device, my ipod recently broke so I'm looking towards using my phone with MMA as my primary audio device and found as it stands right now something is stopping this from being viable.

Last night I synced a large portion of my library (the 25gb most played items onto a 32gb microsd card) to the device (A Galaxy S2 on android build 4.0.4), the syncing completed overnight (with the phone plugged into a mains charger the whole time) without incident.

Took the phone off charge when it was time for work and listened to a few tunes on the way to work. Didn't notice until after a couple of hours at work (approx 3 hours after taking it off charge) the battery is under 50%, at this point I noticed on the main MMA screen the circle next to the search button is turning as if it's still processing something, which I'm presuming is the cause of the issue, but the data usage menu says MMA has only used a few kilobytes so whatever it's doing doesn't appear to be network related.

The android battery usage screen is listing Media Monkey as having used 47% of the battery with "Medaiserver" having used a 16%, the screen having used 8% and the rest being used by the normal android offenders in smaller amounts.

Any idea what it's actually doing that's annihilating my battery life and what I can do to make it workable?

Re: BUG: Battery eating

Posted: Thu Apr 11, 2013 11:15 am
by BigInJapan
Rampant speculation on my part here, but I think that's Android refreshing its own internal media store.

Re: BUG: Battery eating

Posted: Thu Apr 11, 2013 12:13 pm
by Jonny2284
The android media scanner refresh had finished within minutes me unplugging the phone though, Just to get a reading on the time I just had Doubletwist delete it's database file and force a rescan, everything scanned and available in a mere 78 seconds, also available quite readily in rocketplayer and VLC running it's own scan of the device took a slightly longer but still workable 5 minutes, 7 seconds. So it comes to back to the question of what additional information is MMA working through that these players seemingly don't need?

Re: BUG: Battery eating

Posted: Mon Apr 15, 2013 2:18 pm
by BigInJapan
Jonny2284 wrote:The android media scanner refresh had finished within minutes me unplugging the phone though
ah, thanks for clarifying that.

So I too see the spinning wheel wait cursor on the main screen near the search icon for a long time after large syncs to my external card and would be interested to know why that is. I hadn't associated that with battery drain, but that's probably just b/c I've lately been pretty habitual about having chargers everywhere. I did a big sync this morning and left it off the charger afterward. The sync completed a few hours ago, the wheel is still spinning, and the battery does seem to be draining faster than usual, although I can't really quantify that meaningfully. I just sent a debug log, if that helps.

Anyone else know anything about this?

Re: BUG: Battery eating

Posted: Wed Apr 17, 2013 1:54 am
by jiri
BigInJapan, could you please clarify your device and OS version? I'll review whether we have any associated logs here...

Thx,
Jiri

Re: BUG: Battery eating

Posted: Wed Apr 17, 2013 9:04 am
by BigInJapan
It's a Sprint Motorola Photon. Also known as MB855. Thanks to a locked bootloader, I'm running the stock Motorola ROM based on Android 2.3.5.