brontok / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

App using CPU when running in the background while audio is stopped. #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start the NPR News app.
2. Play some audio.
3. Stop the audio.
4. Hit the home button to leave the app.

What is the expected output? What do you see instead?
I'd expect that CPU usage would be at 0% since it isn't doing anything anymore. 
It's usually around 7-10%.

What version of the product are you using? On what operating system?
I'm using version 2.0.2 on Android 2.2

Please provide any additional information below.
I guess this could be the desired functionality so that Android doesn't kill 
the program and lose buffered audio. If that is the case, there should really 
be a stop button so that the battery doesn't get eaten up when you're done 
listening.

Original issue reported on code.google.com by tra...@traviswcarter.com on 18 Jun 2011 at 11:30

GoogleCodeExporter commented 8 years ago
To be exact, I'm running Android 2.2.2 on a Motorola Atrix. (I forgot to list 
the phone model in the initial post and didn't know if it'd be helpful to have.)

Original comment by tra...@traviswcarter.com on 18 Jun 2011 at 11:35

GoogleCodeExporter commented 8 years ago
Do you have a log or some read out so we can see this a little more?

Original comment by jpenn...@gmail.com on 2 Aug 2011 at 8:42

GoogleCodeExporter commented 8 years ago

Original comment by jpenn...@gmail.com on 17 Oct 2012 at 11:03

GoogleCodeExporter commented 8 years ago
Hopefully improved. But because of how the android OS works and what our app 
needs to do, there are going to be some processes happening in the background.

Original comment by jpenn...@gmail.com on 19 Feb 2013 at 8:35