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

Closing apps when locking screen (root)

Discussion in 'Android Apps & Games' started by Troxny, Jan 11, 2016.

  1. Troxny

    Troxny Lurker
    Thread Starter

    Hi everyone!
    I'm using a Samsung Galaxy s6 with SuperSu. Rooted. I've tried to find an app that will close all apps when I lock the screen, but so far i haven't been able to find one that actually works. There is at least one I know that would do this for me, DU Battery Saver Pro, but it does not ask for root permission no matter what I do, so it won't work. Do you guys know any that would work?

    Thanks :)

    1. Download the Forums for Android™ app!


  2. androidmachine

    androidmachine Android Enthusiast

    Why do you want an app to close apps when locking screen? Also, why is it important that it asks for root access? Finally, I have to say that DU Battery Saver is a suspect app for many people.

    It general, Android takes care of closing out apps on its own. You don't need to close apps.
    Crashdamage likes this.
  3. Troxny

    Troxny Lurker
    Thread Starter

    I have noticed if it doesn't ask for root access it can't do the jobs that require root (auto close apps, auto turn off data, etc). I have noticed apps like skype will always stay awake and leech my battery, even if I close it or force stop, it will just start again right away. It was not possible to close skype prior to rooting because it is a system app on S6, now I can use apps to close it. It will save me from a lot of battery drain if I'll be able to close certain apps automaticly, namely Skype/facebook/messenger. These apps together probably use around 30% of my battery while I'm not even using them.
  4. androidmachine

    androidmachine Android Enthusiast

    Read this thread start to end and you will see why you don't want to kill apps.
    Crashdamage likes this.
  5. androidmachine

    androidmachine Android Enthusiast

    Also, do those apps really use 30% of your battery or do they use 30% of the percentage used by all apps.
  6. Troxny

    Troxny Lurker
    Thread Starter

    30% of all apps. I don't want these apps to run and at the end of the day see that they have taken a big chunk out of my battery even though I haven't used them at all. I want to use my phone like a computer, if I want to check facebook or messenger I go onto it, and then close it. 0% battery drain after that.
  7. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    It doesn't work like that on Android, if you force close an app the system thinks it should keep open, the system will open it again which will use more battery than leaving it running or cached in the background.

    The best way to stop these apps eating in to battery as much is to turn off syncing and notifications.

    Have you updated to Marshmallow yet? If yes, that has a feature called "Doze Mode" which will stop apps from syncing in the background. Alternatively, with root, take a look at apps called Greenify or Amplify which do much the same thing.
    androidmachine and Crashdamage like this.
  8. Troxny

    Troxny Lurker
    Thread Starter

    Hey thanks for your reply. I still haven't gotten Marshmallow yet.

    I'm aware that some apps will start up again immediately if you try close them.
    I've been trying Greenify a little, however I haven't been able to install Xposed Framework yet.

    The experimental feature "Greenifying system apps" : Deprive system apps of immunity to hibernation, make most of them greenifiable. This sounds like what I am after. It's working very well with the other non system apps, I've disabled facebook, skype and messenger, added some other apps and I'm now getting way better battery life, I think it'd last 3-4 days like this instead of 20 hours.

    So yeah, I am looking forward to getting Marshmallow since I heard it has this feature.
    The problem for me is that these system apps are immune(even with root access), you can't really touch them, they just pop up right away if you close them, I haven't found apps that can deal with that except maybe greenify with exposed.

    I've never had syncing on, but notifications, yeah..
  9. steiny180

    steiny180 Android Enthusiast

    If you know the apps that suck the battery and they can be closed, have a look at AutomateIt at the play $tore.

    Create a rule that triggers on locking the screen, with a close application action.

    Great little tool.

Share This Page