1. Are you ready for the Galaxy S20? Here is everything we know so far!

Apps in foreground, screen off - battery drain

Discussion in 'Android Devices' started by paulsalter, Aug 12, 2012.

  1. paulsalter

    paulsalter Newbie
    Thread Starter

    wasn't sure how to title the thread so hope this one is ok

    Last night I decided to listen to a podcast just before going to sleep (about 39 mins in length)

    I started it playing, in the default google music player and then put the screen to sleep

    when i woke up this morning the battery was on 5%

    I checked under battery for anything using it but nothing seemed out of the ordinary, except the little chart at the bottom showing the device had been awake most of the night

    would leaving an app like this open and then turning the screen off consume a lot of battery even if its not playing anything?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. binary visions

    binary visions Android Expert

    Under the battery, what was the big chunk of usage? Was it "Medaserver"? Or an application?

    Properly written apps should not keep the device awake when they are in the foreground, if they're not active.
     
  3. paulsalter

    paulsalter Newbie
    Thread Starter

    thanks for reply

    I have since charged so cannot check again, but i dont remember anything out of the ordinary in there, checked app usage and they had all been only active for at most a couple of hours (same as i normally see)

    the only difference that stood out was the bars at the bottom 'Awake' was nearly a solid line, so assumed this was the app left on screen

    been 4 hours since i charged it and battery is down to 80%, so whatever it was is not doing it now

    will check again in the morning to see if anything strange happened
     
  4. binary visions

    binary visions Android Expert

    The reason I asked about "Mediaserver" is because that's the process that runs when the audio output is being used.

    If you find out that's what is using all of the battery, it's because the Google Music app is either not letting go of the audio hardware when it's done playing, or it went ahead and played something else after the podcast was over - all night.
     
  5. paulsalter

    paulsalter Newbie
    Thread Starter

    cheers, will try playing something else again and see if i can replicate it
     
  6. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

    I'm having a problem with media server as well.
    [​IMG]

    Wake lock= 120 :eek:
    I don't have Google play music (or ANY music on the tablet at all)

    I don't even have a music player installed ATM. Is there a way to get a more specific idea of what exactly mediaserver is doing?
     
  7. binary visions

    binary visions Android Expert

    All audio goes through Mediaserver. Are you playing games, watching movies, etc.?
     
  8. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

    Nope. Nothing involving any audio. No notifications, no movies, no music, nothing

    Hmmm..... today its not even on the list. I uninstalled Quickpic, and changed/removed/froze some unnecessary crap... seems to have cleared it up, and improved battery life too :)
     
Loading...
Similar Threads - Apps foreground screen
  1. ramsbottom
    Replies:
    2
    Views:
    158
  2. diuz
    Replies:
    0
    Views:
    190
  3. Satyam Mobile Infotech
    Replies:
    0
    Views:
    203
  4. App Update
    Replies:
    0
    Views:
    180
  5. App Update
    Replies:
    0
    Views:
    160
  6. dorlow
    Replies:
    1
    Views:
    174
  7. faisalmshaikh
    Replies:
    1
    Views:
    285
  8. RazaCodeRepo
    Replies:
    4
    Views:
    350
  9. Ranjeet Dahiwade
    Replies:
    1
    Views:
    658
  10. eeu53571
    Replies:
    0
    Views:
    306

Share This Page

Loading...