Save Android Battery Power Easily Forcing Deep Sleep With Tasker

Everyone loves to save the battery power of our Android phone or tablet.  There are many apps on the Google play store to save the battery power on your device. However some of them are questionable. They eat lots of your device resource.

We can easily save the power by forcing our Android device into deep sleep mode. It’s not necessarily mean that, turn the screen off. If the screen off, your phone, a tablet may be woken. In the deep sleep, all your phone and/or tablet scheduled tasks are disable and let the device to sleep. It’s a perfect power saving mode. Apart from that, if you have the root permission and unlocked bootloader, you can install a good battery friendly kernel.

In my situation, my phone deep sleep prevent by the auto sync. Most of the situation, this is the major issue for almost all the user.  In some situation, your device installed apps awake your device.

In this tutorial, I’m going to show you how to force your device into the power saving, deep sleep mode when it’s necessary.

This post I’m going to use the Tasker automation application. The main reason that I use it for it doesn’t need large resource on your device. In my past experience, this application doesn’t use considerable power and RAM. The main important of use a Tasker, is it can do all these tasks automatically. Though it’s not a free app, you have to pay US $ 3 – 4.

If you’re not familiar with it, it’s a paid app that can automatically run selected actions on your Android device. If you are not familiar with the Tasker, you can get a good idea by referring my previous tutorial in here.  Apart from that, you can use Better Battery Stats to track apps that are preventing the deep sleep.



How to save Android phone, tablet battery power ( life) easily.


Make a deep sleep variable profile with tasks.

First, you need to make a tasker profile to add a Variable. This profile trigger other necessary profiles.


  • Name this profile as “Sleep Variable”
  • Tap “+” and select a Event. Display>Display Off


This profile should have in and exit tasks.

In Task.

  • Navigate to “Task>Wait” [ MS:0 Seconds:0 Minutes:10 Hours:0 Days:0 ]  ( In this situation, your device force to deep sleep after 10 minutes)
  • Then select “Task>If”
  • Next go to “Task>Wait” [ MS:0 Seconds:0 Minutes:4 Hours:0 Days:0 ]
  • Select “Variable>Variable Clear” [ Name:%DS Pattern Matching:On ]
  • Next navigate to “Variable>Variable Set” [ Name:%DS To:1 Do Maths:On Append:On ] If [ %SCREEN ~ Off ]
  • Select “Task>End If”.



Make a Deep Sleep Variable Exit profile.



  • Name this profile as “Sleep Variable”
  • Tap “+” and select a Event. Display>Display Unlocked [ Priority: Highest]



  • Select  “Variable>Variable Clear” [ Name:%DS Pattern Matching:On ]
  • Choose  “Variable>Variable Clear” [ Name:%DS_On Pattern Matching:On ]
  • Go to  “Variable>Variable Set” [ Name:%DS To:2 Do Maths:On Append:On ]
  • Navigate to “Net> Auto-Sync” [ Set:ON]




Make deep sleep Task.

  • Name:- Deep Sleep
  • Go to “Tasks>If ” [ %SCREEN ~ off ]
  • Next “Net> Auto-Sync” [ Set:Off ]
  • Then  “Net> WiFi” [ Set:Off ]
  • Go to  “Mics>GPS” [ Set:Off ]
  • Navigate to  “Net> Bluetooth [ Set:Off ]
  • Go to  “Task>Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
  • Choose  “Net> Mobile Data [ Set:Off ]
  • Then go to  “Variable> Variable Set [ Name:%DS_On To:1 Do Maths:On Append:On ]
  • Go to “Task>End If”.




Make deep sleep task run profile.


In this profile, we have to add in and exit tasks.

In Task.

  • Go to “Tasks>Perform Task” [ Name:”Deep Sleep”, Stop:Off, Priority:10] If [ %SCREEN !~ On ]


Exit Tasks.

  • Next “Variable> Variable Clear” [ Name:%DS, Pattern Matching:On ]
  • Go to “Variable> Variable Set” [ Name:%DS, To:2 Do Maths:On Append:On ]




Disable Deep Sleep Task.

This task useful for disable the deep sleep profile when it’s not necessary. For an instance, when you’re downloading large files or apps, it’s better disable it. Because above profile can disable the internet connection.

There are mainly two ways to do it. By identifying background running app or manually by click on the widget. In order to automatically identify the background apps, Tasker need the root permission, If you don’t have, you can do it by using the following steps. If you have the root, you can follow my this tutorial [Please wait, few hours to make that profile].


  • Go to “Task>Profile Status” [ Name:”Deep Sleep Variable”, Set:Off ]
  • Next go to “Task> Profile Status” [ Name:”Deep Sleep”, Set:Off ]
  • After that go to “Alert>Flash” [ Text:”Profile Deactivated”, Long:On ]
  • Name this task as “DS Disabler “.
  • Select a desire icon.


Again create another profile to activate the above profile.

  • Go to “Task>Profile Status” [ Name:”Deep Sleep Variable”, Set:Off ]
  • Next go to “Task> Profile Status” [ Name:”Deep Sleep”, Set:On ]
  • After that go to “Alert>Flash” [ Text:”Profile Activated”, Long:On ]
  • Name this task as “DS Enabler”.
  • Select a desire icon.


Crate a Tasker widget.

Now you have to add the above created two tasks widgets into your home screen. You can do it by using following steps.

  • Go to your app drawer widget section.
  • Tap and hold the “Task” widget.
  • Next menu select the “DS Disabler” Task.
  • Then again add the second “DS Enabler” task.
  • Now you can disable above power saving profile anytime by click on that widget.


If you have any issue while creating or using this profile, you can ask it in comment section. I try my best to help.

error: Content is protected !!