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
Hello guys, I want to try to help everyone who has problems with battery life and performance.
First of all, I want to say that you shouldnt have any problems if you use your device in a normal way(calling ,social networking apps, playing light games etc)
A SOT of around 6-7h on mobile network or a SOT of 7-8h on WiFi is really good and in my opinion normal and you shouldnt need to worry about. Over night while you are sleeping (8h for example) your battery shouldnt drain more than 3-5%.
If you have much less SOT or much more battery drain over night, you should read the following steps and try them.
(I can tell you that my OP3/3t never drains more than 3-4% over night and I have no problem getting 6h SOT on mobile network or 6-7h or even more on WiFi use only. I have to say I dont use Facebook or twitter for example, but I have my Bluetooth always turned on because i use a mi band )
Please try the following steps and tell me if it did help you. (Please choose one option in the pool)
1. Activate doze mode and aggressive doze mode in developer options and change the animation scale
- Go into settings -> developer options -> Doze mode -> activate it
- Go into Settings ->Battery ->3 Dots Menu ->Agressive doze & app hibernation ->Tap the slider and activate for apps
- Go into settings -> developer Options -> Window Animation scale/Transitions Animation scale/Animator duration scale -> set them to .5x or even off
2. Install Greenify from Google Play Store and activate it
Activate it for every app you can, except for apps with a little blue cloud as they need to work in background to sync data. (WhatsApp for example)
3. Wipe cache after every update and from time to time (I recommend once a week)
Turn off your phone -> hold power button and volume down button -> release the power when your phone turns on -> select english by pressing the volume down button and then the power button -> go to wipe cache and data -> select cache (and nothing else!) and press the power button -> reboot now
4. Turn off potential power hogs you dont necessarily need
- For example turn off Bluetooth, GPS Location and Location history, Mobile Data if not in use, WiFi if not in use and NFC -> you can find them in settings under their name
- Also turn off things like gestures in settings: Go into settings -> Gestures -> turn them off
5. Use pocket mode
Settings -> Advanced -> Pocket Mode
6. Turn off Android Device Manager and Google Now Cards
- Settings -> Security & Fingerprint -> Device Administrators -> Android Device-Manager -> turn it off
- Open your Google App -> Settings -> Your Feed -> Turn off Feed
7. Configure your WiFi
- Settings -> Wifi -> tap the gear symbol -> turn off "Scanning always available"
- You can also turn off "Keep wifi on during sleep" but i dont recommend it as apps like WhatsApp will only receive messages when you turn your screen back on!
8. Use adaptive brightness
Use the little "A" in the dropdown settings menu next to your screen brigthness bar
9. Use a Browser that is developed for Snapdragon devices
I recommend using Gello Mod or TugaBrowser as they are developed especaily for using with a device with a snapdragon CPU to save battery -> just search for them in Google
10. Disable permissions of apps
Try disabling permissions of apps if possible. This should prevent apps from using your internet connection and staying in background keeping your CPU awake. Please be aware that some specific apps need some specific rights to work properly. Use the try and error method here.
11. If u have custom recovery installed you can use custom kernels such as ex kernel , blu spark etc for better battery and performance.
Link to ex kernel
https://forum.xda-developers.com/oneplus-3t/development/kernel-elementalx-op3-1-00-t3521298
Link to blu spark kernel
https://forum.xda-developers.com/oneplus-3t/development/kernel-t3516012
12.AKT are is another way to save battery and performance tweaks.(requires root)
Link to thread of AKT
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
13.Have a look at this thread too
https://forum.xda-developers.com/oneplus-3/how-to/potential-fix-cpu-battery-drain-aosp-t3543369
If you follow these 10(Normal everyone can do)+3(require twrp/root) simple steps you should not have any problems with battery life or performance.
If you need any further help please ask and please share your suggestions and results!
Source one plus forums , XDA and me
This is a big guide and it's worth reading
Hit the thanks button if this helps:good:
ATK for op3 works for op3t?
Nishidh said:
Hello guys, I want to try to help everyone who has problems with battery life and performance.
First of all, I want to say that you shouldnt have any problems if you use your device in a normal way(calling ,social networking apps, playing light games etc)
A SOT of around 6-7h on mobile network or a SOT of 7-8h on WiFi is really good and in my opinion normal and you shouldnt need to worry about. Over night while you are sleeping (8h for example) your battery shouldnt drain more than 3-5%.
If you have much less SOT or much more battery drain over night, you should read the following steps and try them.
(I can tell you that my OP3/3t never drains more than 3-4% over night and I have no problem getting 6h SOT on mobile network or 6-7h or even more on WiFi use only. I have to say I dont use Facebook or twitter for example, but I have my Bluetooth always turned on because i use a mi band )
Please try the following steps and tell me if it did help you. (Please choose one option in the pool)
1. Activate doze mode and aggressive doze mode in developer options and change the animation scale
- Go into settings -> developer options -> Doze mode -> activate it
- Go into Settings ->Battery ->3 Dots Menu ->Agressive doze & app hibernation ->Tap the slider and activate for apps
- Go into settings -> developer Options -> Window Animation scale/Transitions Animation scale/Animator duration scale -> set them to .5x or even off
2. Install Greenify from Google Play Store and activate it
Activate it for every app you can, except for apps with a little blue cloud as they need to work in background to sync data. (WhatsApp for example)
3. Wipe cache after every update and from time to time (I recommend once a week)
Turn off your phone -> hold power button and volume down button -> release the power when your phone turns on -> select english by pressing the volume down button and then the power button -> go to wipe cache and data -> select cache (and nothing else!) and press the power button -> reboot now
4. Turn off potential power hogs you dont necessarily need
- For example turn off Bluetooth, GPS Location and Location history, Mobile Data if not in use, WiFi if not in use and NFC -> you can find them in settings under their name
- Also turn off things like gestures in settings: Go into settings -> Gestures -> turn them off
5. Use pocket mode
Settings -> Advanced -> Pocket Mode
6. Turn off Android Device Manager and Google Now Cards
- Settings -> Security & Fingerprint -> Device Administrators -> Android Device-Manager -> turn it off
- Open your Google App -> Settings -> Your Feed -> Turn off Feed
7. Configure your WiFi
- Settings -> Wifi -> tap the gear symbol -> turn off "Scanning always available"
- You can also turn off "Keep wifi on during sleep" but i dont recommend it as apps like WhatsApp will only receive messages when you turn your screen back on!
8. Use adaptive brightness
Use the little "A" in the dropdown settings menu next to your screen brigthness bar
9. Use a Browser that is developed for Snapdragon devices
I recommend using Gello Mod or TugaBrowser as they are developed especaily for using with a device with a snapdragon CPU to save battery -> just search for them in Google
10. Disable permissions of apps
Try disabling permissions of apps if possible. This should prevent apps from using your internet connection and staying in background keeping your CPU awake. Please be aware that some specific apps need some specific rights to work properly. Use the try and error method here.
11. If u have custom recovery installed you can use custom kernels such as ex kernel , blu spark etc for better battery and performance.
Link to ex kernel
https://forum.xda-developers.com/oneplus-3t/development/kernel-elementalx-op3-1-00-t3521298
Link to blu spark kernel
https://forum.xda-developers.com/oneplus-3t/development/kernel-t3516012
12.AKT are is another way to save battery and performance tweaks.(requires root)
Link to thread of AKT
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
13.Have a look at this thread too
https://forum.xda-developers.com/oneplus-3/how-to/potential-fix-cpu-battery-drain-aosp-t3543369
If you follow these 10(Normal everyone can do)+3(require twrp/root) simple steps you should not have any problems with battery life or performance.
If you need any further help please ask and please share your suggestions and results!
Source one plus forums , XDA and me
This is a big guide and it's worth reading
Hit the thanks button if this helps:good:
Click to expand...
Click to collapse
Agressive doze spend more battery in my case
darkren said:
ATK for op3 works for op3t?
Click to expand...
Click to collapse
Im using it, obviously isn't optimized exactly for the 3T but they are quite similar devices and it's better than stock imo.
ftuc said:
Agressive doze spend more battery in my case
Click to expand...
Click to collapse
Then disable for apps you constantly use.
Hey there,
I have a Mate 8 Chinese version. Build Number NXT-AL10C00B592. My Phone is rooted.
My goal is to replace the HiVoice with the Google Assistant.
What I've done so far:
- Remove the HiVoice App described as here https://forum.xda-developers.com/p9/how-to/how-to-replace-hivoice-vocal-assistant-t3465522/amp/
Even this was a P9 article, I gave it a try. Well.. the HiVoice is gone now.
- Installed the Google app, configured the speech assistant. In order to do this I had to set the Google Assistant as default assistant in my app settings. (apps - settings - default app - assistant - assistant-app =Google). Once this was done I was able to press the Home-Button to activate the Google Assistant. Awesome.. I thought so.. after approx. 15 minutes, it wasn't working anymore. The default assistant app was set to None..
So I thought it is maybe because of the Depp-sleep-device-idle Huawei-special-whatever.. so I tried to disable this one via adb.. works fine.. my WhatsApp messages arrive immediately,even if the app is closed.. yay, but that was not my goal..
I am at the end of my knowledge. Do you guys have any idea how to set the Google Assistant as default permanently? Maybe there is a config file that I could modify or something..
Thanks mates,
Shyarly
I'm experiencing the same problem here, and I'm also looking for solutions. I tried using Ice Box and successfully disabledthe Hivoice App. After playing around for a while Iwould say that force stopping the Google app would reset the assist app to none. I tried setting the assist app to Cortana and force closing it but the setting remains. On the other hand however, In my experience on a global model it seems the Google app (as a system app) cannot be force stopped, unless you disable and re-enable it, which also causes the assist app to be reset. maybe there's a switch that makes the google app persistent, and I hope that helps.
I seem to be able to solve this issue, but I'm on EMUI 8.1 and on P20Pro, not sure if it's suitable for your case - probably it's the same case for all recent Huawei phones (Chinese ver.) so I just post it here:
1. Go to settings > Apps & notifications > Apps > Google > Advanced > Set write system setting to "Yes".
2. On the same page, change the Google app launch to "Manage manually" and turn on Auto-launch, Secondary launch, and Run in background.
3. If you still have HiVoice installed, just turn off the write system setting permission on HiVoice in case it's overwriting the Google voice command.
I have checked in an hour or two so far, tried to restart my phone too, the default app for voice is still with Google and "OK Google" works smoothly. Still with one flaw, once you call the Google assistance, don't close/clean it otherwise the setting will be reset.
Thanks to Ronald.Cheng I have followed your first step and decided to add my own steps and so far I have been using my phone for whole day and even restare how I modified the setting.
1. Go to settings > Apps & notifications > Apps > Google > Set write system setting to "Yes".
2. Go to settings > Apps & notifications > Apps > Google > Battery > uncheck "close after the screen locked"
If it is possible, repeat 2. On assistant
I hope it works with your Huawei.
Same problem unsolved
Hello,
I have a honor note 10 (Chinese mui 8.2) and the same problem. First I struggled to install and use Google assistant and had to force enable it, and now it works until it resets itself. I followed the instructions below but I doesn't seem to do anything. Is there any way I can make Google a system app or with similar rights using adb or whatever ?
Tim
Hello I have a Huawei Honor 8 max chineese version and need a change home launcher fix as cant change launcher help help please.....jock UK
ronald.cheng said:
I seem to be able to solve this issue, but I'm on EMUI 8.1 and on P20Pro, not sure if it's suitable for your case - probably it's the same case for all recent Huawei phones (Chinese ver.) so I just post it here:
1. Go to settings > Apps & notifications > Apps > Google > Advanced > Set write system setting to "Yes".
2. On the same page, change the Google app launch to "Manage manually" and turn on Auto-launch, Secondary launch, and Run in background.
3. If you still have HiVoice installed, just turn off the write system setting permission on HiVoice in case it's overwriting the Google voice command.
I have checked in an hour or two so far, tried to restart my phone too, the default app for voice is still with Google and "OK Google" works smoothly. Still with one flaw, once you call the Google assistance, don't close/clean it otherwise the setting will be reset.
Click to expand...
Click to collapse
Doing the following only worked for me:
1. Go to settings > Apps & notifications > Apps > Google > Advanced > Set write system setting to "Yes"
Thanks much.
Device: Honor 8x