Any way to auto enable power saving mode on Nougat? - Samsung Galaxy S7 Edge Questions and Answers

Hi
Just curious if there actually is a way to auto enable the power saving mode at a % like 20%. Missing this feature from Marshmallow. Anyway to do this either with Tasker or root? It would be nice to automatically squeeze the last battery out.

Tasker can do it. I tested it out its working fine on mine. Android 7.0 tasker with root permission
Tasker create task. Action category System> Power Mode. Select power saver.
Then go to Profile and make a profile State>Power>battery Level
Select your levels and then select the task you created earlier.
It might ask for root access the first time if you didnt give it access before.

Related

[Q] How to create Power Saving button?

Hi there,
I am looking for a way to create a button that enables power saving mode: turning off wifi, nfc, 3g, sync, set lowest brightness… And with same button I can set the normal mode again. I would like it to be in the quick settings but if it is not possible it is okay.
Any suggestion?
I am running rooted stock.
Apps
alturigo said:
Hi there,
I am looking for a way to create a button that enables power saving mode: turning off wifi, nfc, 3g, sync, set lowest brightness… And with same button I can set the normal mode again. I would like it to be in the quick settings but if it is not possible it is okay.
Any suggestion?
I am running rooted stock.
Click to expand...
Click to collapse
Hi Alturigo,
There are apps in the store who can save battery by turning off wifi, 3g etc. with widgets. https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en&hl=nl
You can use airplane mode too but it disable phone calls.
Going one by one I can already do it (quick settings, widgets), but I want a single button that will switch off everything I want with one click.
I expected to find this in GravityBox (it has everything!) but if there is an option I don't see it.
Any easy way or I need something like Tasker?
i will tell you about my set up. i have automatic brightness, that works for me
i have gravity box for toggle 3g/2g on data on/off
i have auto sync free to enable all sync when wifi is on.
everything else can be toggle on off by gravity box toggle on notification area (i have the option to open setting on drop down menu if there are on notifications). you can also find some toggle programs on the play store

App or feature to schedule UPSM

Day 1 with phone and first charge didn't make it through the night. The ultra power saving mode sounds really promising - anyone seen an app or feature that could set UPSM on and off on a schedule? Or auto-enable it at say 10% power? I hope that's not obvious in the settings and I missed it, I couldn't find anything like it.
Tasker maybe?
Sent from my SM-G900V using Tapatalk
It's hard to believe Samsung didn't build that feature in. But they didn't. Taker is a good idea, someone give it a try.
Sent from my SM-T320 using Tapatalk
I bought Tasker and installed to try it out. I was able to set up a profile with tasks for standard settings like radio, bluetooth, mobile data. But I don't see a way to access UPSM as an action. The ability to launch Settings and click a button seems to require root. SecureSettings plugin didn't seem to add any new abilities that would help with this. I'm not too familiar with Tasker so if anyone has an idea on a method to execute upsm I would try it. Seems like samsung would at least put in the option to auto-enable at a certain percentage battery remaining.
Close but no cigar
While im no tasker guru, i have had slight sucsess through starting UPSM. The profiles starts when the batery is below 10% but only launches the UPSM setting screen. Its found under: App/Launch App and you need st select all in the bottom left. This only launches the setting screen, you then need to enable it and select okay. I have been trying to find a way to pass arguments to UPSM but lack the knolege...
I was going to ask the same questions.
Have you had any success on making UPSM turn on automatically at night?

Ultra Power Saving Mode

Hello guys,
I just purchased the S5 and it is a very impressive phone. With that said I am very intrigued by the new "Ultra Power Saving" mode. Here are my two questions:
1) Is there a way to get emails working (Exchange) even if that means that they get only checked every x minutes compared to push mode? I don't have the option to enable Email but when I received a notification and I clicked on the email notification, the email app opened but after a couple of seconds the phone just rebooted itself.
2) Is there a way to enable BlueTooth Gear Manager? BlueTooth is an option within the Ultra Power Saving mode but I cannot start Gear Manager.
If I could get those 2 items working I would be super happy and I would only switch to the normal mode for advanced functions.
Thanks in advance guys.
What I do is I have lmt and use that to use all the apps.It takes around half the battery it takes on normal.As far as Bluetooth is concerned I don't think u can.If this works on htc Iam sure lmt with root would work on S5
Sent From HTC One Android Revolution 62.0 KitKat 4.4.2. Sixth Sense
hmmmm
There must be an easier way. The list of allowed apps in Ultra Power Saving mode must be stored somewhere. If we could add the "email" app to that list this would take care of the first problem and maybe the second one too.

[GUIDE]How to get the best battery life possible on your Moto G

Hi all,​
Renewable Energy, batteries and efficient electricity is somewhat of a hobby of mine, and Android is another. So, I have combined the two to bring you better battery life. I have achieved 0.0%/h battery drain on idle with my Motorola Moto G 2 XT1068, running AOSP 5.1.1 and I am writing this tutorial to show you how you can potentially do the same on your device, without a significant sacrifice in functionality to your device.
This tutorial can very easily adapted to suit any rooted Lollipop phone with Xposed installed, the only major differences would be in the ‘Amplify’ section and for this you can have a look at this and this for guidelines on wakelocks and alarms for other devices.
First of all, I would to say that following this tutorial does not guarantee you the exact same battery life that I have gained. There are SO many different variables that can effect your battery life including the device you are using, the ROM you have installed, the apps you run and the amount of time you use your screen. Two very useful apps for measuring battery usage are BetterBatteryStats and Wakelock Detector
You should stay away from the so called ‘battery saver’ apps that flood the play store. At best most of them will simply have no effect, at worst they will drain your battery even further. See this for more details.
This tutorial is not just for root users. If you have not achieved root on your device, you can still use the tips in 'basic ROM settings', much of the tasker section (Anything involving secure settings requires root) and some of the greenify features.
For this tutorial you will need 7 apps:
Tasker
Greenify
Amplify
Intelli3G
Secure Settings (Tasker Plugin)
MinMinGuard
Kernel Adiutor
If you are having trouble starting Amplify you may need SELinux Mode Changer set to permissive in order for it to work, although according to the developer, as of v3.0.5 you shouldn’t have any problems.
For all the apps except tasker you will need a rooted device, and you will need the Xposed Framework installed for Greenify, Amplify, Intelli3G & MinMinGuard.
Remember, the steps in this tutorial are just guidelines. If you find that particular parameters aren’t working for you, you can change them.
NB THIS THREAD IS NOT FOR Q&A ON THE SPECIFIC WORKINGS OF THESE APPS. IF YOU ARE HAVING TROUBLE WITH THE APPS THEMSELVES, PLEASE HEAD OVER TO THESE RELAVENT THREADS:
Tasker
Greenify
Amplify
Intelli3G
MinMinGuard​
DISCLAIMER: I do not accept responsibility for any device or application failures resulting from the use of any of these apps​
But before we go into the use of these apps, I'll go through some basic ROM settings and how they may effect your battery life
Basic ROM Settings​
The biggest battery drain on devices are screen on time/brightness, WiFi/Data & GPS. Therefore, it makes most sense to get those basic settings right before you do anything else.
Screen/Display:
Screen brightness is the big killer of batteries. The more light that you send to the screen, the more power you need to use. Simple. On a similar principle, dark themes will use less power than light themes, that is why all the old android themes were black with white writing, to save on battery consumption. It is true that AMOLED screens have the most to gain in savings from using dark themes, but regular screens will also benefit.
There is an xposed module called 'Minimum Brightness' which will allow you to reduce the brightness on your phone to levels below that normally allowed by your ROM. This is very handy, especially if you, like I do, use your phone at night in bed (and don't want to wake your sleeping partner). It has the added bonus of saving battery power by sending less power to the screen. The module can be installed directly from the Xposed Installer. Don't forget to activate the module and reboot. Once you have it installed there won't be any additional app in the drawer, the module just uses the standard brightness slider and alters the applied values.
Believe it or not, but the phone’s auto rotate function can potentially use quite a lot of battery power. Having auto rotate enabled uses about 3-5% CPU power constantly. Contrary to popular belief (mostly bandied about by task killer app devs), high RAM usage has very little impact on battery life, rather it is CPU usage that is the real killer. Do your battery a favour and turn off the auto rotate unless you need it. I have a tasker profile set to only auto rotate my screen when maps is launched.
Turn off Auto Brightness. More often than not, auto brightness overcompensates for the amount of light that is in a room, turning up the brightness more than you actually need, plus it is another sensor that is always running and using up CPU. Set your screen to the lowest setting you feel comfortable with and only turn it up when you go outside.
Alteratively, if you can't live without auto brightness, use gravitybox to change the auto brightness settings to levels that suit you.
I am firmly in the habit of pressing the power button to turn off the screen when I put the phone down, but for those of you who are not, that is why we have screen timeouts. Set it to 2mins, or less if you are comfortable with that.
WiFi/Data/Sync:
By default, even when your WiFi is switched off, your phone scans for WiFi networks in the background. This understandably uses battery power that could be better used elsewhere. To switch off this feature, go to:
Settings > WiFi > Menu (3 dots in upper right corner) > Advanced > Scanning always available > Off
There is another option in this menu also: ‘Keep WiFi on during sleep’. This option doesn’t matter if you are following the Tasker part of this tutorial because later we will be creating a profile which will automatically override this option. If you are not following the Tasker Section however, you could check this box for extra battery savings.
Notifications are something we all take for granted as users of smartphones. But we don’t really need as many of them as we get. Have a think of all the notifications you get and see if you can live without any of them. Every app that is sending you notifications is another background process using up your battery power.
You can also turn off autosync and use tasker to control the phone sync settings instead (see tasker section below)
Settings > Accounts > Menu (3 dots in top right) > Auto Sync: Off
Background data uses up battery life and if you are on a limited data plan, turning off background data for unnecessary apps can help here too. Go to Settings > Mobile Data and select the apps you wish to restrict.
Location:
This is probably the simplest one. Turn it off. You don’t need it on all the time. Turn it on when needed, or create a Tasker profile that will turn it on for you when you launch certain apps.
Bluetooth:
While bluetooth is not quite the battery hog it was a few years ago, it still does use up battery life that could otherwise be saved. Turn it off or set up a tasker profile to intelligently handle the service.
Other Settings:
OK Google/Google Now - The always on microphone and the constant background data sync is a big battery drainer. If you are a user you should decide what is more important to you, better battery life or the convenience of the app.
Motorola Apps - They are also big battery drainers. If they are on your device and you don't use them, freeze them with an app like titanium backup.
Native Phone Battery Saver App - If you are following the rest of this tutorial, turn it off. You’ll no longer need it as you’ll be replacing everything it does with stuff that Tasker can do and it will just be yet another app running in the background that you don’t need.
Smart Unlock/Face Unlock - Yes its cool, but unnecessary. Front camera on to save your poor finger the trouble? What do you think that is doing to your battery life? Switch it off.
Window animations will also drain the battery, you can turn those off by going to Settings > Developer Options and turning off 'Window Animation Scale', 'Transition Animation Scale' and 'Animator Duration Scale'. I tend to leave them on because I like the look of them
Live Wallpaper - Possibly the most pointless thing I have seen on a smartphone. If you are reading this and have a live wallpaper, you should know better. Shame on you.
Vibrations - Turn them off too, every shake uses battery life.
---​
Advanced ROM Settings​
CPU Governor:
Another setting that will effect your battery life is the cpu governor that your ROM uses. You can check out what governor your ROM uses by downloading an app like Kernel Adiutor. Depending on the ROM and Kernel you are using, you will have different options for different governors. Take a look at this guide to help you choose the right governor for you.
CPU Frequency:
The speed that your cpu runs at also has a huge effect on the battery life of your device. I have left my maximum frequency at 1.19ghz, but reduced my minimum frequency from 787mhz down to 300mhz. This was, again, using Kernel Adiutor.
Multi core Power Saving: Enabled
*Notes: You must have root in order to change CPU settings and the Stock kernel has only very limited options to change CPU settings.
Hotplugging:
Intelli_plug is a total replacement for Qualcomm's proprietary mpdecsion.
it hotplugs/unplugs cpu cores based on load demand of the system.
mpdecision is a closed source proprietary solution from Qualcomm and it's not very efficient at hotplugging/unpluggng cpu cores leading to hotter cpu and poorer battery. Intelliplug is a complete OPEN Source solution to mpdecision and it is done in kernel instead of userspace (which it has to poll the kernel in order to make its decisions therefore inherently slower than in kernel solution like intelliplug).
MPDecision: Off
Intelliplug: On
Profile: Conservative
Touch Boost: Off
Hysteresis Value: 8
Threshold Value: 350
Set Maximum Screen Off Freq: 600mhz
GPU:
Max Freq: 450mhz
Governor: simple_ondemand*
Simple GPU Algorithm: enabled
Laziness: 5
Ramp: 4
*Similar to CPU governors, the options may be different for you depending on your ROM/kernel
Other Tips:
The standard Facebook app uses a lot of battery, and has many privacy issues. There is another app called 'Tinfoil for Facebook' that is an amazing alternative, and uses absolutely no battery when its not being used. Only catch is, there's no facility for push notifications. Which is fine by me. I always have them off anyway.
---
OK, now that we have all that covered, lets move on!
Tasker​
I shall go through battery saving techniques using Tasker first, because it is a straightforward install via the Play store and does not require the Xposed Framework. For this section of the guide all steps are the same whether you are running KItKat or Lollpop.
Tasker is an awesome app and hugely useful for many things within android. The basic principle is that it will automate many tasks for you based around parameters that you set, such as time, phone state, applications launched etc.
Once you have Tasker installed, you should head back to the play store and install ‘Secure Settings’, which is an extra plugin and adds even more functionality to Tasker. Then you need to head to Settings > Security > Device Administrators and ensure the Tasker box is checked.
Now you can open the Tasker app and you shall see this screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For the purposes of this tutorial we shall just be using the ‘Profiles’ and ‘Tasks’ tabs. The Task is what you want to happen, and the Profile is when you want it to happen.
We shall start by creating a task to set the phone to go automatically into airplane mode at night. This is a great battery saver if, like me, you don’t turn off your phone at night. I shall go through this task in detail so you get a feel for the UI. Then I’ll type the same tutorial out in shorthand. All the rest of the profiles will be done in this way.
Airplane Mode At Night:
1In the profiles tab, hit + at the bottom of the screen.
2Enter new profile name. I called this one ‘Airplane Mode At Night’ *
* If Tasker does not automatically ask you to name your profile directly after hitting '+', on the profiles screen, hit the menu button (3 dots in top right) and select Preferences > Main Screen > Check the box that says 'Ask for new profile name'. That will fix it so that the order in this tutorial is correct.
3Select ‘Time’
4Choose the time you wish airplane mode to start in the ‘from’ section, and choose the time you wish airplane mode to finish in the ‘to’ section. Leave the ‘repeat’ checkbox blank.
5To save, you must press the Tasker icon in the top left of the screen. This will bring you back to the main screen with a popup menu.
6Select ‘New Task’ and call the task ‘Airplane Mode On’
7This will bring you to another new screen, once again, click the + at the bottom of the screen.
8A new menu will pop up, ‘Select Action Category’. Go ahead and press ‘Plugin’ > ‘Secure Settings’.
9 You will now be in the ‘Action Edit’ Screen. This allows you to set parameters for this particular Action. Click the Pencil icon beside ‘Configuration’. This will open up the secure settings screen.
10Under ‘Root Actions’ Click ‘Airplane Mode’ and select ‘On’. Then save. You will automatically be taken back to the ‘Action Edit’ screen. Save this task as you did before, by clicking the Tasker icon on the top left of the screen.
11Now, you are almost done. But first, you need to create an exit task for the profile. That way Tasker knows to revert back to normal mode at the exit time.
12Under the Profiles Tab find your profile and click it once to expand it out. Long press on the ‘Airplane Mode On’ task and then choose ‘Add Exit Task’. Call your exit task ‘Airplane Mode Off’
13Now you are going to go through steps 7 to 10 again, but instead of selecting Airplane Mode ‘on’, you are going to select ‘off’. When you are finished, save your exit task. That’s it! You have created your first Tasker Profile. You can toggle this profile on/off from the profiles tab, so if there’s a particular night you might be expecting a call you can turn it off.
Shorthand:
Profile: Airplane Mode Off At Night
Time: 0000 to 0800
Task:Airplane Mode On:
A1 (Action 1): Plugin > Secure Settings > Root Actions > Airplane Mode > On
Exit:Airplane Mode Off:
A1: Plugin > Secure Settings > Root Actions > Airplane Mode > Off
Click to expand...
Click to collapse
WiFi Off At Night:
Now for the next Battery Saver Tasker Profile, WiFi Off At Night. Before Tasker I often would forget to turn off my WiFi before I went to sleep, and if I was somewhere without my charger this could be a real battery drain for me overnight.
Profile:WiFi Off At Night
Time: 0000 to 0800
Application: (Invert) Moon Reader, Yatse
Task:WiFi Off:
A1: Net > WiFi > Set: Off
Exit:WiFi On:
A1: Net > WiFi > Set: On
Click to expand...
Click to collapse
On that profile I added an extra qualifier, to do this create ‘Time’ first and save it. Then create your task, the same as you did on the previous tutorial. Once your task is created and saved, you can go back and long press on time in the profile and click ‘Add’. It is inverted because I am telling Tasker that as long as the time is between 0000 and 0800 and these applications are NOT running, it is ok to turn off the WiFi. You can configure these apps whatever way you like, this is just what suits me, because I might often be using my phone as an XBMC remote after midnight and I need my WiFi connection for that. Alternatively I might be reading, in which case Moon Reader syncs my page position to Google Drive so all my devices have the same location for whatever book I am reading.
Screen Off With Periodic Data/WiFi:
This profile saves a lot of battery by only having data, WiFi and sync switched on when you need it, i.e. When the screen is on. If the screen is off it will automatically turn off connectivity, but will still periodically re-enable it for background notifications such as email and Viber etc.
This is quite a complicated one to roll into one single profile, so, to make it easier I have split it into five separate profiles. Other people may suggest other ways of doing this, feel free to do so. (If a better way is suggested that is just as easy for noobs I’ll change this post to include it and give the poster credit).
Profile 1: Screen Unlocked/Data On
Event > Display > Display Unlocked
Time: 0801 to 2359
Taskata On:
A1: Plugin > Secure Settings > Actions > Run Command > 'svc data enable' (Root: Yes)
---
Profile 2:Screen Unlocked/WiFi On
Event > Display > Display Unlocked
Time: 0801 to 2359
Task:WiFi On*
---
Profile 3:Screen Off/Data Off
State > Display > Display State > Is: Off
Time: 0801 to 2359
Taskata On:
A1: Plugin > Secure Settings > Actions > Run Command > 'svc data disable' (Root: Yes)
---
Profile 4:Screen Off/WiFi Off
State > Display > Display State > Is: Off
Time: 0801 to 2359
Task:WiFi Off*
---
Profile: Ping Net On
State > Display > Display State > Is: Off
Time: 0801 to 2359 & REPEAT EVERY 29mins**
Task: Ping Net On
A1: Net > Auto Sync > On
A2: Net > WiFi > Set: On
A3: Task > Wait > 30 Seconds
A4: Net > WiFi > Set: Off
A5: Plugin > Secure Settings > Actions > Run Command > 'svc data enable' (Root: Yes)
A6: Task > Wait > 30 Seconds
A7: Plugin > Secure Settings > Actions > Run Command > 'svc data disable' (Root: Yes)
A8: Net > Auto Sync > Off
Click to expand...
Click to collapse
This last profile has many actions in it. You can test out more complicated profiles by pressing the play button in the bottom left of the screen. I have set this up so that it will turn on WiFi first and sync my notifications (Viber, Email etc) for 30 seconds, then if I am out and about and there is no WiFi it will also turn on mobile data for 30 seconds.
* Use the same task that you created earlier to save on doubling up on tasks
** You can set this to repeat however often you like, but bear in mind that the shorter the repeat interval, the less effective it will be at saving battery life.
For other Tasker tutorials and profile ideas, please see these links:
HollywoodFrodo Tasker Tutorial Series
Pocketables Tasker Tutorials
TechSplurge 15+ Awesome Tasker Profiles
Greenify​
Greenify is a very useful app and a great battery saver. Basically what it does is hibernate any apps you are not using, while still maintaining full functionality of your device. What is the difference between this and other task killers you might ask? Well, lifehacker describes this perfectly:
It's important to note that Greenify is not a task killer (which you shouldn't use anyway), and it doesn't "freeze" apps. The apps that Greenify hibernates are still usable if you want to switch to them, and you can still pass data to them as though they were running. When you switch back to them, it's like you never left. Greenify just keeps those apps from launching new background processes (a problem with task killers) and you don't have to unfreeze or thaw an app to use it when you want to (a problem with "frozen apps").
Click to expand...
Click to collapse
To get full functionality of the Greenify app you will need to have the newest version 2.6.1 (at time of writing) from the play store, with donation package installed as well as the Xposed framework installed. Once you install the app from the play store don’t forget to enable it in Xposed and reboot before you try to use it. You can use this app without Xposed and the Donation Package, but you will only have very limited functionality.
Once you have the app open for the first time you should click the three dots on the upper right corner and select Experimental Features. Go ahead and click all of the checkboxes in here.
Now you want to leave the app and in your app drawer select Settings > Apps > Running. Note the apps that are using the most RAM on your device.
The trick with Greenify is NOT to ‘Greenify’ any apps that you want to receive notifications for, like Viber etc. (As of the latest release you can check a box in ‘Experimental Features’ which will allow phone calls and SMS/MMS messages through, so it is now safe to Greenify the Dialler and Messager apps)
To Greenify your apps, simply click on the + in the top right of the screen. This will open the ‘App Analyzer’ Click the 3 dots at the top right again and select ‘show all’, then go to the bottom of the page and click ‘Show more apps’. You now have a full list of all the applications and processes on the system. You can multi select apps in this app, simply work your way down the list clicking the apps you want to Greenify. The apps I have Greenified on my device are as follows, yours will obviously be different. I do not have gapps installed on my device and avoid Google apps and services as much as I can:
Download Manager
Google Play Store
SuperSU
ES File Explorer
Ivona TTS
WhatsApp*
Maps.Me
Textra SMS
Yahoo Weather
Wunderlist
Dialler
Tapatalk
Sim Toolkit
Click to expand...
Click to collapse
*WhatsApp is safe to greenify, and you'll still receive messages when your phone syncs according to your tasker settings, but Viber cannot be greeified as you will not receive messages when the app is in hibernation.
I could have Greenified the Motorola Services that are packaged as system apps too, but I have no need as I have used Titanium Backup to freeze them. If you do not need Facebook/G+/Twitter notifications you could Greenify these too. I haven’t got them on my list because I don’t have Twitter/FB/G+ accounts!
You can also create a tasker profile to automatically greenify apps when you switch the screen off and/or at certain time intervals if you prefer.
Profile: Screen off/Hibernate apps
State: Display > Screen Off
Task: Hibernate Apps:
A1: Plugin > Greenify > Hibernate Now > Configuration > All Greenified Apps
Click to expand...
Click to collapse
For more info on Greenify you can see this link
Amplify
Amplify is an amazing app. It controls how often apps and services can wake up your device and how long they will stay awake for. You will need the Xposed Framework installed and if you are on Lollipop and having any trouble you will need SELinux Mode Changer set to Permissive in order for it to work, although according to the developer, as of v3.0.5 you shouldn’t have any problems. You may also need to do a soft reboot from within the Xposed Installer if Amplify does not start.
Once again, to unleash full control of this app, you must donate to the developer. The donate buttons can be found at the bottom of the homescreen. Once you have donated, reboot your phone and you will be able to configure all of your alarms and wakelocks. There is a list of safe wakelocks, alarms and recommended times available on this database that is regularly maintained here
To configure your individual wakelocks and alarms, click the Amplify icon in the top left of the screen.
Select Wakelocks and you will get a full list of all wakelocks that are currently on your device. Click an individual wakelock to configure it:
My setup for my Moto G XT1068 is as follows:
(The numbers here refer to how many seconds interval amplify allows the process to perform a wakelock, not the amount of wakelocks)
Wakelocks:
LocationManagerService - (2400)
Network Stats - (2400)
CheckinService - (2400)
GpsLocationProvider - (600)
Wakeful StateMachine:GeofencerStateMachine - (600)
GCoreFlp - (2400)
SyncLoopWakelock - (600)
Icing - (900)
StartingAlertService - (240)
*net_scheduler* - (2400)
UlrDispatchingService - (240)
Fingerprint_scanner_static - (240)
Fingerprint_scanner_local - (240)
NlpWakelock - (7200)
CdmalnboundSmsHandler - (240)
LocationService - (600)
Config Service Fetch - (600)
SystemUpdateService - (9999)
Alarms:
Com.android.internal.telephony.data-stall - (600)
com.android.server.WifiManager.action.START_SCAN - (300)
com.google.android.intent.action.GCM_RECONNECT - (240)
com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION - (600)
android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED - (600)
com.google.android.gms./com.google.android.location.internal.AnalyticsSampler - (1200)
Click to expand...
Click to collapse
Please note, I haven't got gapps installed on my phone so there are several other wakelocks and alarms that are safe to modify on our devices that are gapps related. Please see this post by @matzeko for extra Moto G 2014 wakelocks and alarms that you can use on your device.
WARNING: Modifying Wakelocks and Alarms can potentially cause apps to stop working and in some cases your device may even fail to boot. In such an instance you will need to disable the module at boot. To do this you have to repeatedly tap one of the hardware buttons (Power, Volume, or Home) on your device during startup. During boot, your device will vibrate twice when it detects the first key press. You'll then have five seconds to press that same button four more times, with each keystroke producing a short single vibration. After ending with a long vibration, your device will disable and prevent most of Xposed's actions, allowing you to go back to Amplify settings and fix whatever it was that you broke.
For more information on Amplify , and for detailed questions about the running of the app, please head over to the Original Amplify Thread
Intelli3G​
Intelli3G was designed to save battery by intelligently switching your phone between 2G and 3G depending on the parameters that you set. 2G is a far less power hungry network type (You may have seen the difference in battery life in manufacturers specifications between 3G and 2G talktime). It will not change the network type if you are in the middle of a call. (If it did your call would drop). You can install Intelli3G via the play store, just remember to activate the module and reboot after installation.
FIRST ENSURE THAT YOUR CARRIER SUPPORTS 2G NETWORKS​
Play around with the settings for yourself and see what way you like it to be set up.
I have mine set up as follows:
- Toggle to ‘Slow Network’
- Power Saving Network Mode: (GSM only)
- Fast Network Mode: (WCDMA Preferred)
- Service - (On)
- Power Saving Network Options:
- Screen Off - (Yes)
- Delay - (0)
- Don’t Interrupt Downloads - (No)
- Don’t Switch On Good Network - (No)
- WiFi Connected - (Yes)
- Data Disabled - (Yes)
- Fast Network Options:
- Screen On - (No)
- Screen Unlock - (No)
- App Launch - (Yes)
- Select any apps that need a faster connection (IM apps generally don’t, unless you also use them for VOIP)
- Charger Connected - (Yes)
- WiFi Disconnected - (No)
- Data Enabled - (No)
Click to expand...
Click to collapse
So basically, the only time the 3G network is being used is when I have no WiFi access, the screen is on, and particular apps (for me it is Opera Browser, Flipboard, VOIP calling, Play Store, K9 Mail) are open. At all other times the phone is using the 2G network and saving a LOT of battery life. If there are other apps that you use that you need a faster Internet speed for, you should add these to your list too.
---
MinMinGuard​
I'm tagging this section on to the end because I have no more reserved posts
I have added an ad blocker to this tutorial because of an article I read in Forbes:
"Apps powered by advertisements can eat up as much as 33% more energy than those without while draining significant amounts of a phone’s central processing unit and network data, according to a new study from the University of Southern California and Rochester Institute of Technology. The drain from the ads also contributes to higher costs for phone users with limited data plans, as well as key drops in average app rating scores for developers."
MinMinGuard is the best Ad Blocker that I have come across BY FAR, you just have to remember to manually configure the settings for any new app you install. It couldn't be easier, install MinMinGuard via the Xposed Installer, reboot the phone, then from within the select the apps that you want MinMinGuard to monitor and block ads on. And it just works. There is no grey empty space where the ad should have been, MinMinGuard compensates for this (see the original app thread linked in the OP).
---
So, there is my tutorial for achieving maximum battery life out of your device, WITHOUT using any of the useless 'battery saving task killer' apps from the play store.
good thread
Good Thread, I will test later. but I have no root.
But I have a doubt: Google Now consumes a lot of battery? The microphone is on the whole day, I believe that it costs a lot of battery.
Anyone have test disable it?
A well written and excellent guide for battery-saving. Knew many facts mentioned above but learned a lot more too. Thank you!
DroidBr said:
Good Thread, I will test later. but I have no root.
But I have a doubt: Google Now consumes a lot of battery? The microphone is on the whole day, I believe that it costs a lot of battery.
Anyone have test disable it?
Click to expand...
Click to collapse
Google now probably would consume quite a bit of battery. I don't use it myself, and don't have gapps flashed on my device, just the playstore, so I don't have any way of testing. To be honest the idea of google potentially being able to listen in on everything I say terrifies me If you wanted to check how much battery it would use BetterBatteryStats would give you an accurate percentage. However, all of the above methods will still improve your battery life even if you did have google now enabled
Imperious Rooster said:
A well written and excellent guide for battery-saving. Knew many facts mentioned above but learned a lot more too. Thank you!
Click to expand...
Click to collapse
Thank you
Mod please sticky this excellent guide! You deserve more thanks!
Sent from my Motorola Titan
Thanks for your guide, will try it later.
As I have already experimented with amplify, I have some questions:
- Do you get push messages, e.g whatsapp, in realtime to your device while in deepsleep?
- Does a-gps still work for you or does it take a long time until you get a gps fix?
matzeko said:
Thanks for your guide, will try it later.
As I have already experimented with amplify, I have some questions:
- Do you get push messages, e.g whatsapp, in realtime to your device while in deepsleep?
- Does a-gps still work for you or does it take a long time until you get a gps fix?
Click to expand...
Click to collapse
Because of my tasker settings (as described in the OP) I have my phone set to background sync every half hour, so because of this I get Whatsapp/Viber messages on the half hour (unless my screen is unlocked, in which case I'll get them in real-time). As stated in the OP, if this sync interval doesn't suit you, you can shorten it, but it will effect your battery savings
When I open an app that needs GPS fix, like Maps or Zombies Run I get a GPS fix usually within 4-5 seconds. (I also have a tasker profile to turn on GPS whenever either of these apps turn on)
Thanks for this brilliant guide, agreed it should be made a sticky.
(Slightly off-topic, but for anyone who doesn't have Tasker and now wants to buy it you can get it for free. Pay for it with PayPal before the end of March and you will get the cost refunded. May be UK only, see PP for details)
Duck86 said:
My setup for my Moto G XT1068 is as follows:
[/URL]
Click to expand...
Click to collapse
Changing RILJ doesnt broke anything? I mean, if it has so many wakes, maybe its important to be always on. Could you explain it?
laureano97 said:
Changing RILJ doesnt broke anything? I mean, if it has so many wakes, maybe its important to be always on. Could you explain it?
Click to expand...
Click to collapse
Everything is working fine. RILJ actually has over 9000 wakelocks on my system, it is high because I have blocked Dialler Location permissions in AppOps. It cannot get a lock on my location, hence the higher wakelocks. Amplify is helping to keep it in check. The number after each wakelock in the OP referrs to the number of seconds interval I have set for Amplify to allow the process, not how many wakelocks there are.
Hi guys,
I have added another section to the tutorial. This part is about basic ROM settings and how they effect your battery life. You can see it in post #2 Screenshots will follow
Duck86 said:
Hi guys,
I have added another section to the tutorial. This part is about basic ROM settings and how they effect your battery life. You can see it in post #2 Screenshots will follow
Click to expand...
Click to collapse
Those tutorials are amazing man! Just one thing about this new post: Lollipop stock battery saver turns off animations. Thats helps saving battery right?
laureano97 said:
Those tutorials are amazing man! Just one thing about this new post: Lollipop stock battery saver turns off animations. Thats helps saving battery right?
Click to expand...
Click to collapse
Yes, it does, but you can also do that manually in Developer Options by turning off 'Window Animation Scale', 'Transition Animation Scale' and 'Animator Duration Scale'. I had forgotten about that because I like to keep the animations on.
EDIT: Added to OP
The highlight of this thread is the way he explained Tasker and Secure Settings profiles.Most of them around here are confused with it.
And btw thank you for such a good guide
Tapped from my furious ZR
been messing around for 1 hour, finally finished everything, rebooted my phone, bootloop. gg
this is when life makes me happy

App dedicated to enabling silent mode [Quest for a simple APK]

Dear XDA Community,
As you know thanks to touchwiz it is still possible to turn on silent mode on Android 6.0.
I have been searching the web for hours but could not find "a simple app that when launched turns on silent mode without the need to tap anything (like a widget)".
Can you tell me where to find such an app ? or create it for me ?
I would really appreciate it and I think it help other people facing the same issue.
You must be thinking why isn't he using a widget or an app with a button to tap or something like tasker for silent mode. Well that's because I don't like Tasker and use "Smart connect" instead but Smart connect has limited sound options (ring/vibrate/Do not disturb). However Smart connect allows you to launch an app automatically, so a workaround could be to launch this simple app automatically.
Why the following solutions won't work for me :
- Do not disturb mode
On samsung phones correct me if I'm but you can't set up more that one DND profile. The problem is I need silent mode when I'm at work where I can't accept any sound. On the other hand I use DND at night where I only allow calls (in case of emergency).
- Sound mode toggle widget
I want silent mode to turn on in a certain time period on weekdays. I don't want to have to press a widget every time. I don't even need a widget for that because I could tap on the quick setting in the notification menu.
- A tasker like app for sound modes
Would work but I don't like the idea to have several tasker like apps on my phone. I believe having multiple tasker-like apps triggers wakelock that would impact battery life and/or create wakelocks.

Categories

Resources