Z3 compact: Improve battery life (No xposed) - Xperia Z3 Compact General

Hi
i have found other solution to save the battery without xposed framework and without greenify. it have helped a lot and my phone does not drain the battery when in idle or screen off. so this is what i did
In Device Settings
Go to "Wi-Fi" -> press 3 dot on right corner -> Advanced -> Keep Wi-Fi on during sleep and set "Never". Wifi will disconnect home when screen off for 15 minutes (not sure). Wifi will connect again if you unlock the screen. Turn off "Network notification" and "Scanning always avaliable"
Go to "Xperia Connectivity" and turn everything OFF when not in use
Go to "More" -> "Mobile networks" -> "Preferred network type" -> and set to "3G (preferred/GSM)" if you don't watch youtube or movies. 3G/H+ is fast enough for me. Max speed bandwidth is 13 MB/s for H+ (HSDPA+)
Go to "Personalization" -> "Wallpaper" -> "Home screen" or "Lock screen" or "Home and lock screen" -> Choose "Album" or "Xperia wallpapers" and select the wallpaper you want. Using live wallpaper will drain more battery and decrease the performance.
Go to "Display" and turn on "Adaptive brightness". Set "Sleep" as 1 minute. Turn off "Smart backlight control", "Daydream" and "Tap to wake up"
Go to "Sound & notification" -> "Other sounds" and turn off everything
Go to "Apps" -> "All" and disable the following apps. You don't have to disable the apps you are using
- Docs
- Drive (I'm using X-plore to copy files to my Google Drive)
- File commander (i'm using X-plore)
- Google App (Drain a lot of the battery)
- Google Play Books
- Google Play Movies & TV (i would use Netflix instead)
- Google Play Music (i'm using PowerAMP)
- Google Play Newsstand
- Google Text-to-speech Engine
- Google+ (Drain a lot of the battery)
- Hangouts (Drain a lot of the battery. Have stagefright vulnerabilities)
- Movie Creator
- News & Weather (viewing news on the browser is fine)
- Sketch
- Smart Connect (i don't have any Sony tools)
- Support (i don't need help)
- Talkback
Go to "Location" -> Set "Mode" as "Battery saving"
Go to "Accounts" and turn off some sync you don't want it to be synced. I have all enabled
Go to "Language & Input" -> "Xperia keyboard" -> Set "Word suggestions" to "I don't wany any help when writing, not even suggestions". Go to "Sound and vibration" and turn off all
Go to "Developer options" -> Change "Window animation scale", "Transition animation scale" and "Animator duration scale" to "Animation OFF". your phone will feel faster
Note: if you can't see "Developer options". Go to "About phone". scroll down and click on "Build number" many times until it says "You are now a developer"
If your device is rooted running Kitkat or lollipop, you can continue to follow optional steps to improve your battery life.
Startup Manager App:
Startup Manager aims at helping disable/enable startup items from system boot for Android devices including smartphones and tablets. Please manage programs only if you know well.
Download it here: https://play.google.com/store/apps/details?id=imoblife.startupmanager&hl=en
and disable some user apps you don't want to boot
Remember: The boot time is fake so don't think your phone is bad
Kernel Adiutor (ROOT):
Kernel Adiutor is an app which you can tweak your phone like change CPU frequences, disable some cores and more.
Download the app: https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor&hl=en
Click on "Menu" button on top-left corner -> CPU Hotplug and disable "MPDecistion"
see below for best settings. if you are an advanced user, you can customize your kernel that is best for you
Normal Browsing:
- Core 1 and 2
- CPU max: 1.267 Mhz
- CPU min: 300 Mhz (default)
- GPU max: 200 Mhz
- CPU Governor: powersaver
Faster browsing: (if you want the website to render faster)
- Core 1, 2, 3 and 4
- CPU max: 1.267 Mhz
- CPU min: 300 Mhz (default)
- GPU max: 330 Mhz
- CPU Governor: ondemand
Small gaming (Magic piano, Subway Surfers, Titles games, Flappy bird, etc):
- Core 1 and 2
- CPU max: 1.958 Mhz
- CPU min: 300 Mhz (default)
- GPU max: 330 Mhz
- CPU Governor: ondemand
Graphic gaming (Modern Combat 5, Dungeon Hunter 5, etc):
- Core 1, 2, 3 and 4
- CPU max: 1.958 Mhz
- CPU min: 300 Mhz (default)
- GPU max: 578 Mhz (default)
- CPU Governor: ondemand
Battery saver:
- Core 1 and 2
- CPU max: 1.574 Mhz
- CPU min: 300 Mhz (default)
- CPU Governor: powersaver
- GPU max: 200 Mhz
Battery saver #2:
- Core 1, 2, 3 and 4
- CPU max: 1.036 Mhz
- CPU min: 300 Mhz (default)
- CPU Governor: powersaver
- GPU max: 200 Mhz
Note: i have not tried any other kernel settings than CPU and GPU because i don't know what are other kernel things. i will take a look at it when i have free time
I hope it will help you save the battery. If not helping, i highly recommend you visit this link: http://forum.xda-developers.com/and...ttery-life-t3095884/post62264111#post62264111

If you're that concerned about battery life, you shouldn't really use a smartphone.
Sent from my D5803 using Tapatalk

Theshawty said:
If you're that concerned about battery life, you shouldn't really use a smartphone.
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
That made me giggle
Sent from my D5803 using XDA Free mobile app

Theshawty said:
If you're that concerned about battery life, you shouldn't really use a smartphone.
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
that's just my tips. no need to make fun or i will request moderator to delete this thread

.do you have any screenshots about your batterylife?_

It's basically the same as turning your smartphone into a featurephone. :|
Sent from my D5833 using XDA Free mobile app

draligus said:
.do you have any screenshots about your batterylife?_
Click to expand...
Click to collapse
check in attachment
Sadman Khan said:
It's basically the same as turning your smartphone into a featurephone. :|
Sent from my D5833 using XDA Free mobile app
Click to expand...
Click to collapse
i don't like feature phones lol. i just don't want my phone to drain the battery while idle or with screen off.

What you've posted is generally good info. Thanks and don't let the cynics discourage you.

evildog1 said:
Hi
.....Go to "Wi-Fi" -> press 3 dot on right corner -> Advanced -> Keep Wi-Fi on during sleep and set "Never". Wifi will disconnect home when screen off for 15 minutes (not sure). Wifi will connect again if you unlock the screen.......
Click to expand...
Click to collapse
If you use the built-in Stamina mod wouldnt this accomplish the same or is there a difference?

Norup58 said:
If you use the built-in Stamina mod wouldnt this accomplish the same or is there a difference?
Click to expand...
Click to collapse
i haven't tried Stamina since i disabled sony bloatwares and changed some settings. need more peoples to try this.

You'd save more battery with stamina mode. Oh, you'd save some hassle too.

Go to "Wi-Fi" -> press 3 dot on right corner -> Advanced -> Keep Wi-Fi on during sleep and set "Never". Wifi will disconnect home when screen off for 15 minutes (not sure). Wifi will connect again if you unlock the screen. Turn off "Network notification" and "Scanning always avaliable"
Click to expand...
Click to collapse
If you disable WiFi when screen is off, mobile data will be used instead.
Unless you have 4/4 signal LTE with unlimited data plan, you'll end up using more battery (depending on LTE signal from 3/4 to 0/4) and you'll kill your data plan.

You can try miui roms !
they are good on battery life.

This phone has more than enough battery life to last 2 days with normal usage in stock settings.

SunWukkong said:
This phone has more than enough battery life to last 2 days with normal usage in stock settings.
Click to expand...
Click to collapse
Yeah I too agree on that
I get 5hr+ S.O.T on a full day with heavy usage (net browsing in 3G, playing games)

How about just upgrading to the latest firmware? :'D
Sent from my D5833 using XDA Free mobile app

Thread closed by request from the OP.

Related

[Tutorial] Increasing battery life drastically with root

For all of you that have gained root access, I will show you how to dramatically increase your battery life
Step 1: Download SetCPU from the market or get its via XDA-Dev
Step 2: Install it and allow SuperUser.apk to gain access
Step 3: Leave the settings alone on the main tab. Should be at the top of the max bar and the bottom of the min bar with ondemand selected in the scaling.
Step 4: Check "Set on Boot" on the main tab
Step 5: On the Profile tab, check "Enable" and "Notifications"
Step 6: Click "Add Profile" and add the following profiles
Condition : Charging USB/Full
Max: High as the bar will go
Min: Low as the bar will go
Governor: ondemand
Priority: 50
Click to expand...
Click to collapse
Condition : Charging AC/Full
Max: High as the bar will go
Min: Low as the bar will go
Governor: ondemand
Priority: 50
Click to expand...
Click to collapse
Condition : Screen Off
Max: 384000
Min: Low as the bar will go
Governor: ondemand
Priority: 50
Click to expand...
Click to collapse
Condition : Battery <
Battery<: 30%
Max: 38400
Min: Low as the bar will go
Governor: ondemand
Priority: 50
Click to expand...
Click to collapse
What this will do is change your CPU usage depending on the state of your phone.
The phone will be allowed to run on full power when on charge if needed.
When the screen is turned off the CPU will run between 245 and 384mhz
When the battery is below 30% the CPU will run between 245 and 384mhz
You should find this will save a ton of battery. I have had ebuddy running in the background for almost 5 hours with 3G connectivity and my battery is at 72%
You can get more juice from your battery is you use JuiceDefender.
Also, remember to add SetCPU in your task manager ignore list!
Im a little fuzzy here. Where you have:
Step 5: On the Profile tab, check "Enable" and "Notifications"
Where is Enable? On the individual profiles or do you mean "profiles on" at the top next to "Notifications"?
Also,
Step 6: Click "Add Profile" and add the following profiles
I can't find "Add Profile" anywhere. I just have a bunch of preset profiles that I can enable and three of them are exactly the same??
I would really like to use this app so any help is appreciated
Edit: Never mind I figured it out. Thanks hope this will help with the performance
brunswick000 said:
Im a little fuzzy here. Where you have:
Step 5: On the Profile tab, check "Enable" and "Notifications"
Where is Enable? On the individual profiles or do you mean "profiles on" at the top next to "Notifications"?
Also,
Step 6: Click "Add Profile" and add the following profiles
I can't find "Add Profile" anywhere. I just have a bunch of preset profiles that I can enable and three of them are exactly the same??
I would really like to use this app so any help is appreciated
Click to expand...
Click to collapse
Profiles on would be the one. Mine says enable put it'll do the same thing
Once you have turned profiles on you will see an Add Profile button in the profile tab. Just add one with the condition i said and change the options
i've done it, lets see what happens. tomorrow i'll feedback. thanks
Wowzers im gonna try this out. Thanks!
Sent from my ROOTED X10i using XDA App
whats the difference between this and overclock widget? i have that set:
screen on:
min: 998400
max: 998400
screen off:
min: 245000
max: 998400
basically same settings i had for my G1
Applied to mine as well, I'll come back tomorrow with results. I wonder what the device does by default in terms of CPU clocks though?
Dammit! Can't get SetCPU from the market here!
Free apps only...
EDIT: NVM, a friend hooked me up
flumps said:
whats the difference between this and overclock widget? i have that set:
screen on:
min: 998400
max: 998400
Click to expand...
Click to collapse
You let your CPU always run at full speed even the system doesn't need it ? Oo
Higgins12 said:
You let your CPU always run at full speed even the system doesn't need it ? Oo
Click to expand...
Click to collapse
does it not make things snappier?
im going to assume overkill?
how do i get the Superuser Permission work?
when i click the icon, it shows a blank screen with Superuser Permission on the top bar. i press the menu button> Preferebces, there's the Tap action & Notification check box. i can't get it work. can someone guide me thru please?
mtechfan said:
Dammit! Can't get SetCPU from the market here!
Free apps only...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=505419
scroll down
on the first page (main tab) what should i set with the min and max scale apart from tick the set on boot?
Evostance said:
Step 3: Leave the settings alone
Click to expand...
Click to collapse
chai_archer said:
on the first page (main tab) what should i set with the min and max scale apart from tick the set on boot?
Click to expand...
Click to collapse
What if you read better. Leave them alone as they are...
Thanks for the guide
But can't the two firsts profils be done in one ?
Vilam said:
Thanks for the guide
But can't the two firsts profils be done in one ?
Click to expand...
Click to collapse
No because USB provides less "charging power" than a wall plug
I totally agree with max when the screen is on, but I set mine to total minimum when the screen is off. Background tasks when the screen is off don't need much CPU power.
MisterzaK
Hey Evostance, maybe you should link to the application thread in your first post?
Evostance said:
No because USB provides less "charging power" than a wall plug
Click to expand...
Click to collapse
But look, they got the same max and min on the first post...
Sent from my X10i using XDA App
are you guys shure that the rom doesn't have any scaling by default.... because my battery holds on for about 1 day wifi on and working with apps....?

[INFO] Cyanogenmod 7 optimal settings for Evo Shift 4G on SPRINT (Updated 10-24-11)

Trying to figure out what the optimal settings for CM7 on the EVO Shift.
CM7 is a very advanced ROM that gives you control over a LOT of settings and it can be very hard to understand and frustrating to get the optimal settings.
Cyanogenmod 7 latest nightlies and change log available here:
http://cm-nightlies.appspot.com/?device=speedy
As of this time the latest "official" gapps is 828 and is available here: http://www.goo-inside.me/gapps
If you're feeling adventerous CrashV2010 has a new gapps with newtalk and market 3.2 included here:
http://forum.xda-developers.com/showthread.php?t=1311342
How to flash:
1) Get rooted with Clockwork recovery.
2) Download/Open ROM manager, flash clockwork recovery.
3) Reboot into clockwork recovery
4) Upgrading to a new nightly: wipe dalvik cache, /cache partition, /system partition, and battery stats
Clean install: Choose wipe/data factory reset and wipe dalvik cache, /cache partition, /system and data partitions anyway (just to be sure).
5) Partition the sd card how you like (wanna do this on first installs only usually, this will erase your sd card, so copy all necessary files off sdcard to computer before doing this and then copy them back)
6) Choose zip from SD card -> Flash CM7 zip file
7) Choose zip from SD card again -> Flash google apps.zip and then google apps new talk.zip. As of this time the latest gapps is 828 and is available here: http://www.goo-inside.me/gapps
If you're feeling adventurous flash CrashV2010's gapps zip located here: http://forum.xda-developers.com/showthread.php?t=1311342
7a) Flash a custom kernel if you have one.
8) Reboot phone
9) Wait 5-10 minutes for dalvik cache to rebuild and phone to load
10) Once phone boots skip google account setup and get connected to wifi
11) Menu settings -> privacy UNCHECK automatic restore
12) Menu -> settings -> accounts + sync -> add account -> google, sign in.
13) Open market: search for "pub:Google Inc." to find all the google apps
14) IMPORTANT: After installing GMail go to accounts + sync settings -> google account and check the gmail check box. Otherwise gmail will not sync!
15) Flashing a kernel: Download kernel manager lite from the market, open kernel manager lite, load kernel list, allow super user request, menu -> advanced options, uncheck "Automatically flash", back, choose AOSP kernel, download, reboot in to recovery of your choice (clockwork in my case, wipe cache, wipe dalvik cache, install zip from sd card, go to sd-ext dir, kernelmanager, choose kernel zip file and install.
You should be good to go at this point and you can start tweaking CM7 using my settings below or however you want.
At the time of this writing I am running nightly 224, Crash V2010's Google Apps with Market 3.2 and new talk included and Scarystable kernel, latest Clockwork Recovery, Patriot 16GB Class 10 SD card on Sprint. Also, using Google voice for text/voicemail and Launcher pro as my launcher.
I'll usually reboot once every day or two just to make sure it's working properly.. I blame this more on bugs in CM7 than the kernel. Then again I haven't run toastcfh's (stock) kernel in a long time.
4G works
Wifi works
overclocking works
phone is fast
battery life is good
ONLY use ScaryGhoul's governors. (SCARY, TOASTY, BATTERYSAVE!)
ALL OTHER GOVERNORS HAVE STABILITY ISSUES! (interactive, ondemand, performance, etc. etc.)
2 things to take notice of: There is a notification power widget (which goes in your notification/status bar) and a power control widget (which goes on your home screen).
What I'm really not sure about is which takes precedence over the other and what network modes to use.
Update 10-6-2011: I am ALMOST 100% sure the power control widget that you add to your home screen takes precedence.
A lot of settings taken from here:
http://forum.cyanogenmod.com/topic/22620-settings-to-optimize-battery-on-cm7-last-updtd-may-8-2011/
Further explanation of settings here:
http://wiki.cyanogenmod.com/wiki/CyanogenMod_Settings
So here are my settings as of this time:
CYANOGENMOD7 settings (THE IMPORTANT STUFF!)
Application settings
Allow application moving: checked
Install location: automatic
Permission management: unchecked
Phone goggles: off
Display
Automatic backlight
Enabled: off
Light levels (updated 10-17-2011, didn't find this really beneficial and/or don't know how it works)
Use custom: unchecked
Screen dim level: 12
Edit other levels..: ???
Allow light decrease (??): unchecked
Screen-on animation: off
Screen-off animation: off
(saves battery off)
Accelerometer rotation:
0 degrees: checked
90 degrees: checked
180 degrees: unchecked
270 degrees: unchecked
Input settings
Long-press home settings: whatever you want
Long-press menu settings: whatever you want
search key behavior: whatever you want
Haptick feedback tweaks
Haptick feedback main: unchecked
Volume rocker wake: unchecked
Volume button music con: unchecked
(saves battery off)
Interface
Power prompt: checked
Notification power widget
Notification power widget: checked
Hide on change: unchecked
Hide indicator: unchecked
Hide scrollbar: checked
Haptic feedback: off
Widget buttons:
Everything unchecked except brightness, GPS, flashlight, sound, wifi, wifi AP, WiMax
Network modes (???): DO NOT TOUCH!
Screentimeout modes: 30s/2m/5m
Sound modes: Sound+Vib/Vib/Silent
Flash mode: High/Death Ray
Performance
CPU Settings:
Governor: Scary
Min CPU frequency: 184 mhz
Max CPU frequency: 1600 mhz
Set on boot: checked
Compcache RAM usage: disabled
Use JIT (??): checked
Use 16bit transparency: unchecked
Enable surface dithering (??): checked
Allow purging of assets (??): unchecked <-- beter performance unchecked
Lock home in memory(??): unchecked
Lock messaging app in memory(??): unchecked since using google voice now
VM heap size: 48m
Sound
Notification focus: unchecked
Silent state: checked
Vibrate during calls: unchecked
Always play on speaker
Notifications: checked
Ring tones: checked
Alarms: checked
System:
Anonymous statistics
Enable reporting: unchecked
POWER CONTROL WIDGET:
Get to this by going to menu -> add -> widget -> power control on your home screen.
Everything unchecked except the following:
Wi-Fi, Portable wi-fi hotspot, GPS, Mobile data, Wimax, Brightness, Flashlight, Round corners, Wi-Fi disables 3g, Wi-Fi enables 3G, Vibrate as ON
Network mode: 2G/3G only/3G+2G
Ring modes: Sound+Vib/Vib/Silent
Brightness levels: Auto/25%/100%
Screen time out 30s/2m/5m
======================
ANDROID settings:
Wireless & Networks:
Wi-Fi settings:
Network Notification: OFF
In this screen hit the menu button -> advanced
Regulatory domain = 14 channels (BUG: SEEMS TO NOT BE SAVING THIS SETTING ANYMORE)
Wi-Fi sleep policy = NEVER
Mobile networks:
Data Enabled: Checked
International data roaming: Checked
National data roaming: Checked
System select: Automatic
Display
Brightness
Automatic brightness: checked
Auto-rotate screen: checked
Animation: No animations (saves battery off)
Screen timeout: 30 seconds
Call settings:
Voicemail service: Google Voice (when you flash a new CM7 build you will need to delete your sprint number and re add it to google voice in order to get the Google voice choice back. Google voice will call you and you will enter a 2 digit code. Wait for Google voice to hang up on you and then you will be able to choose Google voice as your voicemail carrier.)
Google voice settings from http://voice.google.com :
Sprint integration: enabled
Receive text message on this phone: checked
Notify me of new voicemails via text: checked
These settings will allow you to use the android messaging app or google voice app to send texts and will also back up your SMS.
Vibrate on answer: off
Vibrate every 45 seconds: off
Vibrate on hangup: off
Vibrate call waiting: off
Keep screen awake: off
Always use proximity: off
Always back to call log: on
Missed call LED notify: off
Show nick/organization: off
Left-Hand mode: off
(explanation of left handed mode per otaking71: "It biases the presses/taps. Like if it's off...and you use the touchscreen keyboard......it biases the touches more to the right..vs to the left. Think about how you'd use your thumb one handed. it alters the bias of that.")
Enable sensor rotation: off
Incoming call in background: off
Hide hold button: off
Voicemail notifications: off
Voice Privacy: off
Use internet calling: only for internet calls
Location & Security
Use Wireless Networks: Have had problems disabling this
Use GPS satellites: checked
Use visible pattern: unchecked
Use tactile feedback: unchecked
Visible passwords: unchecked
Accounts & sync settings:
Background data: checked
Auto-sync: checked
(Per otaking71, autosync is not necessary for your accounts like google, facebook, and whatsapp to update. That is what background data is for. This will save you a considerable amount of battery life.)
^^This is wrong, you NEED auto-sync! And I don't know what code for strikethrough is obviously.
UPDATE: Auto-sync needs to be checked in order to receive gmail push notifications.
Background data is what apps like Facebook and Twitter use to sync data in the background.
In order to preserve battery life you should tweak the refresh interval in each application if possible. Other than that you are pretty much stuck with leaving both of these on unless you don't mind manually updating your applications.
Privacy
Backup my data: checked
Automatic restore: unchecked
(ANNOYING setting that will start downloading all your market apps all over again once you reflash!)
=============================================
Explanation of governors:
Quote
From XDA-Dev & setCPU :
CPU governors control exactly how the CPU scales between your “max” and “min” set frequencies. Most kernels have “ondemand” and “performance.”
ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
interactive- The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
smartass (Available only in certain CFS kernels. Not usually avaialble in BFS kernels like CM.): - Based on interactive, but better. Performance is on par with the "old" minmax and smartass is a bit more responsive. CPU spends much more time at the lower frequencies. Smartass will also cap the max frequency when sleeping to 245Mhz (or if your min frequency is higher than 245 - why?! - it will cap it to your min frequency). Lets take for example the 998/245 kernel, it will sleep at 245. No need for sleep profiles any more!
Scarykernel specific governor explanations:
Governor exlainations
Toasty makes one transition to the max speed and stays there(benchmarks only usually)
Batterysave! sits at the bottom and when the cpu load increases past the threshhold it scales up to the next speed and takes another load sample and keeps doing that(best on battery life/performance ratio)
Ondemand sits at the bottom and when the cpu load increases past the threshhold, it scales ot the max speed then takes another load sample and scales down accordingly
Powersave makes one transition to the bottom speed and stays there
Smartass(Quoted from another author http://www.ziggy471.com/2010/11/07/s...-governor-info ) - "is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works – by taking over the idle loop – is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the “old” minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 – why?! – it will cap it to your min frequency). Lets take for example the 528/176 kernel, it will sleep at 352/176. No need for sleep profiles any more!"
Scary - A new governor I wrote based on conservative with some smartass features, it scales accordingly to conservatives laws. So it will start from the bottom, take a load sample, if it's above the upthreshold, ramp up only one speed at a time, and ramp down one at a time. It will automatically cap the off screen speeds to 245Mhz, and if your min freq is higher than 245mhz, it will reset the min to 120mhz while screen is off and restore it upon screen awakening, and still scale accordingly to conservatives laws. So it spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It will give the same performance as conservative right now, it will get tweaked over time.
===============================================
CHOICES OF KERNELS:
To download/flash a new kernel download kernel manager from the Market.
Differences between kernels are speed/battery savings/overclocking/underclocking/undervolting.
Right now I prefer ScaryKernel Stable. It is way faster than the stock CM7 kernel.
AOSP/CM7 based:
ScaryKernel SUV - ScaryGhoul
ScaryKernel Stable - ScaryGhoul
GirlyKernel - ScaryGhoul
V8 aka Pershoot - SparksCo
Tiamat_Shift - cayniarb
x99kernel-CM7 - x99percent
bcblend VR tinyRCU v - bcnice20
Official CyanogenMod 7 Kernel - toastcfh
You can use Antutu benchmarker (available from the market) to see the performance differences between the different kernels. I got over 4000 on Antutu with Scaryghoul's SuperStable kernel (which is available for download in the dev forum or kernel manager lite app, make sure you are on wifi before downloading through kernel manager lite) on Toasty governor at 1900mhz.
Your results will vary with performance. Not all phones can OC to 1900mhz and all phones will eventually get HOT running at 1900mhz constantly. There ARE different hardware versions of the phone. Mine is version 0004. You can check your hardware version ONLY with a Sense based ROM.
Sense based (DO NOT FLASH ON CM7!!):
ScaryKernel SUV - ScaryGhoul
ScaryKernel Stable - ScaryGhoul
Dodgekernel - dodgejcr
x99kernel-Sense - x99percent
Stock 2.2 Sense - Dodgejcr
Backups:
TITANIUM BACKUP OR BUST!
Please post your settings differences.. also if you could offer an explanation of the stuff I marked in ??? and which takes precedence the power control widget or the power notification widget that would be appreciated. Also provide the kernel you are running, nightly build number, and provider.
{
"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"
}
Credits:
toastcfh
ScaryGhoul
riggsAndroid
jesusice
otaking
xIndirect
CrashV2010
ChaoticSheep
Everyone in #htc_evo_shift
This is great!
Yeah just going to come out and say this, I didn't read all of it but you SHOULD/MUST take your phone off of toasty.
Toast is performance renamed. It spends all of the time clocked at the max speed....So you've been spending all this time at 1.9ghz. I recommend either dropping your clock speed down to 1ghz -1.2ghz or doing that & changing governors. Should never spend a long period of time at high speeds/voltages.
Scaryghoul said:
Yeah just going to come out and say this, I didn't read all of it but you SHOULD/MUST take your phone off of toasty.
Toast is performance renamed. It spends all of the time clocked at the max speed....So you've been spending all this time at 1.9ghz. I recommend either dropping your clock speed down to 1ghz -1.2ghz or doing that & changing governors. Should never spend a long period of time at high speeds/voltages.
Click to expand...
Click to collapse
Updated the governor suggestion to Scary. I like having it at max CPU settings in case the phone needs to burst up to that speed.
In fact on either toastcfh's kernel or Tiamat's kernel Jesusice noticed that setting the max cpu speed to the highest actually improved his battery life. I don't know maybe it's different with your kernel.
VICODAN said:
Updated the governor suggestion to Scary. I like having it at max CPU settings in case the phone needs to burst up to that speed.
In fact on either toastcfh's kernel or Tiamat's kernel Jesusice noticed that setting the max cpu speed to the highest actually improved his battery life. I don't know maybe it's different with your kernel.
Click to expand...
Click to collapse
Having the max set higher is not a problem as long as your phone is stable at that speed. Personally I don't like to go above 1.5 but each device is different. The problem is having the governor set to Toasty or Performance. With those governors you're not going just get a quick boost to the max when your phone needs it, it's actually gonna stay at the max all the time. Currently I'm using Smartass on Tiamat's. Scary can correct me if I'm wrong but I believe Smartass scales to your max when actually using the device but scales all the way down to the minimum when screen is off. I believe Scary is a modified version of Smartass.
ALL HAIL OTAKING71, THE RAPER OF HBOOT!!!
Oh, and as far as performance settings I used to have purging of assests and lock home in memory checked and VM heap changed to 48 but lately I've gone back to the stock setting (unchecked with 32 VM heap) and I think I like it better. I've noticed no loss in performance and have noticed that Tapa used to require me to restart it frequently or it wouldn't refresh but now I don't have that problem. No comment on Compache since I'm not on Scary's kernel and that's the only kernel I've noticed that adds those settings.
ALL HAIL OTAKING71, THE RAPER OF HBOOT!!!
jesusice said:
Having the max set higher is not a problem as long as your phone is stable at that speed. Personally I don't like to go above 1.5 but each device is different. The problem is having the governor set to Toasty or Performance. With those governors you're not going just get a quick boost to the max when your phone needs it, it's actually gonna stay at the max all the time. Currently I'm using Smartass on Tiamat's. Scary can correct me if I'm wrong but I believe Smartass scales to your max when actually using the device but scales all the way down to the minimum when screen is off. I believe Scary is a modified version of Smartass.
ALL HAIL OTAKING71, THE RAPER OF HBOOT!!!
Click to expand...
Click to collapse
Tiamat's kernel kept freezing on me. I could try it again soon sometime.
As of right now Scary governor + ScaryStable kernel has not frozen at all. Running good.
@Jesusice, could you take a look at the rest of the settings and let me know what you think?
How's about the data and sycn buttons? I turn off the sycn thought it'll save battery.
Sent from my PG06100 using XDA App
dumper1234 said:
How's about the data and sycn buttons? I turn off the sycn thought it'll save battery.
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
You can do that if you like, but I didn't really notice much of a difference..I find they are more trouble than they are worth and sometimes my sync stops working. The bigger question is notification power widget vs power control widget.. it's like 2 places to put in some of the same settings. Anyone know about this?
VICODAN said:
You can do that if you like, but I didn't really notice much of a difference..I find they are more trouble than they are worth and sometimes my sync stops working. The bigger question is notification power widget vs power control widget.. it's like 2 places to put in some of the same settings. Anyone know about this?
Click to expand...
Click to collapse
Using both the notification widget and the power control seems kind of pointless. Unless you would rather have the widget set for different toggles because you don't like scrolling the notification widget. I don't know...
Sent from Gingerbread Speedy 4G
crump84 said:
Using both the notification widget and the power control seems kind of pointless. Unless you would rather have the widget set for different toggles because you don't like scrolling the notification widget. I don't know...
Sent from Gingerbread Speedy 4G
Click to expand...
Click to collapse
There are settings you can change in power control widget that you cannot change in notification power widget settings. Add the widget to your homescreen and see for yourself since you ARE running CM7 after all.
Most of the settings you list are subjective and there's not a "best" setting or "better" setting. So, I'll just go over some of the settings that I have enabled and enjoy.
This is how I have my homescreen and power widget set up:
I don't have 2G/3G toggle enabled because I don't believe it actually does anything on our phones. I wish it did though. And I don't think you have to worry about which widget (power or status bar) takes precedence, they work together. For the status bar widget I have my media controls (prev, play, next) and my torch.
I've been using Tiamat 1.1.2 since release and have kept all performance settings at stock default. 1ghz max w/Smartass governor. I also use AutoKiller Memory Optimizer set to Optimum preset (40, 50, 60) with all the Advanced System Tweaks enabled except "Remount all partitions as noatime". I did have that enabled for a while but then I noticed that when using Gameboid it wouldn't keep track of my quick save correctly.
For me, the beauty of CM7 is in CyanogenMod Settings. There's just some small tweaks available that I don't think I've found in any other ROM that's not based off of CM7. (And I don't feel the need to use a ROM based off of CM7 when I can just skip the middleman and use CM7.) For example, long pressing volume keys while screen off to skip tracks is freaking awesome! (Big up to Bobtsunam for enabling it on MIUI, thereby removing one of the dozens of reasons that prevent me from using MIUI). Also, incoming calls in the background is genius. There is a small bug with it when using apps that exclude the notification bar since it locks the home button but otherwise it's awesome sauce.
If you turn off auto brightness then you can slide along the notification bar to adjust brightness. The long press action for Home, Menu, and Search can all be customized to open whatever app you want. I have my Menu set to bring up Subsonic when held. Whenever I want to leave an app that doesn't provide an easily accessible exit button I just long press Back and BAM!, app killed.
Oh, and I've also been using ViperMod and lowered voltages by -50mv yesterday and haven't had a problem yet. It may be a fluke or because I just wiped battery stats at 100% but I've been getting amazing battery life today. About half and half on wifi and 3G with moderate usage I've gone 7hrs 15mins and am still at 66% =)
I am on nightly #178.
BTW: To any new users reading this, you really shouldn't even bother with the CM7 RC for the Shift. That thing is way behind the curve. I know it's the only CM7 posted in Development but you should really check out the nightlies. 178 is my recommendation. The nightlies thread is in General if you have any questions.
ALL HAIL OTAKING71, THE RAPER OF HBOOT!!!
UPDATE:
I found that you DO need the Power Control WIDGET on the home screen. I was having problems after turning off switching from Wifi to 3G.
Still researching 4G/3G, updated some other settings.
updated, changed allow purging of assets to be unchecked. better performance.
THANKS!
Thank you Vico! It was a pleasure to meet you the other night =)
I am still trying to figure out if they have a Voicemail app that works well now..
Best
konichwa said:
Thank you Vico! It was a pleasure to meet you the other night =)
I am still trying to figure out if they have a Voicemail app that works well now..
Best
Click to expand...
Click to collapse
Google voice! Nice meeting you too!
VICODAN said:
Google voice! Nice meeting you too!
Click to expand...
Click to collapse
I love arguing voicemail! Lol, i personally use YouMail... Many nice features
Teleported from my Shifty Speedy using Tapatalk
updated the instructions, will make some more updates later today.
Updated how to flash instructions, added some more info, screenshots, and added credits to the people that have educated or helped me and contributed to the original post.
VICODAN said:
Google voice! Nice meeting you too!
Click to expand...
Click to collapse
Google voice won't stop the annoying text messages all the time, just a fyi.
Sent from my PG06100 using xda premium

Power Saving Mode

Does anyone know what the CPU power saving mode scales down? I know that the CPU is underclocked to 1000MHz, but I would like to know whether some other CPU scaling/core usage internal settings are altered.
I'm asking this because when I turn power saving on, I notice some lag when swiping through homescreens and the app drawer, whereas I do not when I manually set the maximum frequency to 1000MHz with SetCPU (with the phone's power saving option turned off).
You should try cpu tweaker.
You can't really find out unless you manually open all the respective files in sys partition.
Sent from my GT-N7100 using xda premium
Does CPU tweaker give all CPU information so that I can check what settings are being changed with power saving mode? I already use SetCPU and STweaks (for kernel settings)
It will show offline cpus and ghz.
To see other stuff like governor or scalling factor and all you will need to open each file manually which are located in sys folder.
Sent from my GT-N7100 using xda premium

[Q] [CM11] Delay on lock screen in incoming calls

When I receive an incoming call, the screen remains blank for about 5 seconds to display the options to answer or reject the call. How can I reduce that time?
I have CM-11-20140201-NIGHTLY-mb526 (Also in 20140120 Build)
lfuentes said:
When I receive an incoming call, the screen remains blank for about 5 seconds to display the options to answer or reject the call. How can I reduce that time?
I have CM-11-20140201-NIGHTLY-mb526 (Also in 20140120 Build)
Click to expand...
Click to collapse
Use Aero control app > Set input_boost_freq to 1200 > suspend_enabled to 0
This way u can reduce to 1or 2 sec
lak2004mi said:
Use Aero control app > Set input_boost_freq to 1200 > suspend_enabled to 0
This way u can reduce to 1or 2 sec
Click to expand...
Click to collapse
Thanks, I´ll try
lak2004mi said:
Use Aero control app > Set input_boost_freq to 1200 > suspend_enabled to 0
This way u can reduce to 1or 2 sec
Click to expand...
Click to collapse
where did you find those settings in aero control? You mean put the cpu frequencies to 1200MHz and no deep sleep?
No, I'm using instead SetVsel, I've found it looking for Aero Control.
Anyway I thank you
Sent from my MB526 using xda app-developers app
pgreed said:
where did you find those settings in aero control? You mean put the cpu frequencies to 1200MHz and no deep sleep?
Click to expand...
Click to collapse
in Aero Control, go to CPU Performance, make sure the governor is set to "interactive", then tap the phone icon in the top right corner of the screen. Here are the settings I use.
By the way, this doesn't prevent the CPU from going into deep sleep. The suspend feature just prevents the CPU from going above 300 MHz when the screen is off, so disabling it allows the CPU to ramp up to higher speeds as needed, even when the screen is off. That can actually increase the percentage of time in deep sleep, because the CPU finishes its tasks faster and then goes back to sleep.
Proverbs2 said:
in Aero Control, go to CPU Performance, make sure the governor is set to "interactive", then tap the phone icon in the top right corner of the screen. Here are the settings I use.
Click to expand...
Click to collapse
I don't have the possibilities to fine tunning settings in Cpu Performance (the "phone icon" from top right missed). and yes I am in Interactive
pgreed said:
I don't have the possibilities to fine tunning settings in Cpu Performance (the "phone icon" from top right missed). and yes I am in Interactive
Click to expand...
Click to collapse
You're probably just looking at the "Overview" screen. To change settings in Aero Control, swipe from the left side of the screen (or tap the icon in the upper left) and select CPU Performance.
Unfortunately these settings aren't helping for my defy+ according wake up times (tried it again with 05-02 nightly as well)
Proverbs2 said:
You're probably just looking at the "Overview" screen. To change settings in Aero Control, swipe from the left side of the screen (or tap the icon in the upper left) and select CPU Performance.
Click to expand...
Click to collapse
Nice one. No I'm not that stupid. I've search in CPU performance tile bu only thing that appear in the pen -weird but true.

[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

Categories

Resources