Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,022 Members 53,390 Now Online
XDA Developers Android and Mobile Development Forum

[Guide] Battery Saving Tips (Updated: 32h15m Life!)

Tip us?
 
kalans
Old
(Last edited by kalans; 23rd July 2014 at 10:33 PM.)
#1  
Senior Member - OP
Thanks Meter 33
Posts: 154
Join Date: May 2014
Battery Full [Guide] Battery Saving Tips (Updated: 32h15m Life!)

UPDATE: Check post #2 for the updated information!

Hey guys, first off I know many are going to say "Another battery thread.." but I wanted to share what I have been doing to my Galaxy S5 and see what you guys are doing.

Device:
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery

ROM: Being that we don't have any custom roms yet, less is more. You of course could use titanium backup or the like to freeze many of the apps, uninstall many of the bloat apps yourself or you could install the Extreme Debloated ROM from the link below.
[NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!

Screen: We all know the more dim the screen the better the battery life, I don't use auto brightness but some do.

Greenify: If you aren't using this yet, you should! Rooted or not, this app works!

Auto-Sync: If you can function without this, turn it off. All apps, change to sync less frequently.

CPU: If you are only using your device for simple tasks, underclock it. I have mine running at 300 MHz-1.498 GHz interactive cfq. Of course you can set the Governor to be on demand etc for when you need it. I use No-frills CPU Control

Llama: There are many apps that you can use but Llama is free and is easy to get going, check it out here. Below is what I have my events set to, of course there is a bit more to it (advanced settings, aka delays etc). I have the Llama events that I use attached below, just install Llama and then place the text file in the Llama folder (stored on the local sd, internal). Go to events and press the menu button, then import and select it.

Explanation Of Events For Llama:
 
1-When screen turns off, but is not in a call and music is not playing. Delay for 1 minute and then disable mobile data, disable wifi, run the shortcut (from greenify) "Hibernate Now", disable account sync. The delay can be customized, but I like it at 1 minute. I have read from Intelli3G that turning the signals on and off can effect battery life, so previously I had it with no delay. This is fine if you don't turn your phone on and off too often.

2-When screen turns on, enable mobile data, enable wifi, enable account sync (but don't update). This is straight forward, turn it all back on. You can select the account sync to update if you want.

3-Wifi off if not connected when screen turns on. Delay for 40 seconds and then disable wifi if not connected. Since event #2 turns on the wifi by default, this will turn it off if it is not connected to a network.

4-Mobile data off if on wifi. When the phone connects to wifi, delay for 45 seconds and then disable mobile data. You will still get texts/calls etc, but not use data of the network.

5-Mobile data on when wifi off. Just as event #4 but the reverse, since we turned off mobile data while the wifi was on we need to turn it on. No delay, because we want it back right away.

6-Phone powered on. When the phone turns on, delay for 30 seconds and then run the greenify hibernate now shortcut. You can increase the delay if you have any processes starting up on boot.


AFWall+: Any firewall app will do just fine, but if you want to specify the IPv6 support (4G) then this one works great! Just realize it is default to selecting apps allowed to use the network (aka white list), which for me is just the browser/messaging/swiftkey. I have a toggle widget set on my screen that I turn on/off depending if I need anything special (use the market/youtube etc). This keeps them from using the network, thus saving your battery.

Autostart Processes: You can use many apps to change this, but I used SD Maid. Turn off anything you don't need running in the background (facebook etc).

Ads: Might not save much, but blocking ads will help on your data usage at least. I like Adaway. I also like to patch the apps from using ads (paranoid much?), I would think that covering two bases is better than one. Use Luckpatcher for this.

Apps: Back on my first smart phone (Palm Pre), we didn't have specific apps at first for normal things like facebook so we used the browser for the majority of our needs. You can use instagram/facebook/email etc all via the browser, thus reducing app usage in the background (data use, push notifications etc). I have tried fast for facebook and many small email clients, but you are sacrificing lots. The mobile pages work close to the app, better than a clone app. If you are like me I like the style and functionality of facebook/gmail/instagram, but I have not found any apps that pull this off very well outside of the official ones. Being you can block the apps via firewall and force stop them with greenify it does help, but apps like facebook/gmail they keep checking for updates and keep running causing wakelocks. Some apps like AquaMail seem to do the trick for me.

Xposed Framework: I LOVE the functionality that it provides, as it reminds me of the modding that we had back on WebOS but with these frameworks running in the background it causes some battery lose.

Closing Notes: There are many other options and possibilities depending on how you use your phone, and of course your mileage may vary. These are from my own testing and readings, some things may not even help or be very effective but this is why I am posting this. Let us share what works best for our device! Being I don't run XPosed I can't use Intelli3G, but since I am cutting off data where I can it helps. I would be interested in putting my phone in 2G/3G/4GLTE with a button click, might be possible with Llama but I haven't tried.

Credits:
-@geohot for the towelroot!
-@elliwigy and @raynan for their awesome work on debloating the stock ROM!
-@mechnesium for his suggestions on tasker/Llama!
-@oasisfeng for greenify!
-@hrk for No-frills CPU Control!
-@Kebab3000 for Llama, the reason my battery lasts longer!
-@ukanth for AFWall+!
-dominik for adaway!
-ChelpuS for LuckPatcher!

If you have found ANY of this useful, have any suggestions, comments etc please post below. Click Thanks if you want to show appreciation if this did help you. Thanks!
Attached Thumbnails
Click image for larger version

Name:	Events.png
Views:	710
Size:	99.7 KB
ID:	2858752  
Attached Files
File Type: txt Llama_Events.txt - [Click for QR Code] (1.1 KB, 17 views)
The Following 2 Users Say Thank You to kalans For This Useful Post: [ Click to Expand ]
 
kalans
Old
(Last edited by kalans; 23rd July 2014 at 10:32 PM.)
#2  
Senior Member - OP
Thanks Meter 33
Posts: 154
Join Date: May 2014
Update #1:
-Coming soon!

Test #1:
Using the above information in post #1 I was able to get 32 Hours 15 Min (1 d 8 h 14 m 54 s) with 6 Hours Screen On Time! Check screen shots below for the proof, and comment below to the awesomeness! I will be doing a new test with the updates coming to the OP!

Test Subject:
-Check the attached BetterBatteryStats log for complete info!
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery
-ROM: [NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-07-22-17-30-32.jpg
Views:	456
Size:	137.4 KB
ID:	2867402   Click image for larger version

Name:	Screenshot_2014-07-22-17-30-38.png
Views:	439
Size:	247.3 KB
ID:	2867403   Click image for larger version

Name:	Screenshot_2014-07-22-17-30-45.png
Views:	450
Size:	144.7 KB
ID:	2867404   Click image for larger version

Name:	Screenshot_2014-07-22-17-31-42.png
Views:	436
Size:	116.4 KB
ID:	2867405  
Attached Files
File Type: txt BetterBatteryStats-2014-07-22_173106083.txt - [Click for QR Code] (16.4 KB, 5 views)
 
Russ77
Old
#3  
Senior Member
Thanks Meter 118
Posts: 317
Join Date: Jul 2012
can you post up some screen shots of your battery life / stats?

I'm on stock, rooted, bloat is frozen. I'm using grernify for games and other apps I don't use regularly or don't rely on for push notifications. I use adaway for ad blocking.

with just those steps taken, and using the phone as a smartphone, I can easily get 20+ hours off charger and a screen use of 5 hours.

I understand what you're trying to do here but what is the point of diminishing returns?
 
kalans
Old
#4  
Senior Member - OP
Thanks Meter 33
Posts: 154
Join Date: May 2014
I have gotten around the 18 hour mark, but out of the box I was only getting around 12. I will try getting an accurate screenshot and try out a few other settings. Our batteries may vary slightly I'm sure, and at some point I bet there are diminishing returns like with underclocking. I will test it out and report back

Thanks for the input @Russ77

Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
 
kalans
Old
#5  
Senior Member - OP
Thanks Meter 33
Posts: 154
Join Date: May 2014
Updated! I was able to get 32h 15m battery life with 6h of screen on time! @Russ77 @GDofWR420 @UnhoIy
The Following User Says Thank You to kalans For This Useful Post: [ Click to Expand ]
 
GDofWR420
Old
#6  
GDofWR420's Avatar
Senior Member
Thanks Meter 208
Posts: 1,244
Join Date: May 2011
Quote:
Originally Posted by kalans View Post
Updated! I was able to get 32h 15m battery life with 6h of screen on time! @Russ77 @GDofWR420 @UnhoIy
Can't put this thing down. Battery is great, I'm always on it and get almost 7 hours screen time before I throw it on the charger. For me I keep the screen on the lower setting with auto turned off and screen set to dynamic for that deep, bold color.

Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
The Following User Says Thank You to GDofWR420 For This Useful Post: [ Click to Expand ]
 
otacon132
Old
#7  
Junior Member
Thanks Meter 1
Posts: 2
Join Date: Nov 2012
Quote:
Originally Posted by GDofWR420 View Post
Can't put this thing down. Battery is great, I'm always on it and get almost 7 hours screen time before I throw it on the charger. For me I keep the screen on the lower setting with auto turned off and screen set to dynamic for that deep, bold color.

Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
+1
The Following User Says Thank You to otacon132 For This Useful Post: [ Click to Expand ]
 
Russ77
Old
#8  
Senior Member
Thanks Meter 118
Posts: 317
Join Date: Jul 2012
I'm at 4 hours 17 minutes screen use and have 42% battery remaining. I'll easily surpass 7 hours of screen use and probably 20 hours total battery.

when idle on mobile signal my phone consumes about 1%/hr. if I wasn't playing couch potato today (its 107 outside) and was doing stuff I'd use around 6 hours of screen time and could go 30 hours total battery time.

this is all with no battery saving measures taken other than greenifying all banking and game apps.
 
shortydoggg
Old
#9  
Senior Member
Thanks Meter 286
Posts: 767
Join Date: Apr 2011
Quote:
Hey guys, first off I know many are going to say "Another battery thread.."
Yes, to play devil's advocate here:

The apps and tweaks are going to make some difference, but it's more about how you use your phone, rather than doing a bunch of tweaks and modifications, which many of us have done at some point or another (the same tweaks but maybe with different apps and Roms).

I've seen posts around here talking about getting 3 and 4 days average, and sometimes 5 days of battery, and I always say that's because you all don't use your phone that much.

It's all about how you use your phone. I only get up to 48 hours with moderate use; that's terrible battery life by the standards around here; and with heavy use, with my brightness cranked up because I like my colors pretty and bright, and with consistently playing games all day, I'm only getting about 4 and a half hours screen on time. That battery life might be 7 hours or 2 full days, depending on how much else I'm doing with the phone.
Remember, root is not responsible for what happens with your phone, You are.
 
kalans
Old
#10  
Senior Member - OP
Thanks Meter 33
Posts: 154
Join Date: May 2014
I love how I posted this thread to help others but instead it is just getting people to post about the opposite.. I just got 54+ hours out of the OEM battery, but I am sure nothing I did helped.. Insert sarcasm here.

Sent from my SAMSUNG-SM-G900A using XDA Free mobile app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes