toc icon indicating copy to clipboard operation
toc copied to clipboard

Investigate resource usage spikes on android devices

Open lewisl9029 opened this issue 9 years ago • 8 comments

Saw the app at top in android power usage after running for a few days.

lewisl9029 avatar Sep 29 '15 23:09 lewisl9029

Looks like it was caused by using silent mode for the background-mode plugin and the app re-initializing itself over and over again.

lewisl9029 avatar Sep 30 '15 08:09 lewisl9029

Looks like that wasn't the only cause. Saw it happening again with the new release build, along with almost constant network usage. Saw almost 0 cpu and network activity in debugger though... And restarting the app fixed it...

Reopening for tracking but seems like it might be an issue with some native code (cordova or plugins).

lewisl9029 avatar Oct 02 '15 22:10 lewisl9029

Disabling autostart for now due to this.

lewisl9029 avatar Oct 06 '15 10:10 lewisl9029

Background mode plugin might be causing this. Try https://github.com/Viras-/cordova-plugin-powermanagement

http://developer.android.com/reference/android/os/PowerManager.html

lewisl9029 avatar Oct 06 '15 13:10 lewisl9029

Might have been fixed by #412 Havent seen it since. Might have had something to do with using external urls for notification icons.

lewisl9029 avatar Oct 09 '15 10:10 lewisl9029

Saw this again. Might have been #409

lewisl9029 avatar Oct 09 '15 12:10 lewisl9029

It wasnt... still seeing it after removing badges plugin.

Removing background-mode plugin for now as a workaround?

lewisl9029 avatar Oct 09 '15 16:10 lewisl9029

Wasn't that either... I have no clue what could be happening...

lewisl9029 avatar Oct 23 '15 04:10 lewisl9029