Related
[ ★ Battery Saving TIPS Collection™ ★ ]
Click to expand...
Click to collapse
Hi everybody !
Did not saw any thread which talks about battery saving tips, so this thread is for you.
Here is all tips collection I found since I bought my SGSII.
I would like to thanks all guys who posted various tips I encountered on SGSII different threads.
Feel free to contribute ! bests tips will be added ASAP with your nickname.
NOTE :
All those tips hereafter are ready for any official (Samsung ROMS) and may work on AOSP ROMs aswell (but some tips may not work, like the Samsung Apps tip for exemple).
CyanogenMod 9 and 4.0.4 ICS tips won't be added since I do not own anymore the GS2 (I now migrated to the GS3), sorry about this.
THREAD NAVIGATION :
Gingerbread PART (Android 2.3.x)
Ice Cream Sandwitch PART (Android 4.0.3)
Common PARTS
Click to expand...
Click to collapse
Gingerbread PART (Android 2.3.x) :
{
"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"
}
Firstly, before all, move to a 2.3.5 (or higher) Gingerbread ROM !
Note: 2.3.5 hit a new level of battery draining and managing. It is very highly recommanded to migrate into this version. Even with a stock rom and stock kernel, you will clearly see a difference.
Settings > Location and security > Use wireless networks : [UNTICK]
Settings > Display > Brightness : Set it to Minimum
Settings > Display > Touch key light duration : "OFF"
Settings > Display > Auto adjust screen power : [TICK]
Settings > Applications > Samsung Apps > "OFF"
Settings > Privacy > Back up my data > [UNTICK]
Note: after you untick the box, a reboot is needed.
Settings > Wireless and network > Wi-Fi settings > (press Menu button) > Advanced > Wi-Fi sleep policy > "Never" or "When screen turns off" (thanks Perceval from Hyrule).
Note: quoted from Perceval from Hyrule : "Please note it's a bit less convenient in this mode, as the wifi will connect when you turn the screen on (in never mode, whatever you do with the screen, it's connected so it's faster use)".
Ice Cream Sandwitch PART (Android 4.0.3) :
Settings > Wi-Fi > Advanced > Network notification : [UNTICK]
Settings > Wi-Fi > Advanced > Keep Wi-Fi on during sleep : "Always"
Settings > Data usage > Set mobile data limit : [UNTICK]
Settings > Call > Call rejection > Auto reject mode "OFF"
Settings > Sound > Vibration intensity > Set everything to Minimum
Settings > Sound > Everything in "System" part [UNTICKED]
Settings > Display > Weather > [UNTICK]
Settings > Display > Brightness > Automatic brightness > Set it to Minimum
Settings > Display > Screen timeout > "15s"
Settings > Display > Touch key light duration > "Always OFF"
Settings > Display > Auto adjust screen power > [TICK]
Settings > Location services > Everything [UNTICKED]
Settings > Back up and reset > Everything [UNTICKED]
Settings > Date and time > Automatic date and time > [UNTICK]
Settings > Date and time > Automatic time zone > [UNTICK]
Settings > Motion > Motion activation > [UNTICK]
Settings > Developer options > Windows animation scale > "Animation is OFF"
Settings > Developer options > Transition animation scale > "Animation is OFF"
Settings > About phone > Software update > Everything [UNTICKED]
Common PARTS :
Don't use BLN / NoLED (notifications apps from Market).
Note: this app once activated and hardware backlights on from a notification, drains like 20% in 5h sleep (tested personally) (and NoLED 8% in 1h) since BLN/NoLED don't really allows the phone to go into "deep sleep".
[*]But if you are a NoLED addict, please take a look at brahmy's setting file which will minimize consumption once load it.
Never use Tasks killer things or related.
Note: they are draining much battery than letting them on, while killing apps on the background. Let Android system managing them by itself.
Always use a black background on the desk + lockscreen (thanks Perceval from Hyrule).
Note: quoted from Perceval from Hyrule : "As it is AMOLED screen, black screen = black pixels, and on AMOLED black pixels are NOT consuming power, because black on AMOLED is not powered". Few others nice tips can be found on his post directly. I created a png directly that you can find right here :
Phone > Keypad > *#9900# > Enable "fast dormancy" > Quit
Note: This technology reduces network congestion. This would decrease unnecessary traffic at the same time as improving battery life (10 to 45%). If your carrier does not support this mode, then keep it disabled. How to check if your carrier support this mode ? click here.
Phone > Keypad > *#301279# > Click "[2] CHANGE HSPA REVISION" > Click "[1] RELEASE 99 (HSPA OFF)" > Back.
Note: locking to 3G only. To reactivate HSPA : Keypad > *#301279# > "[2]" > "[3]".
Install "JuiceDefender" or "Green Power" from Android Market.
Note: some users seems experiencing better battery life without those apps, so best solution is to test them by yourself.
Install a Kernel which allow UV (UnderVolt) to save a bit more battery.
Note: only if the Kernel of your ROM accepts it, so please verify if your ROM/Kernel is compatible. And of course, do not OC (OverClocking) your device more than 1200Mhz. Don't forget that every chips are differents so final results from a device and another are too. Always put moderate values, agressiv ones may get your phone rebooting and drain more battery than moderate. I would suggest to not go higher than -100mV. Moreover undervolting is impacting less battery heat aswell.
If you have multiple mail accounts, turn off auto-sync feature to refresh them manually. (thanks rumthin)
Settings > Accounts & sync > Auto-sync : [UNTICK]
Note: this will works also for any app like Facebook, Twitter, Beautiful Widget, etc..
Load this View attachment SetCPU_Profiles.setcpudb.txt file.
Note: once downloaded, rename "SetCPU_Profiles.setcpudb.txt" to "SetCPU_Profiles.setcpudb", put it on your in the root of your sdcard directory, go on SetCPU, and load the file on the "Profiles" tab directly by pressing menu (hardware button). Remember to never kill SetCPU process. If the file is properly loaded, it must look like hereafter. Note that many recent kernels already integrating some sleep tweaks configurations into governors like "conservative" or other, so this kind of tip is getting a bit old now.
Delete the following apps from your Samsung ROM :
Note: I recommand everybody to delete those apps which drains a lot in the background. Of course, you can keep them if you use them. Remember to always Nandroid backup before (just in case). You can deleted them directly using TitaniumBackup root app (safely), by Root Explorer, or delete them in "/system/app" manually (in the ROM zip) before flashing a new ROM.
Critical :
Dlna.apk
GameHub.apk
GenieWidget.apk
Kies.apk
KiesAir.apk
kieswifi.apk
MusicHub_xx.apk
ReadersHub.apk
SamsungApps.apk
SamsungAppsUNA3.apk
SamsungIM.apk
SamsungPushService.apk
SamsungWidget_News.apk
SamsungWidget_ProgramMonitor.apk
SamsungWidget_StockClock.apk
SamsungWidget_WeatherClock.apk
SevenEngine.apk
Recommanded :
PressReader.apk
Talk.apk
Talkback.apk
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read the whole thread (or at least 5 latest pages) before asking any question.
If you enjoy this guide, don't forget to rate it
stars, and clicking the
button (right below) is always appreciated to keep this thread maintained
LIKE MY WORK ?
OFFER ME A
!
Thanks for this tips
Sent from my GT-I9100
AndroidGX said:
SGSII Battery Saving TIPS Collection
Hi everybody !
Did not saw any thread which talks about battery saving tips, so this thread is for you.
Here is all tips collection I found since I bought my SGSII.
I would like to thanks all guys who posted various tips I encountered on SGSII different threads.
Feel free to contribute ! your tip(s) will be added ASAP whith your nickname.
Don't use BLN (BackLight Notifications app).
Phone > Keypad > *#9900# > "Disable fast dormancy" > Quit
That's all folks, enjoy your SGSII !
Click to expand...
Click to collapse
Does the BLN issue affect NoLED too?! Also what is this fast dormancy you speak of?
O and O said:
Does the BLN issue affect NoLED too?! Also what is this fast dormancy you speak of?
Click to expand...
Click to collapse
About NoLED I don't know as I never tried it, but I guess it's based on a wakelock too, so I guess the problem will remain the same, but I'am not sure.
About Fast dormancy, I found the tips on Cognition S2 ROM thread, some poeple sharing their expenriences here as battery life improved with disabling it.
better battery stats .
http://forum.xda-developers.com/showthread.php?t=1179809
That is now rule one your starting point .
jje
AndroidGX said:
[*]Settings > Display > Auto adjust screen power : [UNTICK]
Click to expand...
Click to collapse
Why we should leave this option disabled? It says "Save power by..." so it should help getting better battery results. Did You find anything that would show it doesn't work?
JJEgan said:
better battery stats .
http://forum.xda-developers.com/showthread.php?t=1179809
That is now rule one your starting point .
jje
Click to expand...
Click to collapse
This.
And no need to include Juice Defender, it drains more battery than saving it.
Regards.
LockeOn said:
Why we should leave this option disabled? It says "Save power by..." so it should help getting better battery results. Did You find anything that would show it doesn't work?
Click to expand...
Click to collapse
This option is totally useless as it does absolutely nothing : automatic brightness already include it, so it's always better to untick this box as it (maybe) consum cpu for nothing concerning the sensometer.
ithehappy said:
This.
no need to include Juice Defender, it drains more battery than saving it.
Click to expand...
Click to collapse
A lot of people here on XDA and on Market definitely shows their enthusiast about this app (approx 4 dudes on 5 that I cross is happy with it and says it's much better with it), so do I. And some developpers are using it too, I don't think its so useless as that then
AndroidGX said:
A lot of people here on XDA and on Market definitely shows their enthusiast about this app (approx 4 dudes on 5 that I cross is happy with it and says it's much better with it), so do I. And some developpers are using it too, I don't think its so useless as that then
Click to expand...
Click to collapse
I think it's a good app for scheduling 3G/WiFi/Packet Data/GPS etc. I've used this app for more than one week, the Ultimate version, and it saved no battery but ended up under a big amount of time in Wakelock. So it basically drained more than saving.
Regards.
If you set it up correctly it's definitely a great app and it saves a lot more juice by managing your 3G than draining with wakelocks.
For BLN, is it 20% in 5h with "activated" BLN (lights on with a new(s) message(s) ) or is it all the time ?
Ethys said:
For BLN, is it 20% in 5h with "activated" BLN (lights on with a new(s) message(s) ) or is it all the time ?
Click to expand...
Click to collapse
Only when lights goes on.
If anyone is running multiple pop3, imap, or exchange email accounts, I highly recommend setting all of them to manual sync. I had three accounts set to update every hour, and my battery was draining at a rate of about 30-50 mA in idle. After setting them to manual, my idle battery consumption is at ~5mA in idle. It made a huge difference.
How are you monitoring you current drain , the lowest i have got is 15mah with battery monitor widget pro, though i wish we had true ma reporting like htc , not estimated
rumthin said:
If anyone is running multiple pop3, imap, or exchange email accounts, I highly recommend setting all of them to manual sync. I had three accounts set to update every hour, and my battery was draining at a rate of about 30-50 mA in idle. After setting them to manual, my idle battery consumption is at ~5mA in idle. It made a huge difference.
Click to expand...
Click to collapse
ithehappy said:
I think it's a good app for scheduling 3G/WiFi/Packet Data/GPS etc. I've used this app for more than one week, the Ultimate version, and it saved no battery but ended up under a big amount of time in Wakelock. So it basically drained more than saving.
Regards.
Click to expand...
Click to collapse
I agree that Juice Defender Ultimate is a great app for scheduling sync and turning off Wi-Fi (and/or mobile data) when the screen is off. This effectively saves battery. I have been using it for a while and I like it. Of course, its use results in wake locks, as it happens every time the app is activated when the screen goes off and when it activates the sync accordingly to the schedule set up.
The best solution would be to manually sync e-mails and everything else and to manually turn off Wi-Fi (and/or mobile data) when not using it. It would be roughly what JD Ultimate does, but without the wake locks.
However, I prefer using JD Ultimate for this, as it is much simpler than doing all the stuff manually every time you just want to quickly check an e-mail. The wake locks are the price to be paid for the simplicity.
I have doubts, however, whether the other versions of the JD are of any help or not, as they don't have the schedule functionality. JD Ultimate is useful, but it is not cheap. One might prefer to do things manually or leave Wi-Fi (or mobile data) and sync on all the time (but then the battery will go very fast).
ithehappy said:
This.
And no need to include Juice Defender, it drains more battery than saving it.
Regards.
Click to expand...
Click to collapse
this is nonsense, Juice Defender Ultimate has saved me hours of battery
Tinderbox (UK) said:
How are you monitoring you current drain , the lowest i have got is 15mah with battery monitor widget pro, though i wish we had true ma reporting like htc , not estimated
Click to expand...
Click to collapse
I'm using Battery Monitor Widget, but I wasn't aware that it was inaccurate... Oh wellz. Regardless, the mA readings I get seem to reflect the battery percentage drain.
jonny68 said:
this is nonsense, Juice Defender Ultimate has saved me hours of battery
Click to expand...
Click to collapse
Well it didn't do for me. Now if you are a person always connected to WiFi/3G and do not turn them off manually then JDU could have saved some juice but if you don't use them all time and have time to disable them manually then no way JDU will save any but drain it. I always had JDU as the first list under Wakelocks in BBS. Stats can't be wrong, can they?
Anyway, I am not going with this any far. Just to say if anyone likes JD then keep using but I, for me, will never use it.
EOD.
Regards.
ithehappy said:
Well it didn't do for me. Now if you are a person always connected to WiFi/3G and do not turn them off manually then JDU could have saved some juice but if you don't use them all time and have time to disable them manually then no way JDU will save any but drain it. I always had JDU as the first list under Wakelocks in BBS. Stats can't be wrong, can they?
Anyway, I am not going with this any far. Just to say if anyone likes JD then keep using but I, for me, will never use it.
EOD.
Regards.
Click to expand...
Click to collapse
Yes my 3G would always be on when the phone is switched on so in that regard yes it definitely does save a lot of battery.
I am good at tuning wifi, gps, blutooth on and off myself as needed , so Juice Defender is not of benefit, though i did buy Green Power battery saver, and it worked with another android phone i had, but i would only use the function to turn off all transmitters at bed time, eg airplane mode, but it does not seem to work on the S2
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
One of the best apps in the Market for android is Tasker. Needless to say what transformation cand your phone get by using this app. You can see that here:
http://tasker.dinglisch.net/
and you can get it from here:
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
I was just trying to find a collection of profiles for O1 and it seems there isn`t one, so why not having it right here.
So let`s get the best from our O1 by sharing the profiles we can use for different tasks. Practically there is no limit to what we can do with the phone using that app.
I also recommend you should post your system configuration because some tasks may not work on some roms, kernels etc.
LET YOUR SMARTPHONE BE SMART!
For people using ICS Roms, go to sttings>language and input method>text transformation result and select Pico TTS so you enable voice on Tasker.
I`ll start with a simple profile to make you phone stop ringing by turning it face down:
For this Context, you would choose State, then pick Orientation. You'll get the options you see at left. For this example, "Face Down" is a pretty deliberate action you take with your phone.
For the tasks, you can add "Bluetooth" and "WiFi" from the Net menu, set to Off, "GPS" from Misc set to Off, and set the volumes for "Media Volume" and "System Volume" to 0 from the Audio menu. If you'd like, you can re-order the tasks in priority by pressing and dragging them up the chain. In this case, I moved the volume-to-0 tasks up higher, since silencing the phone was the most important thing to do. Hit Done, and you're all set.
And there you go! Just flip the phone on it`s face to make it silent.
All the profiles listed below can be found here
http://tasker.wikidot.com/profile-index
Simple
Use different ringtone for callers not in your contact list
Button to turn 3G Data Connection on / off
Wi-fi Button for home screen
Full silent mode button (turns off ALL sound including media and notifications)
Battery icon on home page that shows exact %
Birthday alert from google calendar.
Auto Respond to Received SMS while driving.
Speak Weather in the Morning
Add Calendar Entry Based on another entry (rename if necessary
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Always ring loudly for call from important contact
Blocking Calls
Camera Gesture
Automatically turn off Bluetooth
Connect2Wifi: task with loops and feedback if connected or not
Intermediate
This will retrieve your location then post to xml file and send location via sms 1/9/2012
Find weather for next two time periods for your current location and speak it. (Using HTTPGet)
Keep volume low when using headphones
Repeat Caller Name
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Create KML files for Google Earth
Enhancing battery life using Tasker
Missed Notification Reminder
LocateMe Log, Track And Emergency Button
Daily Reminder SMS e.g. for birth control
Total Wifi and Mobile Data Sync Control
The Ultimate Alarm Clock
Boost SD Card Read Cache
Automatically Send an "I'll be Home Soon" SMS
Nandroid Backup whilst you sleep with file management
Keyguard Delayed Enabler (with ready-made task for a Keyguard toggle widget)
Gmail/SMS/Call Notifications with "Minimalistic text"
The Deep-Sleep-Detective
Text me when you get home!
Juice Defender inspired Battery saving
Clock in and Clock out - create a calendar entry with event start and event end times
Disable keyguard when you are at work/home
Advanced
Record Phone Calls (legal)
Periodic Data Check (Juicedefender Replacement)
Periodic Data Check with Widgets (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Find weather for your current location automatically (Using HTTPGet)
Set up an alarm clock that adapts to inclimate weather (Using HTTPGet)
Aumatically start / stop your WIFI when you are at home with limited battery use
Enable WIFI when within cell tower range for multiple access points, minimal battery use
Balance wifi usage and data check (Update)
CPU control profiles for governor and frequency
Tasker as an Automated Task Manager
Blackberry-like Sound Profiles
Automatically change display brightness while plugged in depending on time of day
Automatically respond to texts with street address
Expert
iTANCard
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
vlt96 said:
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
Click to expand...
Click to collapse
Read first, post after. Tasker app does not keep your phone awake as most tasks are set to trigger while it is awake and the display is on. Like the task to open automatically wifi when you open your browser or xda app and set it off after closing those apps. And when setting triggers based on power settings or time, the wakelocks are not constant, being activated just like alarm wakelocks. In fact you can set smart alarms too. Or actions based on calls/sms/mms received from specific ppl at specific times etc., or actions based on gestures set by you, proximity sensor ...
Tested wakelocks with BBStatus and no wakelocks, the phone goes to deep sleep. Tested cpu freq with Cool Tool and max freq is used only when starting the triggered app or doing the task set. In the rest of the time the freq oscillates normally.
And please do not make comments on any app based on how other apps behave. Try it then post.
If anyone is using this app, post your profiles or the ones you think are usefull.
nice thread! let me share my fav profiles
@vlt
Yea, you are the only one who thinks it because otherwise the app wont get 4-5 stars at always if it is battery consuming also, just because the developer had explained clearly how the tasker consume battery. its in the userguide inside and im vrry satisfied with it.
@voyager
tasker is just amazing to me ive been using it for long because it really makes my phone even smarter.
undoubtedly yes, using sensors as a context is the most battery comsuming but we can Limit the use of its detection by ourselves. not mentioning its pre-installed functionality that it wont detect when screen off, for your silent mode thing we can add another context - how about only when our launcher is in the foreground? that makes things even easier
now im glad to share my most frequently used profiles (not giving you guys my private ones XD) including
- vibrate 0.3 second with a little toast msg when power is plugged
- vibrate 0.3 sec and show how much battery left with toast when power is unplugged
- weekdays auto vibration mode in the morning
- auto rotation only on browser
- temporarily disable lockscreen when specified apps are opened (my default set for u is calculator)
- CM7 camera anti-flickering (good for those who OC with stock kernel )
- brightness 80% when camera activates and restore after exit
although gestures and proximity sensor contexts are SUPER COOL, other than the time i show off to my friends xD, ive always been avoiding the sensors to eliminate any chances of over using them and cause batteries.
so, i guarantee my profiles are super battery friendly....
hehehe you must be tempted to download immediately? do it! tell me what do you think of my favourite profiles which are always activated on my P500
to import, unzip my zip and u get xml files. go to tasker, long press "profiles" tab, import, choose the xml. done!
lol dont worry abt the little tip, Miasmic never gives malicious tasks
Happy tasking!
Sent from my LG-P500 using xda premium
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
voyager20021 said:
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
Click to expand...
Click to collapse
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Miasmic said:
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
How do you change OC on it?
.........
Set a profile which is based on a context on which the task will trigger, for example when open camera, set task to set clock to 600 Mhz, then set exit app task to reset the clock back to your usual OC freq.
You can play like that with almost everything on you phone.
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Doesn't it have an option for network location too?
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Yap! Also can set to start wifi/data when opening browser and disconnect when closing it etc.
vlt96 said:
Doesn't it have an option for network location too?
Click to expand...
Click to collapse
Look under task>net. If not there then no.
I can't get it executes the task, the notification keep saying no active profiles. Imported missmic XML profiles (thanks to miasmic). please help, thanks....
Try setting some simpler tasks like start wifi when opening browser. Miassmic`s tasks can be set manually too.
Here`s another profile
Enable WiFi when at Home
Context: State –> Cell Near
Tap the “Start” button and move around your home as your area may be covered by several cells (the “<” sign represents the tower you’re currently connected to). You may stop it after few minutes.
Action: Net –> WiFi
Another profile which sets up a shortcut on home screen for taking instant photos, without opening camera app (point and shoot)
Long-press on the Home-screen > Shortcuts > Task
Action: Media –> Photo Series Time (So that new photos don’t overwrite the previous one and every new photo will have the time attached with its name.)
If discrete is checked, there will be no sign of the picture being taken.
Profiles i use
I attached some of my usual profiles.
What they do:
Missed call> after any missed call with display locked the phone vibrates 0.7 sec than waits one minute and says "you had one call x minutes ago" every minute for 30 minutes. Profile must be used with display unlocked profile
Display unlocked> if you had a missed call and unlock the phone the missed call profile stops
Charging>when connected to AC/usb (can be set to either or any) phone will vibrate 07 sec and say "charging"
Battery full>when connected to AC/usb (can be set to either or any) and battery reaches 100% the phone will say "battery full"
Profiles can be improved or modified easy to reach anyones expectations.
This application has a few problems like battery drain .
Another one is UI....it's a bit unfriendly by the way the cool thing is that you have that if :
if condition1 = or anything with condition 2 then execute .
Yap, a bit unfriendly, but once you now how...
Hi,
On cm 7.2, how do you set tasker to enable or disable pattern lock?
I'm on cm 7.2 since yesterday on my Desire. It's my first time on cm, actually. Before that, I used to be on HTC Desire specific roms. I'm rooted.
I've been using Tasker for quite a while, and by now I have a number of profiles that make me feel my phone is smart
Now, the big problem with Tasker is that it spoils you by doing all sorts of things automatically for you. And when a profile no longer works and you have to do things manually, you get really annoyed
And so, in that context, I have the following profile :
Profile : Home
Context : Cell Near
Variable Set %HOME to on
Wifi Set On
Secure Settings Configuration Pattern Lock disabled
Previously, before I switched to cm 7.2, this used to work perfectly, with GO Launcher and stock pattern lock. Now that I'm on cm 7.2 also with GO Launcher, Tasker can no longer act on pattern lock.
Any idea anyone?
Thanks,
Egg
SOLVED :
I solved my issue by complety removing Secure Settings and re-installing version 1.2.2 from Google Play.
So I am thinking about buying this app but.....
This app is incompatible with your device.
CTM Samsung GT-N7100
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
JohnMather said:
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
Click to expand...
Click to collapse
There's a 7 day trial version you can download here:
http://tasker.dinglisch.net/download.html
When you talk smartphone, you want consistency, you want reliability, you want good battery life. And considering also that the Xperia Z2 doesn't have a swappable battery, at least not easily, you want your mobile to keep going for as long as possible.
So this thread is to help you optimise the battery life of your Xperia Z2. It's not 'Magic', it's just knowing what drains battery and avoiding it. Simple tips most people know and well, many more should. I will also use the steps from my Initial thread here - http://forum.xda-developers.com/showthread.php?t=2579075 as the steps there are actually helpful to just about any android devices.
Just dat in this thread, i will try to target it at the Xperia Z2 of course.
Xperia Z2 specific tips (Or any other Xperia device)
1. Turn On Stamina Mode: App drawer > Settings > Power Management. Turn it on.
After turning on Stamina mode, remember to add the applications you need active in Standy, these are applications your rely on for notifications, such as Instant messaging apps.
If you do not do this, you will not receive IM messages or email notifications till you turn on your screen.
Example of the apps on my list are: BBM, Email, Gmail, Instagram, Messenger (FB), WhatsApp. So I still get my messages.
2. Turn On Extended Stand By: App drawer > Settings > Power Management > Stamina mode. Then tick Extended Standby.
3. Turn On Extended usage: App drawer > Settings > Power Management > Stamina mode. Then tick Extended Usage. (If you notice lag, turn off this feature) - But this has a HUGE effect on extending battery life. I don't get lags, so i leave it on.
4. Turn On Low Battery mode: App drawer > Settings > Power Management. Turn on Low battery mode. Now select Low Battery mode then Unick Mobile Data Off and WiFi Off, as i'm guessing you would still want to use your internet when ur battery is below 20%.
5. Turn On location Based WiFi: As the name implies, it turns on ur WiFi when u are in a certain location (say home or office). Then turns WiFi off when u out of that location. This feature doesn't work in my situation as I have a mobile pocket router. So I keep it turned off, do the same if you you have one of those too.
6. Turn On Queue background data: App drawer > Settings > Power Management. Tick Queue background data.
As the description below it says, what it does is queue the background data and send out background data at intervals, instead of sending randomly and using more battery.
7. Turning Off X-Reality Engine: This can also help you save some battery, but i guess most people will rather have than on. You can find this here Settings > Display. First thing on the list is X-Reality Engine.
8. Freeze Bloat: Bloatware are apps that could be useful but are not neccesary for the effective running of the phone. The more bloat u have running, the more ram your device uses and in turn, battery. I have made a list of Apps that are 'Safe to Freeze' on the Xperia Z2 itself, as I am not yet rooted at the time of this original post, the list is not yet complete.
But I will add alot more to this list when I root and get the option to freeze even more. You can disable these apps by going into Settings > Apps, then swipe to the 'All' tab. Select the app then hit disable.
Here is the list below.
Safe to Freeze Apps
Account Manager
Black Hole
Bubbles
Drive (I have limited data, i don't use it - I reckon it will drain battery too)
Google lyrics extension
Google Play Newsstand
Google Search (Will explain later in this post)
Google+ (Will explain later in this post)
Maps (Will explain later in this post)
Movie Creator (This disables Timeshift Video creation)
News & Weather
Photo Analyser Service
Play Games
Podcast
SensMe slideshow
Sketch
Smart Connect (You will need for Sony accessories)
Social Live
Socialife
Sony Select (You will need enabled to download themes)
Support
Weather Widget
Wikipedia extension
Wireless Emergency Alerts
Xperia Calender Sync
Xperia Music Likes
Xperia Socila Engine Sharing
Xperia Lounge
Xperia with Facebook
YouTube (I almost never use it, if you do.. No need to)
YouTube extension
YouTube karaoke extension
General Tips (Adopted from my first thread)
9. Greenify: ROOT ONLY EVERY rooted user must have Greenify! It's a fantastic app! It hibernates apps that you are not using so they never get to use your battery, yet the apps are available whenever you need them. No stress!
Download Greenify here - https://play.google.com/store/apps/details?id=com.oasisfeng.greenify (I bought the paid version as it has more fuctions)
For those who don't know greenify or how to use it, it's simple! Only Greenify those apps you don't rely on for Push Notifications.
For example, don't greenify apps like WhatsApp, Facebook, Viber, Twitter, BBM if you expect to get notifications from them in the background.
Feel free to Greenify other apps like your games, adobe reader, dictionary, and the rest of them as you don't receive notifications from.
Note: If you are a NON ROOT Greenify user, you can still select to greenify apps. Go into Greenify and click the '3 dots' at the bottom right corner of the screen and hit 'Create hibernation shortcut'. This will send a shortcut to your home screen which u can use to close all ur supposedly 'greenified' apps by just touching that button. Do this whenever, especially just before u lock ur device. It's very effective. However, Greenify works best on Rooted devices. It hibernates automatically.
10. Screen/Brightness: As we all know, normally the screen consumes the most power so if you can manage ur screen properly, u can get some extra juice. My advice on brightness is set to Lowest then tick 'Auto', so you won't have to bother about setting screen brightness especially when outdoors. Then you should screen also set timeout to 30s. Try to avoid using live wallpapers as it uses the GPU for the animations.
11. GPS/Maps: Now, GPS is like the Number One drainer of battery and many many people don't know this. Here is what you do, pull down your notification bar with 2 fingers and make sure 'Location' is turned off. Leave turned off 'ALWAYS' unless you need to use GPS.
Maps is also another app that drains battery in the background, I don't use maps at all, so I keep it frozen/disabled all the time.
But if you use maps always and you are ROOTED, my advice is that you open up TitaniumBackup, look for maps on the list of apps, long press it and then convert to User app. Now u can Greenify it and it will still be available whenever you need it.
Note: Latest versions of Titanium Backup doesn't allow you to convert user apps, I can't find it anywhere anyways.. But here is a work-around. Uninstall Maps in Titanium Backup. Then re-install it from Play Store. Now it will install as User app instead of system app and u can freeze it.
12. Google Now / Google+: Google now does drain battery, if you don't use Google Now, turn it off. Go into Google now, enter settings and turn off. I keep my Google now frozen as I never use it anyways. If I ever need to, I will unfreeze it.
Google+ is one app that drains alot of battery, if you do not use it much or don't need it at all, my advice is that you handle it. Greenify it or better still, Get rid of it. However, if you use Google+ always and you are ROOTED, Greenify it just as I said in the step above.
If you successfully handle numbers 11 and 12, you will not have issues with 'Google Services' drain anymore!
13. Sounds/Vibration: Maybe not really a big deal, but those keypad/touch sounds do drain battery. It's fine to leave them on if you 'really' like em, but if you can do without, then do! Especially Haptic Feedback! (Vibrate on touch). Settings > Sound. Now scroll down to System. You will get the option there to turn them off. It's fine to leave Dial pad touch tones and StartUp tone. You don't hear/use then dat often (If that makes any sense to you lol). Also go into ur keyboard settings and turn off any sounds and vibration
14. Reception: Believe it or not, reception is VERY IMPORTANT when it comes to battery life saving. If you have good reception, then it's smooth sailing and good battery, but if your reception isn't good then your phone is always always trying to reconnect your apps and services to the internet, over and over and over again! (especially on mobile data). Trust me, this can take a serious Toll on your battery.
Here is how: Well, since i'm always on WiFi (have a pocket router as i said earlier).. I never need '3G/HSPA' reception active (No 4G here), so I set my phone to GSM/2G Only. Go into Settings > More... > Mobile Networks. then change Network mode to GSM Only). If you use LTE, you can set to either just 3G Only as that should still be more stable than 4G/LTE, you can still set as above too, afterall you won't be needing the LTE connection when on WiFi.
Bottomline, setting phone to 'GSM only' saves you a CHUNK of battery
However, if this sounds too complicated or something, this App makes it simple. (SADLY it is ROOT ONLY) You can set it to switch your phone to GSM Only when on WiFi and then Back to 4G/3G when disconnected from WiFi. Pretty Neat eh?
http://forum.xda-developers.com/nexus-4/themes-apps/app-intelli3g-2g-3g-4g-toggle-battery-t2580234
15. Disable Animation scales: Settings > Developer Options. Then scroll down to 'Drawing' section. And set the following to 'Animation Off'. Window animation scale, Transition animation scale and Animator duration scale. What this does it disable those UI animation helping you save battery, at the same time, making ur phone feel more responsive and fast.
Note: If you can't find 'Developer Options' in your settings menu, Select 'About Phone' instead then scroll down and keep hitting the 'Build number' option as many times till you see message saying 'You are now a developer', now go back and you will find developer options!
16. Sync: Of course disabling Auto Sync will extend your battery time, but then your smartphone might as well not be called a 'smart'phone anymore. So, even if you leave Auto-Sync on, be sure to make sure that your phone Auto Syncs stuffs that you actually want it to, things that you really need! Especially under Google Sync. Open Settings, Scroll down to 'Accounts' area then select Google. After you select Google, now select ur main account there which i guess should normally be the first one. Not sure, I only alays have 1 google account on my phone. After you select it, you will see a list of the items it is actively Syncing. For me here, the most important to me are 'Sync Contacts' and 'Sync Gmail' and those are the only two I leave active. I untick all the rest. You should do this according to what you use, or do it like Stanley! You can apply same to other google accounts you have on ur phone.
Extra (Unrelated)
I found out that the Whites on the Xperia Z2 is kinda off. Looks 'brownish' if I may. Go into Settings > Display > White balance. Then try R = 5, G = 35, B = 80.
Want more tips? Have some questions? Want quicker response?! Or you can actually contribute...
JOIN THE XPERIA Z2 FACEBOOK GROUP HERE
Having said all these, I know some of you will disagree with some things I have written above. But I'm only trying to help Xperia Z2 users get the best out of their Battery.
And hopefully the screenshots below will convince you to try some or all of the tips above. And as I said, I'm not rooted (at the time of this post) so i guess even root is not essential to get the best battery life on the Z2.
I had BBM, WhatsApp, 2 Email clients (Stock and Gmail), Instagram, Messenger (FB). Stock Facebook app drains too much battery! I don't use it.
First Test
ScreenTime
{
"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"
}
Battery Graph
For some reason, GSam Battery Monitor Pro did not tally with the phones stats exactly. I think it was because I didn't install the Kitkat battery stat thing it asked me to or maybe its because i'm not rooted. Don't know really. Anyways, it's only about 1 or 2 minutes off and still as credible, you get a better idea of how i used my phone.
GSam Battery Monitor Pro
Second Test with Extensive Usage
GSam Battery Monitor Pro
Screentime
Battery Use
I hope this thread really helps you 'Maximize the Battery Life of your Xperia Z2'
CHEERS!
thanks for sharing and making the list of safe apps to disable. I followed the list and disabled almost all of them and you should include xperia with twitter as well beside the facebook one. Since im not rooted,thats the only thing i do now + stamina mode. Now i will see how it will go with battery saving
StarFcker said:
thanks for sharing and making the list of safe apps to disable. I followed the list and disabled almost all of them and you should include xperia with twitter as well beside the facebook one. Since im not rooted,thats the only thing i do now + stamina mode. Now i will see how it will go with battery saving
Click to expand...
Click to collapse
Ok i will add to the list as i said. Don't forget to say if it helps you. Cheers!
Thanks for the post. It's nice to see I'm not the only one who's anal about battery life. And I hate all the battery draining bloatware (that's usually switched ON by default as well).
I'll de-bloat some more as soon as there's an exploit that allows me to root without UB.
And I'll have a look into Greenify as well. Is it as good as You claim it to be?
EDIT: It would be nice to know what all those safe-to-remove apps do. What does Xperia Social Engine Sharing do, for instance?
Don MC said:
Thanks for the post. It's nice to see I'm not the only one who's anal about battery life. And I hate all the battery draining bloatware (that's usually switched ON by default as well).
I'll de-bloat some more as soon as there's an exploit that allows me to root without UB.
And I'll have a look into Greenify as well. Is it as good as You claim it to be?
EDIT: It would be nice to know what all those safe-to-remove apps do. What does Xperia Social Engine Sharing do, for instance?
Click to expand...
Click to collapse
I will look at them, but i guess it has to do with sharing something from an app in ur phone to FB. 'Safe to Freeze' only means freezing it won't disturb ur phone and not that u must freeze them all. I don't use these...
Unless rooted, I don't think greenify helps that much. It doesn't seem to hibernate properly once out the app. Just sits in pending?!
belloni said:
Unless rooted, I don't think greenify helps that much. It doesn't seem to hibernate properly once out the app. Just sits in pending?!
Click to expand...
Click to collapse
True! Greenify is more effective when u rooted.
Great guide!
I was to point out to users that Freezing 'Movie Creator' disables Timeshift Video creation.
Lolento said:
Great guide!
I was to point out to users that Freezing 'Movie Creator' disables Timeshift Video creation.
Click to expand...
Click to collapse
Thanks alot mate! Added to OP.
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Sent from my D6503 using XDA Premium 4 mobile app
xnknown said:
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Click to expand...
Click to collapse
I was wondering the same thing. Stamina seems to be doing a great job :good:
xnknown said:
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Don MC said:
I was wondering the same thing. Stamina seems to be doing a great job :good:
Click to expand...
Click to collapse
Lol. I get ur confusion. But technically, No. Stamina mode disables internet to stop apps from transferring data. Greenify closes the entire app. Let's say for instance, you sleep off using your phone, maybe with Google Chrome running, stamina mode will only stop google chrome from transferring in the background 'periodically' but Greenify will close Google chrome entirely because it sees that your screen has been turned off for a while which means that you are not using the app. So, it closes it entirely. Saving you even more juice.
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
PiskopatYazar said:
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
with 10 hours screen on time like the OP??
stu_tls said:
with 10 hours screen on time like the OP??
Click to expand...
Click to collapse
Firstly Im not wasting my 10 hours of a day on my phone.
Secondly I get 5 - 6 hours on screen
PiskopatYazar said:
Firstly Im not wasting my 10 hours of a day on my phone.
Secondly I get 5 - 6 hours on screen
Click to expand...
Click to collapse
when you get 10 hours like the op you wont be getting 2 days out of it
I can get 3 or 4 days out of mine if I hardly use it
stanley08 said:
Lol. I get ur confusion. But technically, No. Stamina mode disables internet to stop apps from transferring data. Greenify closes the entire app. Let's say for instance, you sleep off using your phone, maybe with Google Chrome running, stamina mode will only stop google chrome from transferring in the background 'periodically' but Greenify will close Google chrome entirely because it sees that your screen has been turned off for a while which means that you are not using the app. So, it closes it entirely. Saving you even more juice.
Click to expand...
Click to collapse
Do we need root to use greenify?
Sent From My Sony Xperia Z2 D6502 White .402
paras said:
Do we need root to use greenify?
Sent From My Sony Xperia Z2 D6502 White .402
Click to expand...
Click to collapse
Yes. To use it effectively.
PiskopatYazar said:
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Then this thread isn't for you. Neither is it compulsory that you must comment. If I leave my phone in my closet, I will get over a week battery life.
Trolls will troll. Let's ignore them..
Thanks for the good tips!
Vangelis13 said:
Trolls will troll. Let's ignore them..
Thanks for the good tips!
Click to expand...
Click to collapse
Haha! True mate! And Cheers!
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