[Guide]Android Battery saving: Tasker/Greenify/Xposed - Kill Google Play Services - Android General

Everyone wants to be connected, but save battery right?
I think this is the best solution we've got on kitkat 4.4 While still maintaining
google now/play/services and sync functionality.
(Also works well with most 4.x systems.)
I added updates to the second post. Thanks for visiting!
This tutorial will..
- Show you basics within tasker profiles
- Auto Sync Every 2 Hours (editable). Turns Data Off and On
- Auto airplane mode 12:30am to 5:30am - Mon, Tues, Wed, Thurs and Fri Mornings.
- Auto sound off at night Mon, Tues, Wed, Thurs
- Auto Backup Apps with TiBu at 4am
- Auto pattern lock on location, Disable @ Home
- Auto Turn PowerAmp on/off and set volume with headphone plugin/unplug
- Maps,Chrome,Tapatalk auto gps/data/wifi on/off "WIP"
- College/Home/Elsewhere Location profiles (set your own!)
- Allow google now/play services to hibernate
- Help fix broken .mp3 files (looping media scanner/server)
- Fix bad blocks in android
- Save you a ton of battery!
The following is done in Dalvik mode as ART is not supported by Xposed Framework just yet.
Apps Needed
- Root Access!
- Tasker (paid version) Free might work also.
- Greenify (paid version) to greenify system apps (google play services!)
- Xposed Framework 2.4.+ (enables airplane mode and greenify paid services)
- Secure Settings Plugin Secure Settings for GPS and Location Profiles (more to come)
- 4.1 helper! from within Secure Settings to enable features of Secure Settings in 4.4.x
- TaskKill Tasker Plugin [Root] To kill google play serivices
- Xposed Jelly Bean 4.x Airplane Mode Helper
- 7zip For extracting/repacking etc.
- Titanium Backup (paid version too for Auto)
And don't forget, to give many likes and donations to the OP'ers of these individual threads Thanks
Click to expand...
Click to collapse
I am not responsible for what you do with your phone, so take care
and understand these settings regarding kernel may fry your cpu if done wrong.
Also, DO NOT HIBERNATE CLOCK, PHONE or SMS!
Quick Notes
The worst this guide can do is turn the google now auto voice activation "OKAY Google" off yet google now will still function.
- Some apps like Whats App might not work correctly if hibernated by Greenify.
Be careful of what you hibernate and check How to Hibernate google play services and more! section.
- If you want to stay connected 24/7 via data, omit the Mobile Data = Off in the Exit task End Sync in Sync Every 2 Hours Profile.
- If %HOME ~ elsewhere
This checks to see what %HOME output is set to by reading the file in the current Profile
Example:
Home
- Read File
File Tasker/Home.txt To Var %HOME
- Enjoy!
Tasker Profiles
I'll share my Tasker profiles below in Downloads (if you don't know
what tasker is, check it out on google play and these XDA Youtube Tutorials may also help!)
To import Profiles from Downloads, hold the Home button in tasker.
Airplane mode
The Airplane mode profile turns airplane mode on automatically from
12:30am to 5:45am on Mon, Tues, Wed, Thurs and Friday mornings.
It then turns off airplane mode on exit.
(leaving Sat and Sun out of the list will keep you from missing those calls and texts when your out)
Tasks Used
Enter Task Auto Airplane Night Mode enables:
- Jeally Bean 4.x Airplane Mode Helper = On <--------You could use Secure Settings For this also. Maybe Reduce Battery usage.
- Secure Settings WiFi Scanning = Disabled
- Wait 17 Seconds
- Hibernate Now = All Greenified Apps
- Secure Settings Gps = Off
- Night Mode = On
Exit Task Airplane Mode Off enables:
- Jelly Bean 4.x Airplane Mode Helper = Off <--------You could use Secure Settings For this also. Maybe Reduce Battery usage.
- Secure Settings WiFi Scanning = Enabled
- Night Mode = Off
Click to expand...
Click to collapse
Airplane mode - Allow Family Call @ Night
This is the alternative to Airplane Mode for those of you that wish to save battery, yet
still keep your Cell Radio turned on for calls and VERY Important calls can be added to
IF %CNUM ~ ________________________1234567890 This will AIRPLANE Radio: WiFi, NFC, Bluetooth, WiMAX, WiFi scanning at night
but if (Caller 1234567890) calls, Turn audio on all fronts up to max Vibrate for six seconds and Take call if ringing for 7 seconds with Speaker Phone turned on!
If you don't get the call, then your way to tired.
Tasks Used
Enter Task Radio-Off enables:
- Secure settings Airplane Mode Radios: WiFi, NFC, Bluetooth, WiMAX = Off
- Secure Settings WiFi Scanning = Off
- Hibernate Now = All Greenified Apps
- If %CNUM ~ 1234567890, 0987654321 <----- if it does not work for two just take one number and the comma out and reduplicate this whole If statement.
- Haptic Feedback = On
- Silent Mode = On
- Secure Settings Airplane Mode = Off
- Vibrate 6 seconds or so
- Ringer Volume = 7
- Notification Volume = 7
- Media Volume = 15
- In-Call Volume = 5
- Take Call = IF %TIMES ~ 7 <------7 seconds call gets answered.
- Speaker Phone = On
- End If
Exit Task Airplane Mode Off enables: Yes same exit as the original Airplane Mode.
- Jelly Bean 4.x Airplane Mode Helper = Off <--------You could use Secure Settings For this also. Maybe Reduce Battery usage.
- Secure Settings WiFi Scanning = Enabled
- Night Mode = Off
Click to expand...
Click to collapse
Sync_Every_2_Hours
Sync every 2 saves battery and keeps productivity high.
This Turns Data Off/On to Sync data for 25 Seconds.
From 06:00 every 2 hours Till 00:00
Tasks Used
Shared with FB, Tapatalk and Chrome On/Off
Enter Task Data On enables:
- Mobile Data = On
- Auto-Sync = On
- Mobile Data = Off If %Home !~ elsewhere <------Data off if %HOME is set to anything other than elsewhere
- Secure Settings GPS = On If %HOME ~ elsewhere <------ GPS on if %HOME output matches elsewhere
- WiFi = On
- WiFi = Off If %HOME ~ elsewhere
- Wait 25 Seconds
Exit Task End Sync enables:
- Mobile Data = Off
- Secure Settings Gps = Off
- Auto-Sync = Off
- Wait 11 Seconds
- Hibernate Now = All Greenified Apps
Click to expand...
Click to collapse
Screen Off Hibernate Lock
This profile used to only Hibernate all Greenified Apps.
In addition, it will now check VAR %HOME to see if you are at #Home, #College or #Elsewhere.
Turn on pattern lock, and select a pattern to use. (pattern is the choice secure settings uses)
- You can also go and remake the secure settings options and select pin I believe.
- You can also turn it all off by just leaving Hibernate as the only task on screen off.
It will use Secure Settings to Enable: Lock Device/Enable Pattern on screen off,
IF #College or #Elsewhere Profiles are enabled.
Example:
If %HOME ~ home <--- if %home output is set to home from Tasker/home.txt Secure Settings will Disable Pattern Lock.
Tasks Used
On screen off
Exit Task Hibernate enables:
- Hibernate Now = All Greenified Apps
- If %HOME ~ elsewhere, college
Secure Settings = Lock Device/Enable Pattern Lock
Vibrate Time = 30
- Else If %HOME ~ home
Secure Settings = Pattern Lock Disabled
End If
You can also add whatever you want to turn off.
Click to expand...
Click to collapse
Facebook Data/WiFi on/off Fixing
There are tons of options when it comes to tasker. A favorite one of mine has to be launching facebook.
Tasks Used
Facebook On/Off
Enter Task Data On enables:
- Mobile Data = On
- Auto-Sync = On
- Mobile Data = Off If %Home !~ elsewhere <------Data off if %HOME is set to anything other than elsewhere
- Secure Settings GPS = On If %HOME ~ elsewhere <------ GPS on if %HOME output matches elsewhere
- WiFi = On
- WiFi = Off If %HOME ~ elsewhere
- Wait 25 Seconds
Exit Task Kill FB Data Off enables:
- Wait 25 Seconds
- Mobile Data = Off
- Auto-Sync = Off
- Hibernate Now = Facebook
Click to expand...
Click to collapse
Chrome Data/WiFi On/Off Fixing
Shared with FB, Tapatalk and Sync Every 2 Hours On/Off Profiles
Tasks Used
Shared with FB On/Off
Enter Task Data On enables:
- Mobile Data = On
- Auto-Sync = On
- Mobile Data = Off If %Home !~ elsewhere <------Data off if %HOME is set to anything other than elsewhere
- Secure Settings GPS = On If %HOME ~ elsewhere <------ GPS on if %HOME output matches elsewhere
- WiFi = On
- WiFi = Off If %HOME ~ elsewhere
- Wait 25 Seconds
Exit Task Kill Chrome Data/WiFi On/Off enables:
- Auto-Sync = Off
- Wait = 25 Seconds
- Mobile Data = Off
- Hibernate Now = Chrome
Click to expand...
Click to collapse
Tapatalk Data/WiFi On/Off Fixing
Just the same simple and effective. Save data and time.
Tasks Used
Shared with FB, Chrome and Sync Every 2 Hours On/Off Profiles
Enter Task Data On enables:
- Mobile Data = On
- Auto-Sync = On
- Mobile Data = Off If %Home !~ elsewhere <------Data off if %HOME is set to anything other than elsewhere
- Secure Settings GPS = On If %HOME ~ elsewhere <------ GPS on if %HOME output matches elsewhere
- WiFi = On
- WiFi = Off If %HOME ~ elsewhere
- Wait 25 Seconds
Exit Task Kill XDA enables:
- Wait = 25 Seconds
- Auto-Sync = Off
- Mobile Data = Off
- Hibernate Now = Tapatalk
Click to expand...
Click to collapse
PowerAmp on/off Headphone Plugin
I enjoy this as I listen to music a lot and it just simplifies things.
Tasks Used
On Headset Plugged = Any
Enter Task Volume Set enables:
- Media Volume = 6 or 7 <-------depending on your version
- Load App = Poweramp <-------Swap for whatever app you like.
Exit Task Kill Power Amp enables:
- Hibernate Now = Poweramp
- Stop Task = %MEDIASCAN
There's much more to add to this like kill media scanner/server, but I found it not so reliable on 4.3 (see fixing .mp3 below)
Click to expand...
Click to collapse
Auto Titanium Backup run/hibernate at 4am
This runs Titanium Backup at the selected time, around 4am for about 20 min (best done on power).
Just set the schedule in Titanium Backup a minute ahead of this Tasker Profile and let the process begin!
Tasks Used
From 4:28am to 4:40am, Mon, Wed, or Fri
Enter Task Titanium Backup enables:
- Load App = Titanium Backup <-------You have to set the scheduler on Titanium Backup to start app a minute ahead @ 4:27am
Exit Task Kill TiBu enables:
- Kill App = Titanium Backup - Use Root = On
- Hibernate Now = Titanium Backup
This process requires you to "Allow External Access"
by going into Tasker, Preferences, Misc tab. Run the exit task once to see that it works and allow Tasker SU access.
Click to expand...
Click to collapse
Night Sound Off
This is like Airplane Mode except it gives you the option of doing things with your phone and not disturbing anyone.
Tasks Used
Mon, Tue, Wed or Thurs - from 00:00 Till 05:30
Enter Task Sound Off enables:
- Notification Volume = 0
- Silent Mode = On
- Media Volume = 0
- Haptic Feedback = Off
- Ringer Volume = 0
- Alarm Volume = 5
- In-Call Volume = 4 <---- might need to adjust, personal preference with Quantum volume Boost.
- WiFi = Off If %HOME ~ elsewhere
Exit Task Sound On enables:
- Silent Mode = Off
- Media Volume = 9
- Notification Volume = 5
- Haptic Feedback = On
- Ringer Volume = 5
- Alarm Volume = 5
- In-Call Volume = 4
Click to expand...
Click to collapse
GoogleMaps+GPS Data/WiFi On/Off Fixing
Real simple, this profile starts by turning on data and gps when you click on google maps. On exit maps will hibernate
and data/gps will turn off. (Needs 4.1 helper! found in Secure Settings)
Tasks Used
Maps + GPS Profile
Enter Task Data Gps On enables:
- Mobile Data = On
- Mobile Data = Off If %HOME !~ elsewhere
- Secure Settings GPS = On
- Wait 25 Seconds
Exit Task Kill Maps Data Gps enables:
- Wait 25 Seconds
- Mobile Data = Off
- Hibernate Now = Maps
- Secure Settings Gps = Off
Click to expand...
Click to collapse
Auto Car_Docked
This Profile is a work in progress. Just something you can try out yourself.
Profile
Add Event, State, Bluetooth Connected.
Add by click and holding bluetooth State, Call, Any
Add by click and holding Call Any State, Hardware, Docked
Tasks Used
Enter Task Data Gps On enables:
- If %LOCSPDMPH > 5
- Tace Call
- Speakerphone = On
I didn't add a Exit task yet. Just something I'm working on besides the rest of this stuff. Your welcome to add to this!
Click to expand...
Click to collapse
Boot Minimizer
This Profile Kills Google Play Services before hibernating it which is an effective way of making it hibernate correctly
(It will turn back on but check the processes in Running Apps. See img below.)
Once you turn your screen off, it will hibernate Google Play Services again.
Boot Minimizer profile will most likely say, couldnt kill google, or hibernate.. turning this into a
User App usually reverts back to System in Titanium Backup.
Tasks Used
On boot Boot Minimizer enables:
- Wait 45 seconds
- TaskKill Extreme = Google
- Wait = 5 Seconds
- Hibernate Now= Google
- TaskKill Extreme = Kill Google Play Services
- Wait 10 seconds
- Hibernate Now = All Greenified Apps
If you watch running apps in Settings/Apps as this profile goes through the process, you’ll notice google play services
will stop the 4 or 5 processes it usually runs after a 60 second buffer to allow it to first boot up.
Google play services will hibernate accordingly there after via Sync Every 2 Hours profile.
Here is a screenshot
{
"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"
}
of what you’re processes should resemble after Boot Minimizer is finished.
Click to expand...
Click to collapse
How to set up #Home, #College and #Elsewhere Auto Location Profiles Requires home,college,elsewhere.txt files
Now this whole Home, College and #Elsewhere <--New! Profiles are still in Beta stages.
Not sure if this works as of yet, but I've had good feedback so far. Do let me know and we can work it out.
To use these profiles (Not provided since you need your own cell towers.
- Open Tasker
- Click + button on bottom
- Clicks are assumed.. Click on State
- Phone
- Cell Near
- Click Scan while walking around your home where you usually use WiFi. This process takes
all the cell towers in your location into account I found 8 in my apt, a very small area.
- Stop Scan and hit search/Magnify glass
- Click on all the towers to give them a check mark and go back.
- Add the Enter Task Home
Finally
- Do the same as #Homefor #College and #Elsewhere Location Profiles
using College_WiFi and Elsewhere
- For Elsewhere Profile, start it as if making Home but click revert at the bottom of the scan page in Cell Near
- Add Elsewhere as the Enter Task for #Elsewhere
"If CELL NEAR does not work like in a basement, try add WiFi Near to double up the Location Profile.
Click Hold on Cell Near to add."
Hope this isn't to complicated but just look at the way the tasks are used below.
Click to expand...
Click to collapse
#Home
This profile will use Cell Near and Home Task for location.
Tasks Used
Enter Task Home enables:
- Read File File Tasker/home.txt To Var %HOME <-----You will find this home.txt in zip. save it in Tasker folder, SD/Tasker
- Ringer Volume = 5
- Notification Volume = 5
Exit Task Elsewhere enables:
- Read File File Tasker/elsewhere.txt To Var %HOME
- Ringer Volume = 5
- Notification Volume = 5
- Media Volume = 6
Click to expand...
Click to collapse
#College
This profile will use Cell Near state for location the same as Home Profile.
Just duplicate the Home Profile when done, Rename it to College or work and change the enter task to:
Tasks Used
Enter Task College_WiFi enables:
- Read File File Tasker/college.txt To Var %HOME <------Save college.txt in Tasker Folder on your SD
- Notification Volume = 0
- Silent Mode = On
- Media Volume = 0
- Ringer Volume = 0
- Alarm Volume = 5
- In-Call Volume = 4
Use the same Exit task as Home Profile.
Exit Task Elsewhere enables:
- Read File File Tasker/elsewhere.txt To Var %HOME
- Ringer Volume = 5
- Notification Volume = 5
- Media Volume = 6
Click to expand...
Click to collapse
#Elsewhere
This profile will use Cell Near state for location the same as Home and College Profiles.
This time we use Elsewhere as the Enter Task for #Elsewhere Profile.
Same method as Home but Reverted.
EnterTask Elsewhere enables:
- Read File File Tasker/elsewhere.txt To Var %HOME <------ Save elsewhere.txt to your Tasker Folder on SD
- Ringer Volume = 5
- Notification Volume = 5
- Media Volume = 6
Might need to add GPS scanning or WiFi Near to these profiles if Cell Near is not working for you. Trouble shooting is the key.
You can duplicate this profile for work, theatres, Karate, Library etc and modify the sound options. Keep in mind, changing
Screen brightness will effect the newly installed "Sync Every 2 Hours" and wifi at home, college etc.
Click to expand...
Click to collapse
Wifi connected and Display (Wifi) Profiles
I have been working on a profile to turn wifi on/off or use data instead for awhile but keeping it on with background
data/wifi enabled to finish a download or streaming constant is tougher than it seems.
I wasn't able to get permission but you can Download Traffic_Screen_off_with_Nightmode_v1.1.zip
from parthipanramesh on his thread he started last year. It's a complex operation indeed.
I would use it by leaving nightmode out and also leaving "Wifi connected" Off.
There's a good chance "Wifi connected and Display (Wifi)" can work together, yet I find it kind of buggy.
Anyways, go check his work and thank him. [v1.3] Tasker: Screen off=wifi/data off(no traffic+)AutoSync+Night/Reduce CellStandby
If you don't want to use these WiFi profiles, just simpily Add wifi = on to Home and college Enter Tasks
and Data = On in Elsewhere (Optional) by the following.
Enter task Home
- Click + button
- Net
- WiFi/Data
Set On
Click to expand...
Click to collapse
How to Hibernate google play services and more!
Hibernating google play services
To allow google play serivices to hibernate how it should. Make sure you have:
- Root Access
- Boot Minimizer Profile
- Hibernate Screen Off Profile
- TaskKill Tasker Plugin [Root]
- Greenify Paid
- Tasker Paid
- Make sure to have Tasker Preferences/Misc/Allow External Access Checked!
- Give TaskKill Tasker Plugin [Root] root access by running the profile once.
Now assuming you have Xposed Framework and Greenify paid version installed. Make sure you have every box
checked except Telephony Wakeup in Greenify Experimental Features (paid version only)
Also, Don't hibernate sms or phone applications they shouldn't wakeup with Telephony Wakeup feature turned off.
Hibernate The Following Apps
I have no problems hibernating these apps but if you want them to function with wifi/data push notifications enabled, de-greenify
the apps you wish to get notifications from. (Also Disable Sync Every 3 Hours Tasker profile to leave data on at all times).
Google Play Services, Google Backup Transport, Messenger, MX Player, Pocket, ROMdB Dev Tool, Root Explorer, SD Maid,
Tapatalk, Voice + (Might Break Google Now), Camera, Swiftkey, Chrome, Cloud Print, Google, Google+, Street View, Widgets,
Wallet, Keep, CM Updater, Flipboard, Maps, Talkback, Titanium Backup, Youtube, Facebook + more
Click to expand...
Click to collapse
You can also check out this useful thread here that goes more in depth with google service freezing and hibernating options.
[GUIDE] Insanely Better Battery Life When Idle
Kernel Settings & Undervolting Galaxy SIII - Fido,Rogers,Bell,AT&T
Scheduler/Governor/CPU/GPU/Undervolting
Here's my current kernel settings using TricksterMod.
- MPdecision disabled or renamed to mpdecision.bak in system/bin
- Lower from default voltage, by 25mv at a time to gain stable results.
Quantum kernel (android 4.4.2 as of writing)
Scheduler = Row
Governor = interactiveX
interactiveX Governor Control
- set hispeed_freq to 1026000Mhz
- set screen_off_maxfreq min 486000Mhz
(Screen off min freq in gov controls - raise it if your phone is too unresponsive.)
CPU = 1350Mhz Undervolted 1.5 is fine also.
GPU 300mhz stock volts
Quantum Undervolting
1512Mhz - 1050mV
1458Mhz - 1037mV
1350Mhz - 1025mV
1242Mhz - 975mV
1134Mhz - 950mV
1026Mhz - 925mV
918Mhz - 825mV
810Mhz - 775mV
702Mhz - 750mV
594Mhz - 750mV
486Mhz - 725mV Anything lower can bug V4A and may have artifacts.
384Mhz - 700mV 300Mhz GPU - associated to artifacts maybe.
Undervolting Quantum settings will work on ktoonsez
Ktoonsez kernel (android 4.3.1 - 4.4)
Scheduler: = Row
Governor: = Ktoonservative
CPU: = 1728Mhz over clocked/undervolted
GPU: = 300mhz stock volts
Ktoonsez Undervolting (Update pending)
1512Mhz - 1125mV
1458Mhz - 1090mV
1404Mhz - 1065mV
1350Mhz - 1000mV
1296Mhz - 1000mV
1242Mhz - 975mV
1188Mhz - 975mV
1134Mhz - 975mV
1080Mhz - 950mV
1026Mhz - 925mV
972Mhz - 925mV
918Mhz - 875mV
864Mhz - 875mV
810Mhz - 850mV
756Mhz - 850mV
702Mhz - 825mV
648Mhz - 825mV
594Mhz - 775mV
540Mhz - 775mV
486Mhz - 725mV <-----725mV has some minor artifacts in LWallpaper.
378Mhz - 725mV
189Mhz - 700mV <-----Lowest freq for speed over 135/81Mhz.
135Mhz - 700mV <-----Trickstermod reverts to 700mV min, Tried 650/675mV.
81Mhz - 700mV
For reference, I'm running on i747m CND Fido Phone
Also, these settings are VERY low...
Here is a link to Stock Voltages if you need to revert.
Click to expand...
Click to collapse
How to fix .mp3 files and stop Media Scanner/server loop
Lower Media Server/Scan
I stumbled upon this thread only recently, and found the culprit (bad .mp3's) which was possibly the reason
why my media server/scanner battery drain was so high, (up to 40% battery drain on 4.3.1).
Take a look see http://forum.xda-developers.com/showthread.php?t=1717237
.nomedia scan spoof
Another mentioned media scan preventative option is to add .nomedia files to all your folders not containing video/music/photo media etc,
to lesson the amount of time media scan takes to scan folders.
Click to expand...
Click to collapse
Tasker Preferences Tweaks
My Tasker Preferences - Monitor Settings
Although minor, the same as increasing the wifi scan time to 180 seconds with build.prop as well as setting Scanning always available
to off in WiFi, Advanced settings.
Display On Monitoring
- Application Check MilliSeconds - 1500
- Wifi Scan Seconds - 180
- GPS Check Seconds - 120
- Network Location Check Seconds - 30
- GPS Timeout Seconds - 90
Display Off Monitoring
- All Checks Seconds - 600 <---------Default. Not sure if it makes a difference at anything higher. Although it might slow things down.
- Timeout Seconds - 90
- Accelerometer - No!
- Proximity Sensor - No!
- Light Sensor - No!
- Pressure Sensor - No!
- Temperature Sensor - Yes
- Cell Workaround - Unchecked
- Net/Cell Wake Screen - Unchecked
General Timings
- Wifi Minimum Timeout Seconds - 10
- Gester Initial Sample Rate - 300
- Gesture Match Radius - 3.5
- Gesture Match Reset Time - 1200
- Orientation State Accuracy - Very Low
Click to expand...
Click to collapse
App Ops
Enable App Ops
You can control wakes and location among other options with App Ops which can be found in Trickster Mod
or through a App Ops Xposed Framework Module
- Open Trickstermod
- Go to Tools
- Click on App Ops
- Click on Google Play Services in the Location Tab
- Then Turn Off Keep Awake.
Click to expand...
Click to collapse
Monitor Battery Wakelocks etc
Freezing, Deleting, Hibernating, Disabling
- Disable sync, Hibernating, Freezing, Deleting the stock browser in 4.4 is the easiest way to save battery by far. (might be fixed)
- Freeze Google +, Voice +, Print Spooler, CM Updater
- Deleted Hangouts (This was a big drain for me on 4.3.1)
- Disable Android Device Manager in Settings, Security Device Admin. This will
keep you from locking, changing passwords and erasing your device from the
web, but this is also a major battery drain. So the added benefit is up to you.
Fixing Bad Blocks
Not a problem for all but check this out if you suffer mmc2_detect wakelock
http://forum.xda-developers.com/showpost.php?p=49503153&postcount=9423
More Fixing and Identifying SD card Issues
[GUIDE] [INFO] All about SD CARDS - which one, why and how! Posts 1-3.
Also a great app that should be utilized in the quest for battery savings is.
BetterBatteryStats_xdaedition_1.15.0.0.apk
Click to expand...
Click to collapse
Tasker Profiles XML Downloads
Installing Profiles
Beginner mode must be disabled!
- Extract zip
- Import holding the Tasker home button (if this does not work)
- Import holding Profiles/Tasks tabs
- Locate XML files location
- Import
To all the hard working people in the community just a few of you mentioned, Thanks!
michael-oc | ktoonsez | polobunny | Skipjacks | xXshur1kenXx | AA1973
PwnCakes193 | czechpunk | KorGuy123 | CrackerTeg

Using these methods, I've been getting around .7% drain per hour + in idle on the stock samsung galaxy sIII battery. (.4777% drain with Airplane mode enabled.)
View attachment 2545370
Updates:
update: Jan 23, 2014
Update:
- New profile Airplane mode - Allow Family Call @ Night is up
- Updated Screen Off Hibernate Lock < now pattern locks on location other than Home. (Requires #Home, #College and #Elsewhere profiles)
Click to expand...
Click to collapse
update: Jan 20, 2014
Update:
- Forgot to add Boot Minimizer profile lol its up now.
Click to expand...
Click to collapse
update#2: Jan 19, 2014
Updated:
- #Elsewhere.v4.zip
- #Home.v4.zip
- #College.v4.zip
- Airplane Mode.v4.zip
- Night Sound Off.v4.zip
- Screen Off Hibernate.v4.zip
- Sync Every 2 Hours.v4.zip
Added:
- Car Dock.v1.zip
- Wifi connected and Display (Wifi) Profiles [v1.3] Tasker: Screen off=wifi/data off(no traffic+)AutoSync+Night/Reduce CellStandby
Left out
- Chrome On/Off
- Maps + Gps
- Tapatalk On/Off
- Facebook On/Off
Need further tweaking.
Click to expand...
Click to collapse
update: Jan 19, 2014
Way to late/early in the morning to .zip and upload at the moment. Profiles are on there way!
Phone crashed making me redo half the profiles..
Updated:
- OP in Tasker Profiles.
- Updating Every Tasker Profile except music/TiBu tomorrow.. 4am now.
Added:
- Chrome On/Off Profile
- Tapatalk On/Off Profile
- #Elsewhere Profile
- Soon to add Car Dock Profile
- Wifi connected and Display (Wifi) Profiles [v1.3] Tasker: Screen off=wifi/data off(no traffic+)AutoSync+Night/Reduce CellStandby
Removed
- Screen On
Click to expand...
Click to collapse
update: Jan 17, 2014
Updated:
- OP
- Airplane mode
- Boot Minimizer
- College
- FB On/Off
- Hibernate Screen Off
- Home
- Maps + Gps
- Night Sound Off
- Sync Every 2 Hours
Added:
- Screen On Profile
- SD android bad block wakelock fixer?
- few explanations for tasks being made
Hopefully This fixes the location profiles. You need to follow the steps in making Home and College Profiles and
add the Enter/Exit task once imported from downloads.
Adding Following Profiles Soon:
- Auto Bluetooth car dock
- Call missed Email or SMS reminder (Just for kicks)
Click to expand...
Click to collapse
update: Jan 15, 2014
Updated:
- How to Hibernate google play services and more!
The previous method of making Google Play Services a user app is not needed. see OP.
Added:
- 4.1 helper! from within Secure Settings to enable features of Secure Settings in 4.4.x in What You Need Section
- Mentions of Super User within Hibernate Google Play Services and more! section
Click to expand...
Click to collapse
update: Jan 09 2014
Updated:
Sync_Every_3_Hours
PowerAmp on/off Headphone
Facebook On/Off
Airplane Mode
Night_Sound_Off
Quantum kernel undervolting table + gov
Added:
Boot Minimizer - Fixes google play services hibernation problem
Location Scan
Maps+GPS
Home And College Profiles, I couldn’t xport the profiles for some reason but you can
Figure it out I think
App Ops options
Tasker Preferences
Secure settings app
TaskKill Tasker Plugin [Root]
Click to expand...
Click to collapse
update: Dec, 15 2013
Kernel Voltages
- Added ktoonsez voltages/freq
- Lowered voltage table 1.5Ghz and down. Trickster mod tops out at 1.5. Just go up 25mV every 2 steps "104Mhz".
Click to expand...
Click to collapse
update: Dec, 12 2013
How to Hibernate Google Play Services
Click to expand...
Click to collapse
update: Dec, 11 2013
Fixed:
- Airplane mode - Sunday subtracted.
- Sync - Single Profile 2 hour sync time.
- Google Play Services hibernate (hope it works/helps)
Added:
- .nomedia to folders media scan tip
- Lower undervolts for steps 1.35ghz to 384mhz
- Lowered screen off min freq (gov edit)
- PowerAmp Profile
- Titanium Backup Profile
- Night Sound Off Profile
Click to expand...
Click to collapse
To do:
- Enabled airplane mode with radio turned on so you don't miss those calls or texts if possible
- Tasker voice command hibernation & App execution http://getpocket.com/a/read/494766984 ? I think I'm onto something lol.
-Try eliminate Google all together. Create new profiles and add alternate sync options to sync contacts to cloud server of choice (Home server).
Click to expand...
Click to collapse

I hit that thanks button for ya. I especially like the tasker profile to hibernate everything. I'm going to give this ROM I threw on late last night a few days to settle before judging my battery life. Thanks for the tutorial!

CrackerTeg said:
I hit that thanks button for ya. I especially like the tasker profile to hibernate everything. I'm going to give this ROM I threw on late last night a few days to settle before judging my battery life. Thanks for the tutorial!
Click to expand...
Click to collapse
Thanks! I hope the profiles work. If not, let me know and I'll try make sure I organize them accordingly.

SkyboneNoya said:
Thanks! I hope the profiles work. If not, let me know and I'll try make sure I organize them accordingly.
Click to expand...
Click to collapse
The hibernate one is definitely working. I tested it by opening up a bunch of "greenified" apps and backing out then locking up the phone. Opened up greenify and they were definitely sleeping. Its something I hadn't thought of before and it looks like its going to help tremendously. Also, the thread you linked for greenifying Google Play services was another help. That reminds me. Gotta thank that guy too.

Xposed airplane mode just kicked in. Should save more battery now than the 1% an hour I lost since hibernating google play services.
I was not using the xposed airplane mode with tasker since 4.3.1 so this should be interesting as I have another 89% battery to go and Quantum v3 RC5 is a beast!
Update: no screenshot yet, but I'm at 49% @ 2 days 2 hours 26 min w/ two hours screen time, some calls, sync, text and music playback.

unfortunately for me... anything below 875mv @ 384mhz V4A starts to act up. Functionality over battery I suppose

mbze430 said:
unfortunately for me... anything below 875mv @ 384mhz V4A starts to act up. Functionality over battery I suppose
Click to expand...
Click to collapse
try 486 at the same voltage. Not all phone's are the same though, also, decreasing by 25 and letting it run and going down another 25mV is always the best approach.

Tasker profiles are not working for me. I cannot import them into Tasker.

SkyboneNoya said:
try 486 at the same voltage. Not all phone's are the same though, also, decreasing by 25 and letting it run and going down another 25mV is always the best approach.
Click to expand...
Click to collapse
I tried 486mhz sub 875mv still does the same... so I have 875mv across the lower frequencies... it is what it is.. I ain't even sweating... I enjoy my music more than battery

mbze430 said:
I tried 486mhz sub 875mv still does the same... so I have 875mv across the lower frequencies... it is what it is.. I ain't even sweating... I enjoy my music more than battery
Click to expand...
Click to collapse
Which setting do you use for V4A?
Battery Saving: Available for all processors with NEON.
High Quality Mode: Available for processors with NEON.
Super Audio Quality: Available for processors with NEON.
I'm on High Quality Mode if that helps.
I know there are some issues with music playback on PowerAmp mentioned in the Quantum forums. Hopefully it gets fixed with the release of 4.4 nightlies soon.
Also, what cpu are you using (I see from settings/about I'm running Armv7 Processor rev 4 (v7I)
Aaron78 said:
Tasker profiles are not working for me. I cannot import them into Tasker.
Click to expand...
Click to collapse
Try unzip them and import with holding the home button bottom left on screen in tasker. You also might have to enable (Allow external Access) in pref/misc tab in tasker.
I've been using tasker for awhile so I don't remember the steps taken to make everything work. Although, I'm happy to try and help!
I will try get the rest of the profiles in the To do: section and current download set into individual downloads as soon as I'm free of this hell called finals.
Stay tuned!

SkyboneNoya said:
Which setting do you use for V4A?
Battery Saving: Available for all processors with NEON.
High Quality Mode: Available for processors with NEON.
Super Audio Quality: Available for processors with NEON.
I'm on High Quality Mode if that helps.
I know there are some issues with music playback on PowerAmp mentioned in the Quantum forums. Hopefully it gets fixed with the release of 4.4 nightlies soon.
Also, what cpu are you using (I see from settings/about I'm running Armv7 Processor rev 4 (v7I)
Click to expand...
Click to collapse
I am on an ATT SGH-I747 so the ARMv7, and I have it set on HQ Mode, not Super Audio Quality mode.
I believe I have the v1 of the snapdragon chip which is known not to do UV very well. (at least that is what I have been telling myself to sleep better at nights)
If I don't use V4A, I can undervolt to those voltage... and be stable, but the squeeching and popping really hurts my ears when I go below 875mv

Don't know if you guys have have checked this out but it's amazing so far. This thread coupled with some others should be insane battery life
http://forum.xda-developers.com/showthread.php?t=2393708
KT-SGS4 [Kernel] Builds [TMO,ATT,SPR,VZW,INTL] [AOSP/TW/GE - 4.4/4.3/4.2]
Sent from my SCH-I545 using Tapatalk

bensl84 said:
Don't know if you guys have have checked this out but it's amazing so far. This thread coupled with some others should be insane battery life
http://forum.xda-developers.com/showthread.php?t=2393708
KT-SGS4 [Kernel] Builds [TMO,ATT,SPR,VZW,INTL] [AOSP/TW/GE - 4.4/4.3/4.2]
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
Extreme overclocking profiles nice. Looks like a big read lol.. Back to the essay.
I was at 2 days 20 hours or so with 30% battery left on 2 hours screen and my phone reboots after updating zooper widget... I read that part in the change log afterwards (will reboot on update sorry) pff... So it reset my counter to 2 days 9 hours. I really wanted a screen shot of at least 3 days lol. Next time.

SkyboneNoya said:
Extreme overclocking profiles nice. Looks like a big read lol.. Back to the essay.
I was at 2 days 20 hours or so with 30% battery left on 2 hours screen and my phone reboots after updating zooper widget... I read that part in the change log afterwards (will reboot on update sorry) pff... So it reset my counter to 2 days 9 hours. I really wanted a screen shot of at least 3 days lol. Next time.
Click to expand...
Click to collapse
I was unable to get Google Play Services to hibernate... Than it dawned on me... the stock Kit Kat Launcher uses Google Play Services... Shame, I really like it. Time to find a new launcher. I switched to Apex for now and Google Play Services is staying hibernated.

KorGuy123 said:
I was unable to get Google Play Services to hibernate... Than it dawned on me... the stock Kit Kat Launcher uses Google Play Services... Shame, I really like it. Time to find a new launcher. I switched to Apex for now and Google Play Services is staying hibernated.
Click to expand...
Click to collapse
Try unchecked the telephony Sms in greenify paid. I see my gsf hibernation with the google launcher.

Thanks so much for this. I knew about all of these except for the tasker profiles. I get great battery life already, but never thought to use tasker with greenify. I already notice significant battery savings with the hibernate when the screen goes off profile!

Wow, looks awesome.

I like the looks of this! If it keeps performing like this I couldn't get the battery lower then 50% today....
Thanks for the tips!
Edit: looks like screenshot isn't getting in reply, 13% battery used, 48 minutes of screen on...
Sent from my HTC One using XDA Premium 4 mobile app

Thanks for the tips, my battery life is way better now.
Just one question : when I greenify Play Services I lose push notifications for Whats App or Facebook messenger. Is it normal or is it just me ?
I'm using Xposed with the Greenify donation.
Thanks for your help.

Related

[App]14.03.2011 SuperPower v0.80 Battery save:Data, Wi-Fi, BT, GPS, 2G/3G/4G, CPU mhz

THIS IS AN UNSUPPORTED EXPERIMENTAL BETA APPLICATION, BUGGY, USE AT YOUR OWN RISK. PLEASE READ THE ENTIRE POST BEFORE USING.
About
SuperPower attempts to save battery power by controlling various power hungry components and features of the device. Its features include managment of the cellular data connection, Wi-Fi, Bluetooth, CPU speed and 2G/3G band. It does all this automagically based on the options you configure.
There are more battery saver apps out there, but none that work the way I want them to. It is however meant to work relatively simply. If you want uber-fine-grained control use one or a combination of the other applications available.
SuperPower also serves as somewhat of an Android port of WMLongLife.
BETA, Development & Testing
This application is in beta stage and far from finished. There will be bugs, and the list of things that still need to added, changed, refactored, streamlineed, etc is long.
Primary testing and development is done on a Galaxy S (unbranded, EU, I9000) device, but I also run tests on a G1 and a Hero. Other users have reported it (mostly) works on the Droid, Milestone, Nexus, Desire, Pulse, EVO.
Android version
SuperPower requires Android 1.6 or newer. Some features require newer versions, and some features have a different code path on different Android versions.
For example, Bluetooth features require Android 2.0, while the download speed tracker (to not disable data while downloading) requires Android 2.2. Features are automatically disabled if they are not available for your Android version.
Main features
Control over
- Cellular data
- Wi-Fi
- WiMAX * Android 2.2+ *
- Bluetooth * Android 2.0+ *
- CPU speed * ROOT *
- Bands (2G/3G) * ROOT *
- GPS * ROOT, PATCH, Android 2.2+ *
- Auto-Sync
- Background data * ROOT, PATCH, Android 2.2+ *
Automatic management of the above based on
- Screen state
- Wi-Fi network connection state
- WiMAX network connection state
- Lock screen visibility state
- Download speed
- Foreground application
- Tethering state
- Sleep mode
- Low battery state
- Charging state
Other
- Schedule data connection to be available at certain times
- Schedule night mode
- Informative toasts in response to user actions
- Status bar notifications about the current state, which you can tap to change
- Provides handy shortcuts you can add to the home screen for easy access of a number of functions
Additional features
- Enable/disable data is non-persistent. APNs are not modified! This is no longer true on Gingerbread (2.3) and newer due to changes in Android security. Here either data is disabled entirely (Settings -> Wireless and network -> Mobile networks -> Use packet data, or APNs are modified (Access Point Names in the same menu).
- 2G/3G switching is supported in two different ways: RIL injection (highly experimental, any ROM, possible side effects) and Sidekick (AOSP ROMs signed with platform test keys, or using patching)
- Completely event based, no polling, ever.
Future features
I have a LOT of them already in my to-do list. However, if you have any ideas feel free to post them. To name a few that are already on my list: configuration wizard, widget, GPS control, mapper, signal-strength based 2G/3G. Of course improvement to current features, fixing bugs, etc are also on my (perpetual?) to-do list.
Screenshots
{
"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"
}
Conclusion, copyright and download
NOTICE: At this time I may not respond to each and every posts and questions. I do guarantee I will read every post and take what you write under consideration! Please report all your findings.
Copyright: This app is fully my copyright. You may not distribute it without prior explicit consent from me! So no, you're not allowed to include it in your ROMs either
----
Release notes: The changelog (a few posts down) contains links to version-specific release notes, if there are any.
SuperPower can be found on Market under the name "SuperPower XDA-BETA". The QR code below will take you there:
Direct market link: market://details?id=nl.morose.superpower
Appbrain link: http://www.appbrain.com/app/nl.morose.superpower
It is on Market instead of being for download here because Market tracks force closes. This will help me debug
(Original APK downloads <<< 0.60: 705)
FAQ - Frequently Asked Questions
Index
- General
--- Will this prolong battery life ?
--- I want feature X, but it isn't included
--- I expected X to happen, but Y happened
--- I found a bug
- Data connections
--- The connection state changed, but didn't change back when I expected it to
- System popups
--- The PIN screen pops up sometimes
--- The locks screen pops up sometimes
- 2G/3G
--- A band switch is being performed even though I'm already in the mode it is switching to
--- What is the difference between the RIL injection and the Sidekick method ?
--- Even though I have root, the 2G/3G switching options are disabled (CDMA)
--- Band switching takes too long, is this a bug ? Can it be improved ?
--- I'm in 2G mode but my device switched back to 3G
- CPU
--- The device never wakes from sleep
--- Using tool X shows me that CPU speed is never changed
General: Will this prolong battery life ?
Quite probably, yes, significantly! BUT, there is never a guarantee. It all depends on how you use your device, the current conditions, and how you configure SuperPower. Some options in general save a lot of battery, but may be too inconvenient for you to use (specifically 2G/3G switching), and if you still want to use them, some playing with the various options may be needed to get it to work with the least amount of inconvenience to your usage pattern.
If you are a very heavy user, no amount of software is going to help you (much). You need a bigger battery (or a spare). If all you use your device for is streaming YouTube, chances are battery life improvements you will see are little to none.
CPU scaling may have less effect than expected. The amount of battery it saves has differed wildly between tests on different devices.
Using Wi-Fi may use significantly less power than using 2G/3G. Or, 2G/3G may use significantly less power than using Wi-Fi. It depends on the situation, the signal strength of both cellular and Wi-Fi, the transfer speed, etc.
Using 2G instead of 3G will generally speaking use less battery for most users, but this is not a given. It depends on the situation.
All in all however, the default SuperPower configuration will provide you with a setup that will save a lot of battery for the average user, with little to no inconvenience to the user.
General: I want feature X, but it isn't included
Feel free to request the feature in this thread, even if this feature is already listed in these posts that it will be implemented sooner or later. If feature X is posted about 10 times, and feature Y only 3 times, that may have an effect on the priority of implementation.
General: I expected X to happen, but Y happened
Please go through the entire configuration to make sure you haven't configured anything that causes this behaviour Y before posting here. Also read through this FAQ and the known issues. It is of course possible you have found an undocumented bug, if so please report it here (see "I found a bug")
General: I found a bug
If you post it here, perhaps we can do something about it. But first, please check your configuration first to make sure it is unexpected behaviour. When posting about a bug, always include the relevant SuperPower configuration options, exactly which device you are using, which ROM, etc. More information is usually better !
Data connections: The connection state changed, but didn't change back when I expected it to
In the default configuration, SuperPower will "upgrade" connection states as soon as possible, but general only "downgrade" them when you aren't looking.
For example, turning on data will be done as soon as you need it; while turning off data will generally be done only a while after the screen goes off. The same goes for for example 2G/3G. Switching to 3G will happen as soon as possible, switching to 2G will not be done immediately.
This does all depend on your SuperPower configuration, though!
System popups: The PIN screen pops up sometimes
On some devices certain actions can cause the PIN screen to popup when for example bandswitching or coming out of airplane mode.
If you enter your PIN code in the SuperPower configuration and you have such a device, SuperPower will attempt to automatically enter the PIN code for you - IF it understands it was one of SuperPower's actions that caused the PIN popup. An overlay screen will be presented to you while the PIN is entered and the SIM unlocked.
This is however an experimental feature, may not work 100% of the time, and can cause some inconvenience. If you find this highly annoying, but you do want to use the features SuperPower provides that may cause this behaviour, you can disable the PIN screen altogether in the device's settings application.
System popups: The lock screen pops up sometimes
Like the PIN screen, on some devices certain actions can cause the lock screen to popup. SuperPower actively counters this behaviour while it is performing actions. Should it still happen, please report it (and the exact situation that caused it), specific code that prevents this behaviour may need to be added to code in additional places.
2G/3G: A band switch is being performed even though I'm already in the mode it is switching to
It is not always possible to detect the current 2G/3G state. In that case, SuperPower will treat the current mode as undefined, and any trigger that will cause either 2G or 3G mode will result in a band switch being performed, regardless of what the current actual state may be. This is also a reason to not use the device's settings app (or any other app) to switch between 2G/3G when SuperPower is also using 2G/3G functionality. Always use SuperPower (and only SuperPower) to perform the band switch!
2G/3G: What is the difference between the RIL injection and the Sidekick method ?
RIL injection is as hackery as hacks come, and is currently only available for GSM devices. It completely circumvents most of Android and tries to force commands to be sent to the radio.
Sidekick on the other hand will use the same method as the device's settings screen to trigger a band switch, and is therefor both safer and faster to use. It does unfortunately require a compatible ROM. Carrier / manufaturer ROMs are usually not compatible, and not all custom ROMs are compatible either. Sidekick is available both on GSM as well as CDMA devices.
If your ROM is Sidekick compatible, Sidekick will always be used instead of RIL injection.
Both methods have not been extensively tested on a wide range of devices yet. So neither method may be compatible with your device. Please post here if neither method works on your device.
2G/3G: Even though I have root, the 2G/3G switching options are disabled (CDMA)
RIL injection is currently only supported on GSM devices. Only the Sidekick method supports CDMA at the moment.
2G/3G: Band switching takes too long, is this a bug ? Can it be improved ?
Band switching will take time, and inconvenience you. There is no way around this. The phone has to drop the network connection and completely reconnect to the tower.
However, in some cases it does take longer than in other cases. The Sidekick method provides the fastest band switching available, but is not compatible with many ROMs. If your ROM is compatible, though, Sidekick will be installed and used automatically instead of RIL injection.
When the RIL injection method is used (which will probably be for most users), band switching speed depends heavily on the device. Some devices are fairly quick with RIL injections, others are slow. If you have a device that requires your PIN code for operations such as band switching and coming out of airplane mode, band switching will also take significantly longer.
Depending on all these factors, band switching can take anywhere between 10 seconds and a minute. Band switching will usually save a lot of power, but you have to consider wether the extra battery life is worth the inconvenience.
2G/3G: I'm in 2G mode but my device switched back to 3G
Some devices are known to do this. If it happens to you, please post about it. An attempt a viable workaround is on the to-do list.
CPU: The device never wakes from sleep
Not all devices work perfectly with CPU scaling. If this happens, reboot your phone, go into SuperPower configuration, and switch the "ondemand" setting under "Root features". If that doesn't work, you'll just have to disable CPU scaling.
CPU: Using tool X shows me that CPU speed is never changed
The CPU speed cannot be easily changed on all devices. Some devices/firmwares are "perflocked". Disabling perflock is beyond the scope of SuperPower, and thus SuperPower will make no attempt to disable it. There are tools out there that can disable perflock on many devices that have it, for example, check out SetCPU.
Known issues
- IMPORTANT BUG - WARNING In various Android 2.1 (Eclair) builds there is a bug with push email. In case there is no data connection available, the background email service will go absolutely insane. It will use quite some CPU power constantly, and it will not let the device go to sleep - ever! I do not know if this bug existed before 2.1, and I have not seen the issue on 2.2 ROMs. If you are suffering from this, or suspect you are suffering from this, disable all the options in SuperPower to disable the cellular data connection.
- SuperUser: SuperPower does use a lot of root commands if you have root. You might want to configure SuperUser to not show toast notifications for every single request.
- State: Current state detection is not perfect yet and needs some improvements. I would advise trying to limit changing options in the application to times when Wi-Fi is off and you are in 3G mode as much as possible, just to be sure.
- Wi-Fi: Occasionally Wi-Fi and cellular data states will conflict, causing cellular data to be set to active when Wi-Fi is on. Happens sporadically.
- CPU Scaling: On the I9000 and family, you should (in my experience) enable the "ondemand" option if you are using CPU scaling. If you don't, and the device is in "suspend" mode, an incoming phonecall may crash the device.
- CPU Scaling: SuperPower makes no attempt to detect or disable perflock. If you have a perflocked device, you need to use SetCPU (or some other tool) to disable perflock on boot.
- CPU Scaling: SuperPower attempts to detect the possible CPU speed settings, and will choose the nearest value below half the maximum CPU speed as "low speed" frequency. The actual number chosen is stated in the description of the relevant option.
- CPU Scaling: I know some overclocked ROMs require the device to always be at this overclocked speed to prevent the device crashing during sleep. If you are using an overclocked ROM and encounter the "sleep of death", disable CPU Scaling.
- Roaming: SuperPower has not been tested while roaming at all. I suspect - but am by no means sure - there may be issues regarding the cellular data connection while roaming and you have set the device to disallow data entirely (while roaming). Let me know if you encounter any that seem directly related to roaming.
- Application specific: Applicatoin specific settings do not go into effect if the app is reached through the back-button, only if started through the launcher (or by some other app)
- Lock screen: Even if the "dont do ... while lockscreen visible" options are enabled, these actions may still happen if triggered by an application specific options
- 2G/3G: On some devices the device itself will automatically switch back to 3G, it will not stay in 2G for very long
Changelogs
14.03.2011 - v0.80 BETA - Release Notes
- Adjusted reboot code
- Adjusted preference save/load code
- Adjusted Sidekick install code (hopefully for the better)
- New version of Sidekick
- Uses ITelephony data controls on pre-Gingerbread
- Uses secure settings patch, Sidekick, or APN-based data controls on Gingerbread, depending on availability
18.11.2010 - v0.75 BETA - Release Notes
- Adjusted some description in config app
- Adjusted shortcut text for "wake up"
- Added "running" notification. This will make sure that there is always a SuperPower notification in the statusbar while SuperPower is running
- Adjusted when some notifications show or do not show based on other notification states
- Added WiMAX notification + 4G icons
- Added WiMAX shortcuts + 4G icons
- Categorized the shortcut selection screen
- Options the device is not capable of are now disabled in the shortcut selection screen
- Added low battery mode override: charging
- Added low battery mode override: screen on
- Added low battery mode override: lock screen
- Fixed option to disable cellular data when WiMAX is connected to a network
- Added "reboot" permission, may fix issue with patch on some devices
- Adjusted screen-on timeout cancel code
- Added option to delay service start at boot. May solve issues with users running a temp-root-at-boot like VISIONary (warning: not tested)
- Adjusted "application requires data when screen is off" handling
- Added option to kill app on screen off (partially working on 2.2)
- Added option to use "3G-only" mode for 3G to root features
- Fixed an issue with bandswitching (would sometimes detect "complete" before switching started)
- Fixed an issue with bandswitching (would not re-evaluate state after leaving lock state)
- Reworked state and wakelock clearing at screen on / screen off / unlock (fixes lockscreen data/wifi/etc on issue)
- Added option to not disable "other" interfaces (Wi-Fi, WiMAX, etc) while download speed is over X KB/s
- Update on MIUI issue: bug report submitted to MIUI devs. Hopefully they can devise a workaround
- Update on Wi-Fi error: still not properly reproducable. No closer to finding a solution (or the problem, even)
- Update on App Specific options: Still needs an overhaul and a lot of extra options!
04.11.2010 - v0.71 BETA - Release Notes
- Fixed FC on Sidekick install fail OK click
- Fixed checkmark on Sidekick install cancel remaining
- Bluetooth support changed to API level 5 and up (Android 2.0)
- WiMAX suppport changed to API level 8 and up (Android 2.2)
- Airplane bug fixed. Cause: WiMAX functions do not work on pre-2.2, SuperPower switches to airplane mode instead of turning off WiMAX
- Secure settings patch and force sidekick install limited to API level 8 and up (Android 2.2)
- Adjusted patching text for modify secure settings
03.11.2010 - v0.70 BETA - Release Notes
- AdFree workaround (may cause delay during first-time-since-reboot load)
- Updated AdMob SDK
- Fixed bug with AdMob
- Modify secure settings (Patch, ROOT), required for GPS and background data options
- Alternative method for Wi-Fi on/off
- Wi-Fi, Bluetooth, WiMAX, GPS, "turned off by screen off" states now persistent, will survive crashes
- Persistent states cleared on boot
- If service is restarted due to crash, it is now loaded correctly
- Fixed crash when entering app-specific screen
- Modified "changed settings" update in background service, should reduce lag in config app
- Renamed "sleep mode" to "night mode"
- PIN code setting now (correctly) states it requires 2.0 if older version detected
- Implement setting Auto-Sync (Android 2.0+) and Background Data (Patch, ROOT) based on network connectivity
- Added master switch to en/disable application specific options
- Nightmode bluetooth on wake is now disabled if bluetooth not supported
- Added GPS options (Patch, ROOT)
- Adjusted multiple config settings: if no root is detected but is needed, options now have the correct "root required" summary
- Added WiMAX functionality
- Scheduled data wakeup during sleep mode disabled
- Adjusted a number of default settings
- Scheduled data is now performed automatically when coming out of night mode
- Intensely modified handling of Sidekick-based switching to accomodate some devices
- Sidekick switching now disables the data connection before attempting a switch
- Added scheduled wake up time to night mode quick list
- Alternative Sidekick installation path for non-AOSP ROMs with root
28.10.2010 - v0.64 BETA (DEBUG)
- Attempted fix for WiMAX detection force close (Market reported crash)
- Additional logging in startup screen, hopefully help finds the problem for the "blank screen" issue
- Additional logging to test WiMAX features
- Possible fix for app-specific options listed apps that are no longer installed
27.10.2010 - v0.63 BETA
- Adjustment to data off during low battery, no longer turns off when battery low but charging and "do not turn off while charging" is set, when leaving airplane mode
- Adjustment to data off during lock screen, scheduled data and charging states now override this setting
- Adjustment to service keep-alive
- Refactored settings screen (50% code reduction)
- New functionality - sleep mode
- New shortcut - sleep mode
- New shortcut - wake up
- New notification - sleep mode + tap to wake up
- New sleep mode launcher + statusbar icon
- New wake up launcher icon
- Implemented set alarm detection code
- Added some code to detect set alarms. This is not available through an API so is trial-and-error. Seems to work on most devices I've tried.
- Added "Do not switch to 3G when Wi-Fi network is connected" option
24.10.2010 - v0.62 BETA
- Attempted fix for CPU functions force close on unknown model (Market reported crash)
- Attempted fix for AsyncCreate.onPostExecute force close (Market reported crash)
- Temporarily disabled AdFree detection, until a workaround can be devised
22.10.2010 - v0.61 BETA
- Left Sidekick in testing mode. Caused it to be unavailable. Fixed.
21.10.2010 - v0.60 BETA
- State detection improvements
- Changed GSM: RILD_AUTO --> RILD_GSM_WCDMA (for Nexus 1, works according to Jug6ernaut)
- Changed CDMA: RILD_AUTO --> RILD_CDMA_EVDO (for Droid, works according to Captainkrtek)
- Added download speed check option, before turning off data or switching to 2G. API Level >= 8
- Modifications to detecting application start, no longer requires root + bug fix
- Click app title opens thread on XDA-Developers
- Re-arranged user interface into sections
- Ad-supported version no longer runs when AdFree is installed
- Created APK that disables ads (for donator version)
- Removed a LOT of SU calls
- Data schedule aborts when airplane mode detected
- Bandswitch aborts when airplane mode detected
- Last wanted data-state / band-state applied when coming out of airplane mode
- Post-wakelock-release vibration now optional (debug section)
- Added per-app selection of 3G / data during sleep (new) options
- Adjusted some item titles and summaries
- Many speed and load improvements across several functions
- If PIN code is entered in configuration, SuperPower will show a screen and unlock the device during certain operations, if needed. API Level >= 5
- Added option to switch to 3G when tethering
- Bluetooth options added. API Level >= 5
- Screen off states no longer set when screen goes off due to phonecall+proximity sensor
- Added low battery mode
- New shortcut - override low battery mode
- New shortcut - cancel override low battery mode
- New notification - low battery mode + tap to override
- New notification - low battery mode overriden + tap to re-enable
- New notification - 2g mode + tap to switch to 3g
- New notification - 3g mode + tap to switch to 2g
- New notification - nag
- New generic statusbar icon
- New 2G launcher icon + statusbar icon
- New 3G launcher icon + statusbar icon
- New low battery launcher + statusbar icon
- New low battery override launcher + statusbar icon
- Application specific settings: re-arranged order, configured at top
- Added lock screen options, to specify wether or not actions may be performed during screen on or only after unlock
- Improved detection that band switch is complete
- New known issue: applicatoin specific settings do not go into effect if the app is reached through the back-button, only if started through the launcher
- New known issue: even if the "dont do ... while lockscreen visible" options are enabled, these actions may still happen if triggered by an application specific options
14.10.2010 - v0.51 BETA
- Settings activity: modified descriptions of "root features" to show why they are disabled, if they are disabled
- CreateShortcut activity: ads added
- Settings & CreateShortcut activities: automatic shutdown, prevents popping up the main screen when clicking a shortcut
- Portrait lock (prevents lengthy re-loading at rotate)
- Added screen state detection for API Level >= 5 (reflection)
- CPU scaling: detect if ondemand or conservative is available, and set it if current governor is something else. Should support more devices.
- CPU scaling: fixed a number of possible FC's by adding missing NullPointer checks
- Service load is now multithreaded (prevents ANRs)
14.10.2010 - v0.50 BETA - Initial release
Tested on the Moto Droid running CM6, works well tested some features
Thank you. Will also test your application.
Interesting for me is the function, turning of data connection when wifi is active because this month, I've only gprs speed.
My Galaxy S downloaded Asphalt through the Data Connection although wifi was available...and I did this 2 times -_-
One "error", maybe missconfigured: If the screen is off, and I turn it back on I've no network.
Even the network from my provider was not active. So there is no phone connection nor receiving sms possible.
When I turn the screen back on, it rapidly connects to my provider.
Maybe you can give me a hint what I missconfigured
great app, it is working very well for me. Turns off data connection when screen is off and turns on every 15 minutes for 2 minutes to allow autosync. Exactly what I need for power saving since with 2g only and no active auto-sync I am saving a LOT of power.
Works Excellently
Nice App on 2.2 JPM THX mate
will test it and report back to you
for now; THANKS
Madic said:
Thank you. Will also test your application.
Interesting for me is the function, turning of data connection when wifi is active because this month, I've only gprs speed.
My Galaxy S downloaded Asphalt through the Data Connection although wifi was available...and I did this 2 times -_-
One "error", maybe missconfigured: If the screen is off, and I turn it back on I've no network.
Even the network from my provider was not active. So there is no phone connection nor receiving sms possible.
When I turn the screen back on, it rapidly connects to my provider.
Maybe you can give me a hint what I missconfigured
Click to expand...
Click to collapse
When you mean the network is not "active", do you have a "white circle with a line through it" icon ?
Do you have 2G/3G switching enabled ? The above is exactly what would happen if:
- You have enabled switch to 2G when screen goes off, and you turn on the device while the device is switching to 2G
- You have enabled switch to 3G when screen goes on
In both cases it is a temporary situation that takes about 10 seconds to resolve. Unfortunately switching between 2G and 3G takes time.
Thanks Chainfire. I will try this app and I’ll let you know if I find any bug or I got any suggest.
I really like the option to disable data when the screen is turned off, it’s very good for those who sometimes forget to deactivate 3G when. The only bad pint that I can see to this particular feature is that I could stop downloads of big files unless you have the screen always turned on. By the way I still really like that feature.
titooo7 said:
Thanks Chainfire. I will try this app and I’ll let you know if I find any bug or I got any suggest.
I really like the option to disable data when the screen is turned off, it’s very good for those who sometimes forget to deactivate 3G when. The only bad pint that I can see to this particular feature is that I could stop downloads of big files unless you have the screen always turned on. By the way I still really like that feature.
Click to expand...
Click to collapse
Something is planned for this problem
mrruin said:
great app, it is working very well for me. Turns off data connection when screen is off and turns on every 15 minutes for 2 minutes to allow autosync. Exactly what I need for power saving since with 2g only and no active auto-sync I am saving a LOT of power.
Click to expand...
Click to collapse
Where can I set that data turns on every 15minutes?
Thanks
Chainfire said:
Something is planned for this problem
Click to expand...
Click to collapse
I guess you have something planned like a watchdog to see if there is any data transfer before stopping the connection. If thats the case I think it might be not so easy as some apps could be connected to the internet with very small data transfer. However, you are the expert on this.
I just tested in my SSGS with froyo 2.2 (JPM). I'm just using default options (disconnect data when the screen is turned off) and I have realised that when the data gets disconnected the phone makes a small vibration. It would be cool if we can avoid the vibration as it also spends some battery
Birba said:
Where can I set that data turns on every 15minutes?
Thanks
Click to expand...
Click to collapse
Under "Schedule data connection" section in SuperPower
titooo7 said:
I guess you have something planned like a watchdog to see if there is any data transfer before stopping the connection. If thats the case I think it might be not so easy as some apps could be connected to the internet with very small data transfer. However, you are the expert on this.
Click to expand...
Click to collapse
Likely it will be related to the download speed itself, not sure yet though.
I just tested in my SSGS with froyo 2.2 (JPM). I'm just using default options (disconnect data when the screen is turned off) and I have realised that when the data gets disconnected the phone makes a small vibration. It would be cool if we can avoid the vibration as it also spends some battery
Click to expand...
Click to collapse
As stated in the first post the vibration is a debug option. It will be removed / turned off in a later version. Remember this is beta
Chainfire said:
When you mean the network is not "active", do you have a "white circle with a line through it" icon ?
Do you have 2G/3G switching enabled ? The above is exactly what would happen if:
- You have enabled switch to 2G when screen goes off, and you turn on the device while the device is switching to 2G
- You have enabled switch to 3G when screen goes on
In both cases it is a temporary situation that takes about 10 seconds to resolve. Unfortunately switching between 2G and 3G takes time.
Click to expand...
Click to collapse
I activated both options.
Ok, if this is intended behaviour and just happens if I switch the screen back on, than it's fine.
Thank you
Madic said:
I activated both options.
Ok, if this is intended behaviour and just happens if I switch the screen back on, than it's fine.
Thank you
Click to expand...
Click to collapse
Note that if you turn off the "Automatic switch to 3G" option, SuperPower will switch to 3G when you start any of the programs selected in the "Applications requiring 3G" instead of every time you turn on your screen.
Wow this is great! I'll download and try when I upgrade to JPM this weekend! Nice to see a great Dev working on the SGS!
Nice app mate thanks, look forward to more development. And damn you have TONS of phones, mind giving us a HD2? haha.
Bug Report!
Bug Report!
Force closed on I9000M on when switching back from another app back to SP
reloaded SP and it went in properly
I9000M became unresponsive after enabling 2G/3G option
Force closed again...
still hung, can't do much with SP, need to uninstall to return SGS back to normal
no option to uninstall, it does not appear on Titanium backup or any apk manager

[Q][TASKER] Several Questions

I have a few questions.
I tried to make my own Juice Defender replacement:
Data Check -
Contexts:
Time
From 6:30
every 15 min
To 01:00
Power
Any
Inverted
Tasks:
Stop
if %SCREEN ~ ON
Stop
if %CELLSIG < 1
Mobile Data
On
Auto-Sync
On
Wait
2 min
Auto-Sync
Off
Mobile Data
Off
For some reason I can't set an end task, but I think I got around it. What this should do is when my screen is off and I have service it should check for any sort of notifications (facebook, mail), correct? Also, will I still get texts and calls instantly or does Mobile Data include these?
you shouldn't use the wait there as while tasker is waiting those 2 min nothing else can run.
I posted my tasks for this in another thread recently: http://forum.xda-developers.com/showpost.php?p=11097712&postcount=14
Is there anything else I can use instead of wait? I don't really want to make 4 profiles. Also I tried doing something else and it's not working. I attempted to make a Night Mode, however it doesn't turn on:
Nightenable:
Contexts:
From 1:00 Till 6:29
Tasks:
Variable Set %NIGHT, 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Night Mode:
Contexts:
Variable Set %NIGHT, 1
Tasks:
Lower Volume, etc.
why don't you want to use 4 tasks? That's the most ellegant way to do it
for the night mode don't set the variable but set the stuff you want straight away
I would do it in one task except I also have this:
Power Mode:
Contexts:
Power On
Tasks: (Menu)
(Night Mode) Variable Set %NIGHT, 1
(Normal Mode) Variable Set %NIGHT, 0
Vulf said:
I have a few questions.
I tried to make my own Juice Defender replacement:
Data Check -
Contexts:
Time
From 6:30
every 15 min
To 01:00
...
...
For some reason I can't set an end task, but I think I got around it. What this should do is when my screen is off and I have service it should check for any sort of notifications (facebook, mail), correct? Also, will I still get texts and calls instantly or does Mobile Data include these?
Click to expand...
Click to collapse
How I do this:
Profile: Sleep
Time
From 23:00
un-checked
To 05:59
---------------------------------------
Tasks: Sleep
Notification Pulse
Off​Ringer Volume
5​Mobile data
Off​WiFi
Off​Bluetooth
Off​Auto-Sync
Off​Display Brightness
15​---------------------------------------
Exit Tasks: Awake
Notification Pulse
On​Ringer Volume
15​Auto Brightness
On​
I utilize a whole other Project with several Profiles to control the Wifi & Mobile Data usage. now working on a BT radio policy

[Tips] Android | How to Maximize Battery Life | 14.5.2012

How to Maximize Battery Life
UPDATED! Improve MiniCM9(nAa) Battery >> http://forum.xda-developers.com/showthread.php?p=25959229#post25959229
Stay tune, there may be additional tips and important notes!
General
Put ur phone to sleep via notification power widget(CM Settings) to prevent wakelocks(awake while screen off).
Conectivity
Turn Wi-fi and Bluetooth off when not in use.
(Power Control Widget ...OR... Settings > Wireless and Networks)
Location
Disable Wireless Network Positioning.
(Settings > Location)
Disable GPS Satellites.
(Power Control Widget ...OR... Settings > Location)
Display
Manual Brightness: Lowest (0)
Auto-rotate screen: Off
Animation: No animation
Screen Time-out: 30secs or less.
(Power Control Widget ...OR... Settings > Screen & display)
For even lower brightness, set dim level to 10 or below
(CM Settings > Display > Automatic Backlight > Screen Dim Level)
Wallpaper and Widgets
Use static background instead of live wallpapers.
Darker wallpapers are recommended for AMOLED screen.
Use less active widgets (high refresh rate)
(Long press Home Screen)
Network
Turn Airplane mode on while you are sleeping.
Turn off Data Transfer (network internet connection) when not in use.
Turn on Airplane Mode when you(user) sleep.
(Power Control Widget ...OR... Settings > Wireless & networks)
Use 2G/GSM Only, not 2G+3G/HSDPA.
(Power Control Widget ...OR... Settings > Wireless & networks > Mobile networks)
Accounts & Sync
Disable background data transfer. (Turn on when using Android Market)
Disable Auto-sync accounts.
(Settings > Accounts and Sync)
Applications
Disallow Mock Location.
(Settings > Applications)
Sound & Vibrations
Set vibration only on silent mode.
Disable haptic feedback. (Vibration on UI interaction)
(Power Control Widget ...OR... Settings > Sound)
Language & Keyboard
Disable Keyboard Vibration / Set vibration to 0ms
(Settings > Language & Keyboard)
Rom Modules - Tweaks to your rom. Works for both stock and modded roms.
If there's undervolt module for your rom, use it.
Custom CPU governor such as smartass, smartassV2
(!) For some CM7 Roms, smartass makes your phone very lag, try smartassV2 or ondemand.
CPU & Processor
Reduce processor speed (Underclock).
Choose [powersave/conservative/smartass] governors. (!) Quite laggy.
[APP] SetCPU for Root Users
-Set processor speed and governors.
Extras
Use less UI-replace apps like CallerID, WidgetLocker, GO Locker etc.
Background and Running Apps
Use task killer ONLY for apps/games u wont use for the next few hours.
Dont leave task killer in the notification bar, kill it together.
(!) If u kill every system apps, your phone have to re-run them all over again. Thus battery drains.
(!) Watch what you kill
[APP] Titanium Backup's Freezing function (PAID VERSION)
-Prevent the apps from running without uninstalling them.
-Frozen apps wont be shown in App Drawer and cannot be launched. (You can defrost if you want)
-Safe common system apps to be frozen: (actually most of them are safe, what u freeze is what wont work)
Market (Market wont work)
Gmail (Market wont work)
Google Apps (affects Market)
Google Search (affects Market)
Google Talk
FOTAkill
Pico TTS (Speech to text wont work)
TTS Service (Speech to text wont work)
Voice Search (Voice Search wont work)
Voice Dialer (Voice Dialer wont work)
(!) Don't freeze apps like Sync, Settings, Package Installer, Messaging and some obviously important apps.
[APP] Autostarts
-Managing apps running automatically in most situations.
-e.g: during startup, after startup, widgets updating...
CyanogenMod Settings (Only available in Cyanogenmod Settings)
-Render Effect - N1 Calibrated
-Overscroll Effect - Disable
(CM Settings > Interface)
-Automatic Backlight Settings - Set Dim Level + Uncheck Allow light decrese
-Screen on/off animation - Disable
(CM Settings > Display)
-Haptic Feedback Tweaks - Disable all
(CM Settings > Input)
-CPU Settings - Adjust accordingly.
(CM Settings > Performance > CPU Settings)
-VM Heap Lower it, increase it if u play HD games.
(CM Settings > Performance)
Battery Saver App
Search on Google Play, there's tonnes.
[APP]
Titanium Backup
https://market.android.com/details?id=com.keramidas.TitaniumBackup
Autostarts
https://market.android.com/details?id=com.elsdoerfer.android.autostarts
SetCPU for Root Users
https://market.android.com/details?id=com.mhuang.overclocking
Share your tips!
I think automatic brightness is the best. If you go out during the day you won't be able to see anything on 0 brightness.
It's probably more convenient to just buy a second battery.
Good guide for those desperate for more battery life though.
Green Power is a much simpler alternative to Juice Defender and seems to work a lot better too!
Also there is no need for a task killer if you are running GB. Complete waste of time.
Task killer is much easier than GB internal app control. Save time, not waste time.
But remember FC task killer together thats all.
---------------------------------------------------------------------------------
Automatic brightness is good but not battery saving. The screen sensors have to work all the time and keep adjusting brightness. :/
Yes, we cant see anything under the sun. Thats the con.
1 more tip, uninstall useless aps
I have a Samsung Galaxy S running the FASTY ROM, and when I switched over to this ROM, I noticed I went from 6-hour battery life to 2-3 days battery life!
Go to every Apps that has Notification Interval in their setting, it updates in background although not display in the Accounts & Sync
Leave you phone off. Usually gets me unlimited power and run times.
armoredkin said:
Go to every Apps that has Notification Interval in their setting, it updates in background although not display in the Accounts & Sync
Click to expand...
Click to collapse
Dont get what u mean. Any example?
spinrite said:
Leave you phone off. Usually gets me unlimited power and run times.
Click to expand...
Click to collapse
Thats a basic knowledge and everyone should know this.
Nice tips. But the battery depands on rom, some of them uses a lot of battery
kelvinloo said:
Nice tips. But the battery depands on rom, some of them uses a lot of battery
Click to expand...
Click to collapse
yes. CM7 uses more than CM6.
-----------------------------------
Updated 20.2.2012
- Use less certain apps.
Thanks for the tips.. most of them are pretty obvious though
chinadude said:
Thanks for the tips.. most of them are pretty obvious though
Click to expand...
Click to collapse
That means you are good in saving battery.
There have been good tips mentioned but I would like to add that all those battery saver apps just do nothing. These kinds of apps are just ads while some of them like juice defender offer androidees a paid version (Ultimate, Pro etc) which is just another trick where it may be useful for lazy guys who can't turn wifi, bluetooth or other connections or apps off themselves!
I haven't actually tried any of ROMs which are told to be effective (like "undervolt") and on this position I must admit that manufacturers' ads for their mobile products are just lies as I have a SGS2 and whenever I start to play a HD game or connect via wifi it just starts to drain the battery times times more than the advertised battery life!
The only and reliable way of saving battery could be just using carefully: HD games for maximum 30-45 min and wifi connection for 2-3 hours. Playing movies or music could be run in a more span of time like 4-5 hours. Otherwise you will have no remaining for calling or necessary usages!
Jetroid said:
There have been good tips mentioned but I would like to add that all those battery saver apps just do nothing. These kinds of apps are just ads while some of them like juice defender offer androidees a paid version (Ultimate, Pro etc) which is just another trick where it may be useful for lazy guys who can't turn wifi, bluetooth or other connections or apps off themselves!
I haven't actually tried any of ROMs which are told to be effective (like "undervolt") and on this position I must admit that manufacturers' ads for their mobile products are just lies as I have a SGS2 and whenever I start to play a HD game or connect via wifi it just starts to drain the battery times times more than the advertised battery life!
The only and reliable way of saving battery could be just using carefully: HD games for maximum 30-45 min and wifi connection for 2-3 hours. Playing movies or music could be run in a more span of time like 4-5 hours. Otherwise you will have no remaining for calling or necessary usages!
Click to expand...
Click to collapse
Yes, thats why i dont recommend saving apps. Just for lazy people.
kelvinloo said:
Nice tips. But the battery depands on rom, some of them uses a lot of battery
Click to expand...
Click to collapse
It's true, but other things also affect battery life (many of which the OP mentioned).
However, I just wanna add one thing which I'm sure many of you already know. But the reason I am mentioning it is because I witnessed this work on two Samsung Phones belonging to my friend and his wife: Galaxy Pro & Galaxy Mini (name of the phones, not my friends ).
At first, and on stock rom(not rooted) their battery life was horrible; and by horrible I mean less than 6 hours of usage (<24 hours idle).
I googled it and read somewhere, that fully recharging the phone then draining it completely (until it switches off itself) every day for a few days, the battery life will improve noticeably.
I told them about it; they tried it; and after only 3 days they started to notice the difference. They told me that it really made a difference. Now their battery life is 6-7 hours usage. 48 hours idle.
I know those numbers sound unrealistic but somehow it worked.
I have read this before, and it seems to be a common thing for battery life.
I haven't tried it on my DesireHD because I'm always hopping between different ROMs..
I hope this would be helpful for someone...
... my two cents Cheers!
Nice tips, thanks
Ways to maximize your battery life.
Generally when it comes to battery life I try to use those two tricks which work very well with ICS Roms.
I use ondemandx governor 122-1612MHz with suspend_freq=122MHz.
In order to achieve lowest power consumption in standby. You can tune manually Vdd at 122MHz =suspend_freq to the lowest value.
I also change in /system/buid.prop the value of ro.ril.disable.power.collapse to 0 instead of one by default in order to allow deeper sleep of the air interface.
Over all the type of ROM you are using, the age and capacity of your battery in your device also play a roll in the average time you get out of your device
soomuch said:
Generally when it comes to battery life I try to use those two tricks which work very well with ICS Roms.
I use ondemandx governor 122-1612MHz with suspend_freq=122MHz.
In order to achieve lowest power consumption in standby. You can tune manually Vdd at 122MHz =suspend_freq to the lowest value.
I also change in /system/buid.prop the value of ro.ril.disable.power.collapse to 0 instead of one by default in order to allow deeper sleep of the air interface.
Over all the type of ROM you are using, the age and capacity of your battery in your device also play a roll in the average time you get out of your device
Click to expand...
Click to collapse
1612MHz, what rom is that??
updated 29/4/12

App with power presets?

has anyone heard of an app called go power master? it is from the makers of go launcher ex. i really like the app because it allows you to set different presets with different options such as wifi on and bluetooth off while i am at work. the one thing it is missing is to keep the screen on at all times. i use that when i am driving so i can have google maps open and have latitude track me.
does anyone know of an app that is like power master but has the option to leave the screen timeout to never?
Settings Profile
There is an app called settings profile.
I have it for example set conditions like:
- If on cell tower (defined by location)
- Not on ac
- Not running profile
= Set Home off charger Profile
If:
- Not at home (opposite location from above)
- USB or AC power
- Not running profile
= Set Car Profile
Running profile i set manually.
Running profile for example is wifi off, bluetooth on, time out never, music volume 80%, notification sounds 0.
I think thats what your looking for. You can backup also so when you re install your rom you can do a simple re install.
Note: Must have widget on desktop so that it gets loaded into memory on boot. Otherwise you would have to open it each time (or so it seems with One X.)
I found one. I had elixir2 installed already and didnt know that they support profiles and it includes a never have the screen timeout
Sent from my AT&T HTC One X using XDA

[GUIDE] Idle Battery Setup 0.0% loss 6+ hours (Xposed Required) Great Battery Life!

I DO have these disabled, but when they're enabled they work just fine.
GPS
Auto Sync
Location Services
Android Backup
Facebook / Social apps (INSTANT Push Notifications)
You CAN keep these on
GPS
Auto Sync
Google Now
WiFi during sleep
[Google Maps] for Navigation
Facebook /Social Apps are available *only during screen on*
Google Play Services remains a system app
Instant Push Notifications (Depending on what you have limited, for example in MY guide FB and FB Messenger are NOT instant)
NO need for underclocking, Min/Max CPU,
ALL apps that I have disabled: Facebook, Twitter, TypeMail, etc... Work JUST fine when screen on and/or app is opened manually, just during deep sleep is when they're not called to pull notifications. Your mileage may vary.
Thank you to:
@Celestial Fury
for his AWESOME guide, which was attributed I'm this guide and used in obtaining my battery life.
Follow his guide if I missed anything, or if you have something I did not note.
What you will need:
ROOT
Xposed
-[Xposed for 4.0.3-4.4]
-[Xposed for 5.0]
-[Xposed for 5.1]
I will NOT be going over how to root or install Xposed, there are dedicated XDA threads for that
Greenify
Amplify
Powernap Power Nap for Xposed is the SONY's stamina mod for non-Sony devices. When your screen is off, Power Nap maximizes your device's deep sleep time by stopping services, alarms and wakelocks. You can whitelist apps. You need to join the alpha testers community in Google+ here. And become a tester and all that good stuff
Servicely *OPTIONAL* Servicely is basically a task killer, that will kill the apps you have selected at a certain amount of time, or screen off, depending on your settings.
I'm not responsible for any app misbehavior, device failure, bricking, or any of that. As always this is at your OWN RISK!
Greenify
You can use Greenify to hibernate apps that are not in use. There's a donation package which includes lots of [Xposed] features. You need to activate the Greenify Xposed Module [once you have the donation package.] Enable the Boost mode and Experimental Features. See screenshots below.
Greenify apps that drain battery in the background use BBS for reference.
In my case they are:
1. All in one toolbox
2. Amazon shopping
3. Appy Gamer
4. AutoMate
5. Brave Brigade
6. Calendar
7. Chase
8. Chrome
9. Crossy Road
10. Dragon Blaze
11. Dropbox
12. eBay
13. Facebook
14. Google+
15. Messenger
16. Twitter
17. TypeMail
18. XDA
Amplify
This app is AMAZING and a MUST HAVE for saving battery life with Xposed. You NEED the donation package.
WAKELOCKS:
NetworkStats - 240 seconds
SyncLoopWakeLock - 3600 seconds
GpsLocationProvider - 3600
NlpWakeLock - 240 seconds
AudioIn - 240
wake:com.google.android.gms/.config.ConfigFetchService - 240 seconds
NfcService - 40000 seconds ( I dont use NFC )
LocationManagerService - 40000 seconds
Icing - 7200 seconds
Wakeful StateMachine:Geofencer - 7200 seconds
GCoreFlp - 7200 seconds
ConnectivityService - 7200 seconds
NlpCollector WakeLock - 240 seconds
ALARMS *I MIGHT not have the full name listed as some are very long*
telephony.data-stall - 240 seconds
backup.intent.run - 84600 seconds
LockboxAlarmReceiver - 240 seconds
clockwork.stream.action - 240 seconds
NETWORK_STATS_POLL - 200 seconds
clockwork.stream.RANK - 240 seconds
now_action_retry - 3600 seconds
PrefetcherService - 1000 seconds
ANYTHING facebook - 3600 OR 7200 your choice *there's just too many FB alarms to list
EVENT_REMINDER - 3600 seconds
CalendarProvider2 - 3600 seconds
telephony.data-reconnect.default - 240 seconds
WiFiManager.action.START_SCAN - 1200 seconds
sidekick.SCHEDULED_REFRESH - 1200 seconds
ContentSyncService - 7200 seconds
WAKEUP_SENSOR_UPLOADER - 40000 seconds
CheckinService$Receiver - 3600 seconds
intent.action.SEND_IDLE - 43200 seconds
ACTION_CHECK_QUEUE - 43200 seconds
ACTION_UPDATE_WORLD - 86400 seconds
checkin.EventLogService$Receiver - 86400 seconds
GCM_RECONNECT - 43200 seconds
ALARM_WAKEUP_ACTIVITY_DETECTION - 86400 seconds
ALARM_WAKEUP_LOCATOR - 86400 seconds
PKT_CNT_SAMPLE_INTERVAL_ELAPSED - 7200 seconds
LOG_CORE_ANALYTICS - 9999999 (max) seconds
MCS_HEARTBEAT - 240 seconds *as far as i can tell this DOES NOT break PUSH notifications*
greenify.CLEAN_NOW - 7200 seconds
DELAYED_KEYGUARD - 1200 seconds
android.content.syncmanager.SYNC_ALARM - 43200 seconds
location.STATUS_ALARM - 3600 seconds
SERVICES
com.facebook.analytics.service - DENY [BOTH] of them
com.ebay.mobile/.analytics - DENY
update.SystemUpdateService - DENY
twitter.library.scribe - DENY
Servicely *OPTIONAL*
See attached screenshot for settings and such ( I am running PRO version )
Servicely will kill ANY apps that you have added to the Hit-List, you can change the interval at which it checks [Mine is set to 60seconds]
Only choose apps that have RED lettering under them, stating they can wake the device (and/or apps you don't want running in background)
-Option to set it to screen-off only [That's how I have mine set]
-Aggressive process termination which kills apps even in the foreground that you may have in Hit-List if the phone doesn't deem the process important [I have this checked]
-Start on boot, I would have this checked [I do]
It also has an advanced mode, which lets you turn off individual services but I will not be going over that (We did that with Amplify) that section is *AT YOUR OWN RISK*
*FAQ*
Originally from @Celestial Fury battery life guide!!
Establish Baseline (battery ONLY drain)
Charge battery to full (100%).
Switch phone OFF.
After 7 hours or so turn it on.
To get drain / hour: divide % of battery reduction with number of hours the phone was off. If battery % dropped by 1% after 7 hours, then 1 / 7 = [0.1%/h]. This is your battery ONLY drain, no drain from Android OS, radio signal, WiFi, data, wakelocks, & alarms.
Establish Baseline *Airplane Mode*
Charge battery to full (100%).
Switch phone to Airplane Mode.
After 7 hours or so turn off Airplane Mode.
Check drain in BBS. This is your battery drain from ONLY Airplane mode, no drain from radio signal, WiFi, and data.
Test Idle Battery Drain
Charge battery to full (100%).
Reset Amplify Device Stats NOT Reset to defaults.
(Useful for troubleshooting alarms/wakelocks from troubled apps)
Leave phone idle for 7 hours or more.
Check phone for any unknown reboot (run time in Amplify & BBS must be the same. If BBS has a MUCH shorter time or if it shows "Boot" instead of "Unplugged" then there was a reboot, BBS resets stats after reboot).
Report here for the cause of reboot and do not limit the problem app/wakelock/alarm anymore.
Using BBS as a guide for battery drainage, increase the time of limited alarm(s)/wakelock(s) or limit others
Amplify DOES NOT show DRAIN. BBS does. Don't limit something that doesn't cause drainage (unless it's ads/privacy).
Repeat Step 1.
Testing problems with Amplify:
In Amplify, RESET Device Stats.
Use the app you have a problem with.
Check in Amplify what alarms/partial wakelocks were triggered.
POSTING DUMPS/REPORTING LOGS:
USE BetterBatteryStats to report logs and dumps. Here's how:
Charge your device to 100 and unplug the device from the charger.
Leave it idle for at least 6 hours (Don't turn on the screen during this period).
Choose "Unplugged" as a start reference and "Screen On" OR "Current" as stop reference (Refer to Screenshots)
Pull a TextDump File from BetterBatteryStats. (Refer to Screenshots)
You'll find the dump in the root of your SDCard. Post the dump in the thread.
Delayed PUSH Notifications: If you are experiencing delayed push notifications, try this app!
Thanks to: @chamonix for BetterBatteryStats
@rovo89 @romracer and @C3C076 for Xposed Framework
@oasisfeng for Greenify
@cryptyk for Amplify @caspase for AppOpsXposed
@waylaidwanderer for Power Nap @andQlimax for PNF
Thanks again to @Celestial Fury for a lot of help with this guide! :thumbup:
Let me know if you have any comments/concerns/questions/criticisms/etc... sorry it's so long
thanks!
Reserved, just cause.
Just punched in these ... will let you know after 3-4 charge cycles. Thanks for your efforts. Keep this thread updated with newer WAKELOCKS, ALARMS etc.
Jibreil said:
Just punched in these ... will let you know after 3-4 charge cycles. Thanks for your efforts. Keep this thread updated with newer WAKELOCKS, ALARMS etc.
Click to expand...
Click to collapse
Of course! I'll update with new things as I find new wakelocks and alarms, etc... Post a dump here after a couple cycles!
Happen to switch to a CM 12 ROM so couldn't share the stats. Nevertheless the battery was lovely with these configs. Does this work well with CM 12?
Jibreil said:
Happen to switch to a CM 12 ROM so couldn't share the stats. Nevertheless the battery was lovely with these configs. Does this work well with CM 12?
Click to expand...
Click to collapse
Yeah this works great with CM 12 that ROMs not bloated or anything so it'll be a great setup with it

Categories

Resources