BUG: Battery eating

Report bugs & feature requests for MediaMonkey for Android and learn about the newest beta build.

Moderator: Gurus

botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

BUG: Battery eating

Post 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.
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: BUG: Battery eating

Post by jiri »

It should be fixed in the latest release, can you confirm please?

Thanks,
Jiri
Uberjew666

Re: BUG: Battery eating

Post 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.
guest

Re: BUG: Battery eating

Post by guest »

All i can find is android media server in list not mma. And the server is not taking much power at all.
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: BUG: Battery eating

Post 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!
Uberjew666

Re: BUG: Battery eating

Post 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.
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: BUG: Battery eating

Post 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
Uberjew666

Re: BUG: Battery eating

Post 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.
BigInJapan
Posts: 201
Joined: Mon Jan 02, 2012 10:42 pm

Re: BUG: Battery eating

Post by BigInJapan »

Was this after a large sync or a failed sync or anything like that?
Remember when Last.fm had those cool imagegen charts for use in signatures?
Jonny2284
Posts: 18
Joined: Tue Jul 03, 2007 2:27 pm

Significant battery usage AFTER syncing

Post 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?
Last edited by Lowlander on Thu Apr 11, 2013 10:11 am, edited 1 time in total.
Reason: Merged with existing post
BigInJapan
Posts: 201
Joined: Mon Jan 02, 2012 10:42 pm

Re: BUG: Battery eating

Post by BigInJapan »

Rampant speculation on my part here, but I think that's Android refreshing its own internal media store.
Remember when Last.fm had those cool imagegen charts for use in signatures?
Jonny2284
Posts: 18
Joined: Tue Jul 03, 2007 2:27 pm

Re: BUG: Battery eating

Post 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?
BigInJapan
Posts: 201
Joined: Mon Jan 02, 2012 10:42 pm

Re: BUG: Battery eating

Post 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?
Remember when Last.fm had those cool imagegen charts for use in signatures?
jiri
Posts: 5433
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: BUG: Battery eating

Post by jiri »

BigInJapan, could you please clarify your device and OS version? I'll review whether we have any associated logs here...

Thx,
Jiri
BigInJapan
Posts: 201
Joined: Mon Jan 02, 2012 10:42 pm

Re: BUG: Battery eating

Post 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.
Remember when Last.fm had those cool imagegen charts for use in signatures?
Post Reply