1

When I turn the screen off on an Android smartphone, I want battery life to be conserved. Thus, I don't want any third-party apps running in the background, and I don't want the device periodically turning on WiFi (or connecting via 2G/3G/4G/5G).

I set up a test Android Samsung smartphone running Android Nougat, and installed just 25 popular apps. I set all 25 apps to "Always Sleeping" in Settings. I then let the device sit for 8 hours with the screen turned off. During those 8 hours, the Android device connected to a WiFi router 59 times and transmitted/received data each time.

I don't want to turn on Airplane Mode, because I still want the device to be able to receive and log incoming phone calls.

Is there a way to accomplish this with Android (on a non-rooted device)?

9
  • "Idle devices in Doze periodically enter a maintenance window, during which apps can complete pending work (syncs, jobs, etc.).". That's how Doze works in Android. So that cannot be altered without modifying source code. Keep WiFi off if you are concerned about that. Preventing apps running in background is possible: Disable autostart on boot and restrict background execution Commented Mar 4, 2020 at 19:15
  • @IrfanLatif Thanks. If I turn WiFi off, won't it just connect via cellular data? Commented Mar 4, 2020 at 19:18
  • Actually I meant keep internet connectivity off i.e. WiFi, Mobile Data, Ethernet or any other mode of connectivity. Commented Mar 4, 2020 at 19:26
  • @IrfanLatif Ah, thanks for the clarification. I wish Google (and Samsung) made it easier to toggle data. It's buried deep in the Settings. Even with all connectivity turned off, will the background apps keep waking up the device (even though the screen doesn't come on)? (Note: I haven't finished reading the content from link you kindly provided.) Commented Mar 4, 2020 at 19:31
  • You don't have a tile to turn off Mobile Data like WiFi? // Yes apps keep running in background (if allowed by permissions) irrespective of internet connectivity (but their activity is reduced e.g. no notification fetches, no syncs etc.) Commented Mar 4, 2020 at 19:36

2 Answers 2

1

As discussed in comments

  • You want to make sure that the device enters doze mode quickly and disconnect wifi / mobile data when the screen is off. Aeroplane mode is not an option because you need to be able to make /receive calls.

  • You can achieve that by Naptime app:

  • Naptime lowers your device's power consumption while the display is off by empowering Android's built-in doze power saving functionality.

  • Faster idle means less power being consumed uneccessarily. By default doze can take a while to kick in so Naptime just speeds-up that process automagically for you.

  • It can also automatically disable W-iFi, mobile data, location & bluetooth as soon as doze kicks in.

In addition, Naptime can also help in enabling doze while in motion (phone in your pocket and you are walking).

It requires root but for unrooted devices it works with elevated privileges through adb commands given in app instructions.

This is a one time process and need not be applied on reboot (AFAIR).

You can identify such apps and decide on suitable alternatives.

  • As a second line of defense, in case you aren't happy with Naptime, try, Greenify is another useful app that can come in handy to tame troublesome apps. This works with unrooted devices with adb privileged permissions. Alternatively, you have an open source app Brevent that works as well but adb privileged permissions are required after a reboot. IMHO, with improved Android battery management in recent versions, you may not need this line of defense at all.

  • Also see this for more Disable autostart on boot and restrict background execution

-1

I do it by disconnecting from data, WiFi & Bluetooth, then turning on airplane mode & power off.

Can also go to the dialer pad and dial *#*#4636#*#* (star-pound-star-pound-4636-pound-star-pound-star), tap phone information and scroll down to enable radios, and move the selector to the off position.

3
  • 2
    OP doesn't want to turn on Airplane mode. How turning off radio would put the device to sleep? Commented Mar 5, 2020 at 0:29
  • U must not have seen last 2 words. "Power Off" device after these items.
    – Nick
    Commented Mar 6, 2020 at 0:04
  • Ok. But OP doesn't want to power off the device. The requirement is to get better battery performance by increasing sleep time. Commented Mar 6, 2020 at 0:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .