MMA drains battery

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

Moderator: Gurus

Rudhan
Posts: 12
Joined: Sun Nov 01, 2015 10:56 am

MMA drains battery

Post by Rudhan » Fri Apr 21, 2017 2:22 pm

Android 6.0.1
Samsung Galaxy S5
MMA 1.3.0.0693

I have noticed that since some time does my battery drain faster than earlier, I can see that it seem to be MMA that causes that. It consumes battery even when I am not listening. Another problem, maybe related, is that the notification never goes away even though I have set to show the notification for three minutes of MMA being inactive.

I have restarted my phone without luck.

If I force close MMA does the battery last longer.

Anyone else noticed this?

Thanks,
Tomas

dtsig
Posts: 2813
Joined: Mon Jan 24, 2011 6:34 pm

Re: MMA drains battery

Post by dtsig » Fri Apr 21, 2017 5:24 pm

Same setup ... except 692
No problems here
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig

Peke
Posts: 11045
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: MMA drains battery

Post by Peke » Sat Apr 22, 2017 4:54 pm

4 Devices using version 694 no increase in battery drain.
Best regards,
Pavle
MM Core Developer and Admin of free MediaMonkey extensions Hosting
Image
Image
How to add Images to forum

frankz
Posts: 81
Joined: Tue Jun 22, 2010 12:53 am

Re: MMA drains battery

Post by frankz » Sun Apr 23, 2017 7:38 am

I'm seeing the same thing here. Phone has been off charger overnight for 5 hours and 15 minutes, Media Monkey not running or doing anything, but Stay Awake in battery is 5h 15m and CPU use is 1h 14m.

v 1.3.0.693
Galaxy S8
Android 7.0

rusty
Posts: 7106
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: MMA drains battery

Post by rusty » Tue Apr 25, 2017 10:43 pm

Thanks for the reports. This is fixed in build 695, currently posted as a beta to the Google Play store.

-Rusty

frankz
Posts: 81
Joined: Tue Jun 22, 2010 12:53 am

Re: MMA drains battery

Post by frankz » Thu May 04, 2017 9:28 am

This is still happening to me intermittently on 695 (Galaxy S8 / Android 7). At times MM will disengage fine, at others it will do a "Keep Awake" during the entire overnight period when neither it nor the phone itself are in use at all.

The only way for me to be sure it doesn't happen is to "Force Close" before bed.

Is there any information I can provide that can help track down why this is happening?

If it matters, I do all of my listening via casting, which I've found to be quite finicky getting started and stopped (both on my S8 and my 2013 Nexus 7 and previously on my S6). I'm wondering if it isn't related to this in some way. Anyone else who does a lot of casting seeing battery drain when MMA should be idle?

Peke
Posts: 11045
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: MMA drains battery

Post by Peke » Tue May 09, 2017 9:27 pm

Try to use latest MMA version and if it still happens and you are sure that MMA was not closed Send us log and write its ID here so that we can tweak if needed.
Best regards,
Pavle
MM Core Developer and Admin of free MediaMonkey extensions Hosting
Image
Image
How to add Images to forum

Rudhan
Posts: 12
Joined: Sun Nov 01, 2015 10:56 am

Re: MMA drains battery

Post by Rudhan » Wed May 10, 2017 2:47 pm

I can confirm that 695 is working as expected. Thanks for your excellent support!

/Tomas

frankz
Posts: 81
Joined: Tue Jun 22, 2010 12:53 am

Re: MMA drains battery

Post by frankz » Wed May 10, 2017 4:48 pm

Peke wrote:Try to use latest MMA version and if it still happens and you are sure that MMA was not closed Send us log and write its ID here so that we can tweak if needed.
This is from when I woke up after 5 hours 51 minutes of the phone not being in use and off the charger overnight, after doing a "Close All" programs before bed...
Image

Version is 695.

I've restarted the phone since, but I'll send a log next time I notice it.

martin.bohac
Posts: 76
Joined: Thu Nov 14, 2013 5:23 pm

Re: MMA drains battery

Post by martin.bohac » Fri May 12, 2017 8:23 am

Yes, if issue persists in some cases, debug log would be useful.

MrWGT
Posts: 6
Joined: Tue May 31, 2016 4:29 am

Re: MMA drains battery

Post by MrWGT » Wed May 17, 2017 3:10 pm

I've the same problem, that 695 keeps sometimes running "in the backgound". After some hours it's the highest consumer of current. Only a "force close" solves it.

A solution would be fine - could a debug log help in that case? If yes, how to make one... Never made it... :-?

Gerd

Lowlander
Posts: 44262
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: MMA drains battery

Post by Lowlander » Thu May 18, 2017 11:20 am

Yes, from About screen when you're seeing this.

Do you have Crossfade enabled?
Lowlander (MediaMonkey user since 2003)

MrWGT
Posts: 6
Joined: Tue May 31, 2016 4:29 am

Re: MMA drains battery

Post by MrWGT » Fri May 19, 2017 2:01 am

Uploaded log "ZDUSDY21ZP"

1) Listened to music yesterday evening.
2) Music stopped by themself (last tracked finished)
3) Closed mediamonkey over "Taskmanager / close all apps" (Samsung S7 Edge)
4) 1h40 after charging mediamonkey already used 1% of battery, CPU 14m58s, CPU foreground 18s, Stay awake 55m18s, received 1068 bytes over WLAN, send 1921 bytes over WLAN, used battery 53mAh.

Can it be, that some "upnp stuff" ist running in background?

martin.bohac
Posts: 76
Joined: Thu Nov 14, 2013 5:23 pm

Re: MMA drains battery

Post by martin.bohac » Fri May 19, 2017 12:23 pm

From the log I can see client com.google.android.wearable.app is binded to MMA (it means browsing tracks from AndroidWear). Until the client is binded,playback service can't be destroyed and stays awake.
Did you use AndroidWear?

trptmd
Posts: 2
Joined: Sun May 21, 2017 8:54 am

Re: MMA drains battery

Post by trptmd » Sun May 21, 2017 9:02 am

I have the same issue, running MMA build 699 (beta) on a Galaxy S8 using Android 7.0.

See debug log ID UX3A9H9AXU.

According to the battery tab on settings, I have had the phone on for over 27 hours. The use details for MMA show CPU total 2h 45m 9s, Stay Awake 8h 15m 34s, computed power usage 268 mAh.

Thanks for your help!!

Post Reply