Hello,
Im experiencing some lockscreen delay when i try to wake up the phone. I have rooted and flashed the original kernel back. When phone is connected to PC or charging its very responsive. Is there anyway to fix this? How do you do a factory reset?
Would be interested in an answer for this as well. I have the same situation, fast response to lock-button press when charging, few (2 +-1) seconds delay when not charging. I haven't rooted yet and have 2 pages of homescreen which have 5 widgets and 10 shortcuts/apps.
Is this normal behaviour, because the phone wakes up from a deep sleep state?
I think this is because of the phone being in sleep mode. It takes a second to wake up and increase the CPU speed and such... If you were to disable this, your phone would probably consume a LOT more battery. =/ But, heck, if it's only one second, it's worth waiting for, given that it's the most awesome phone you'll see until SGS3!
This used to happen all the time on JVK on SGS1.
This also happens to me and I just can not figure out what causes this? When the phone is on the charger it mostly doesn't happen. When I switch from Wifi to 3G, for a few seconds it doesn't happen... I cant figure it out what it is!
Same here, doesn't bother me that much though. What does bother me is, I first see the normal screen for just a moment and then the lockscreen. Anyone else got this to?
Sent from my GT-I9100 using XDA Premium App
It's because when the phone is uplugged and has been locked for awhile, the CPU downclocks to conserve energy. And when you wake the device up, it takes awhile to get the display going and bump the CPU speed back up.
This happened with my old HTC Desire with battery optimizations. When the custom roms start rolling in for the G S2, I guarentee there will be a 'fix' for this at the expense of battery life.
FYI, the delay isn't there when the phone is on charge/plugged in as the CPU doesn't downclock as drastically.
*EDIT*
TheGhost1233 said:
Same here, doesn't bother me that much though. What does bother me is, I first see the normal screen for just a moment and then the lockscreen. Anyone else got this to?
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Yep, I've got that, as does the other 4 Galaxy S2's that have passed through my ownership due to replacements. It's completely normal don't worry.
drm111 said:
It's because when the phone is uplugged and has been locked for awhile, the CPU downclocks to conserve energy. And when you wake the device up, it takes awhile to get the display going and bump the CPU speed back up.
This happened with my old HTC Desire with battery optimizations. When the custom roms start rolling in for the G S2, I guarentee there will be a 'fix' for this at the expense of battery life.
FYI, the delay isn't there when the phone is on charge/plugged in as the CPU doesn't downclock as drastically.
*EDIT*
Yep, I've got that, as does the other 4 Galaxy S2's that have passed through my ownership due to replacements. It's completely normal don't worry.
Click to expand...
Click to collapse
I use Widgetlocker great lockscreen mod and the normal screen does not come up first.
I understand your explanation but this did not happen to my desire and it doesn't happen all the time (switch from wifi to 3g and stuff). I can get used to it but it would be nice if it would be instant!
DHel01 said:
I use Widgetlocker great lockscreen mod and the normal screen does not come up first.
I understand your explanation but this did not happen to my desire and it doesn't happen all the time (switch from wifi to 3g and stuff). I can get used to it but it would be nice if it would be instant!
Click to expand...
Click to collapse
It happens rarely, but I've used both widget locker and the stock lockscreen on this phone and it happens on both.
And no, it didn't happen on the stock desire, it only happened on my desire with the battery optimizations which downclocked the CPU to 133mhz i believe, so the G SII must be downclocking to around that speed when not plugged in.
drm111 said:
It happens rarely, but I've used both widget locker and the stock lockscreen on this phone and it happens on both.
And no, it didn't happen on the stock desire, it only happened on my desire with the battery optimizations which downclocked the CPU to 133mhz i believe, so the G SII must be downclocking to around that speed when not plugged in.
Click to expand...
Click to collapse
I think you are right about the downclocking because when I wake my SGSII RIGHT after a whatsapp message or something it works instantly. That means that the CPU is also awake to for a moment. Strangely, Setcpu doesnt affect this when I set 1200mhz on sleep. Oh well, lets await the custom roms!
Does turning on PLANE MODE avoid battery drain?
can you give other conplete suggestions?
isko95 said:
Does turning on PLANE MODE avoid battery drain?
can you give other conplete suggestions?
Click to expand...
Click to collapse
Sure it does. It turns off all radio, and using radio uses battery. So PLANE MODE is a great battery saver.
Also, at night you can turn off 3G, only using 2G (you will still get SMS and the phone will ring), but it uses less battery.
Turn off wifi, data and bluetooth also makes the phone use less battery.
When the phone goes into sleep-mode, it can be set up to turn off all those stuff.
AW: [Q] how to avoid fast battery drain?
isko95 said:
Does turning on PLANE MODE avoid battery drain?
can you give other conplete suggestions?
Click to expand...
Click to collapse
Undervolting the cpu always works for me, although some people say it reduces the phones life. Setting the max. processor speed to 320 or 480 mhz also saves a lot of battery, and its more than enough for a daily usage GB ROM.
Next, the more apps you have installed, the more extra RAM gets used. Less RAM usage means a little bit of battery saving.
Some people also claim that using an odexed ROM prevents battery drains, but I'm not sure about that.
Sent from my U20i using xda app-developers app
Isko95 and Kilroy and Emperor
I don't think Sleep mode is that good. I noticed that when we turn On sleep mode the battery doesn't drain, but then when we turn it Off it starts to drain faster for a while.
Undervolt i don't think it saves that much battery, i think it's about the same because i'm using undervolt now and i don't feel the difference.
In Performance options, turn off that Free Up Ram thing and put low values on SD Cache and Virtual Memory ( the lower the more battery saved ).
And off course, more battery is saved by turning everything you don't need OFF like Bluetooth, WiFi, Net by DATA, 3G, Brightness ( if not at minimum yet ), Animations of the rom, etc...
About odexed roms, it's a lie man, i tried almost all roms till now and the odexed roms for me were the worst in battery life.
About CPU, only put 480mhz max if you Type 2 fast on your phone in SMS and stuff ( that's why i have 480mhz xD ), but see for yourself if 320mhz Max is good for you or if it is a little bit slow to type SMS and stuff.
Cheers
Crazy Seed said:
Isko95 and Kilroy and Emperor
I don't think Sleep mode is that good. I noticed that when we turn On sleep mode the battery doesn't drain, but then when we turn it Off it starts to drain faster for a while.
Undervolt i don't think it saves that much battery, i think it's about the same because i'm using undervolt now and i don't feel the difference.
In Performance options, turn off that Free Up Ram thing and put low values on SD Cache and Virtual Memory ( the lower the more battery saved ).
And off course, more battery is saved by turning everything you don't need OFF like Bluetooth, WiFi, Net by DATA, 3G, Brightness ( if not at minimum yet ), Animations of the rom, etc...
About odexed roms, it's a lie man, i tried almost all roms till now and the odexed roms for me were the worst in battery life.
About CPU, only put 480mhz max if you Type 2 fast on your phone in SMS and stuff ( that's why i have 480mhz xD ), but see for yourself if 320mhz Max is good for you or if it is a little bit slow to type SMS and stuff.
Cheers
Click to expand...
Click to collapse
guys, but does setting a lower frequency (480hz) cause a FC on apps using?
isko95 said:
guys, but does setting a lower frequency (480hz) cause a FC on apps using?
Click to expand...
Click to collapse
Like i said, 480mhz is (stable) enough for our phone, you don't need more than that to run any apk .
Crazy Seed said:
Like i said, 480mhz is (stable) enough for our phone, you don't need more than that to run any apk .
Click to expand...
Click to collapse
even on 480hz,is it enough to run facebook, instagram, whatsapp, opera, etc without lags, FC or any problems?
isko95 said:
even on 480hz,is it enough to run facebook, instagram, whatsapp, opera, etc without lags, FC or any problems?
Click to expand...
Click to collapse
Yeah, it even works on 320 mhz for me, but thats up to your personal experience.
Sent from my U20i using xda app-developers app
Kilroy. said:
Yeah, it even works on 320 mhz for me, but thats up to your personal experience.
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
ok, i will try mates...but i read somewhere (i dont remember where -.-") that setting a very low frequency causes continues reboots, just like setting high frequencys..is that true?
isko95 said:
ok, i will try mates...but i read somewhere (i dont remember where -.-") that setting a very low frequency causes continues reboots, just like setting high frequencys..is that true?
Click to expand...
Click to collapse
Not true, i always used 480mhz without any problem in any rom. If a rom has random reboots it's a Rom problem or an app problem.
Besides, if an app isn't meant to work on our phone it wouldn't even open, so random reboots is out of question unless the Rom has problems.
isko95 said:
ok, i will try mates...but i read somewhere (i dont remember where -.-") that setting a very low frequency causes continues reboots, just like setting high frequencys..is that true?
Click to expand...
Click to collapse
Only on phones with better hardware (e.g. a samsung galaxy s2-s4). If you set the frequency to low on that sort of phone, it will reboot. But not our phones; I once (accidentally) set my freq to 19 mhz, but it didn't reboot, I even managed to reset the clock speed without having to reboot.
Sent from my U20i using xda app-developers app
Kilroy. said:
Only on phones with better hardware (e.g. a samsung galaxy s2-s4). If you set the frequency to low on that sort of phone, it will reboot. But not our phones; I once (accidentally) set my freq to 19 mhz, but it didn't reboot, I even managed to reset the clock speed without having to reboot.
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
which minimum frequency i have to set?
isko95 said:
which minimum frequency i have to set?
Click to expand...
Click to collapse
19 mhz or 122 mhz. 19 mhz will mean that, while going into sleep mode, your phone will save more energy, but it might take longer to wake up.
480 or 320mhz Maximum ( your choice ), 19mhz for minimum. Honestly i don't know if 19mhz actually works :S , i feel that it drains the same battery as if it was 122mhz. And in sleep mode i feel that the battery drains faster for a while after we turn off the sleep mode :S , but it's always better to check it out for yourselves xD.
Links pointing to androidbatterylife.com are DOWN FOR GOOD!
Android Battery Life, a pretty successful website has been made in order to help android users achieve better battery life while still using many functions and apps. All of these guides are available, with screenshots, at www.androidbatterylife.com
It's my 2000th post here on xda, and I wanna make it special
PORTAL! http://www.xda-developers.com/android/battery-saving-mega-guide-celebrating-users-2000th-post/
A lot of users are thinking that everything mentioned should be applied. You don't have to apply all of them, just apply what you think works for you. This is more of an index of guides, if you will.
Yes, this is in the Android Q&A, Help & Troubleshooting because of the word "Troubleshooting"... I'm shooting your "Low battery life" trouble in the face.
So let's begin:
The guide is split into 3 parts: Easy, Medium, and Advanced.
First up is... you guessed it..
Easy
Screen / Display LINK
If you go to Settings>Battery, you’ll clearly see that “Screen” has the biggest bar of about 40-60%. The bigger the bar (and the number), the bigger the battery drain. We’ll try to lower that bar as much as we can.
Brightness
First of all, to reduce the battery drain caused by the display, click on the Screen button, then click display (it’s the same as going to Settings>Display), then click on brightness, untick Auto-Brightness if it’s ticked and lower the brightness to minimum.
Explanation: A brighter screen means the screen is emitting more light, which consumes more battery. So lowering the brightness makes the screen use less battery juice.
Wallpaper
Second thing to do to reduce the “Screen” battery consumption is having a Static Wallpaper, and not a Live Wallpaper. So go to Settings>Display and click Wallpaper, and pick any wallpaper you want except the wallpapers from the Live Wallpapers list.
Explanation: Live Wallpapers use the CPU (and possibly the GPU) to make the image move. So the phone is using the CPU to process these images, which means more battery sucking, and we don’t want that.
Sleep
Again, go to Settings>Display, and click Sleep (aka screen timeout) and set that to something less than 1 minute. I personally use 30 seconds and it’s good enough for day-to-day use.
Explanation: The more time the screen is on, the higher is the battery usage, because the screen won’t be using the battery when it’s off…
Framework Animation
Fourth thing to do is disable the Framework Animations. Framework Animations are the animations you see when you switch from an app to another app, or when you press home, or back, or recent apps buttons. To turn those off go to Settings>Developer options (if you don’t see that, then go to About Phone and press the Build Number button 8 times, then go back), scroll down to drawing section, and set Window animation scale, Transition animation scale, and Animator duration scale to “Animation off”.
Explanation: Framework Animations use the GPU (and possibly the CPU) to draw the frames of the animations, so by turning them off, you’re pulling some load off of the GPU and CPU to make the battery life better.
Widgets
Believe it or not, widgets can greatly affect battery life, it's because they update themselves regularly. This can wake up the phone a lot of times. So the best way to prevent this is to remove all the widgets on the homescreen.... and maybe keep the ones that don't update themselves much.
Remember, everything that’s shown on-screen that isn't app related is registered as “Screen” in the battery window. So to lower that, you have to compromise every little thing that’s shown on the screen.
Click to expand...
Click to collapse
Google Services LINK
One major issue you may face with Google Services is the location battery drain. This was born in Android 4.2.2 and can be easily fixed by just unticking a button.
Problem
The real problem is, in one word, Location.
Google Services such as Gmail, Now, Maps, and Google+ constantly polls your location using your wifi (if you're connected) or your cell network. And every time Google Services poll your location, your battery gets affected. So what's the solution to that?
Solution
Further research by Galaxo60 proved that going to Settings - Location Settings (or Location on android 4.4), and unticking WiFi & mobile network location (or setting the Mode to Device Only) prevents Google Services from polling your location, thus preventing the battery drain
So disable the WiFi & mobile network location option, and actually tick and turn on GPS satellites. (It's just like setting the Mode to Device only on KitKat)
But why do that? Why should I turn on GPS?
Picture taken using Android 4.4 KitKat
Explanation
Google Services don't use your GPS to poll your location, so your GPS actually stays offline most of the time; and the reason you should enable GPS is to "Let apps that have asked your permission use your location information".
Click to expand...
Click to collapse
Go Dark LINK
Some devices have AMOLED or SAMOLED (Super-AMOLED) screens, like the Samsung Galaxy SII and the Motorola Moto X. The following method is helpful for these kind of devices.
You may check what's your screen type to see if it's AMOLED or not. If it's not, this method won't help you achieve better battery life, but may help your eyes
What's AMOLED?
AMOLED is a screen type designed to get the highest contrast a screen can get to. Black pixels turn themselves off, unlike the IPS screens that always require a backlight. So AMOLED has less battery consumption than most screen types.
What to do?
Try turning everything as dark as you can. So make the wallpaper have as much black areas as possible, and use dark apps. The best way to convert most apps to dark apps is downloading Team Black Out Updater. From that app, download the apps you want to make them darker and install them. Some apps require having root because you have to flash them via recovery.
This consumes less power
This consumes more power
Explanation
By turning most things dark/black, more pixels in the AMOLED screen will turn off, thus lowering the power consumption caused by the screen.
Remember, this is only for AMOLED screens, IPS/LCD screens will still consume the same power from the battery.
Click to expand...
Click to collapse
Turn Off Auto-Sync LINK
Auto-Sync constantly checks the data on the phone and the data on the cloud, and adds the missing files. In other words, Auto-Sync = wasted battery.
Turn off Auto-Sync
Go to settings, scroll down to you google account, tap it and tap on your gmail. Then uncheck all the items on the list.
This is wrong. Now untick them!
Explanation
Auto-Sync consumes a lot of data and battery. By unchecking the items, Auto-Sync will turn off, and thus saving battery AND data!
Click to expand...
Click to collapse
Turn Off NFC LINK
NFC is wireless, and wireless consumes battery. So turning off NFC will make the battery life slightly better.
NFC off when not needed
If you don't use NFC, go to settings > more > and turn it off. Android beam will grey out because it needs NFC, we don't need that either.
Explanation
NFC consumes a lot of battery if you keep your screen on most of the time. So by turning it off, we're improving battery life while the screen is on.
Click to expand...
Click to collapse
NO Task managers/Hibernators LINK
Yes... I know... Weird right? Don't be misguided, and understand what's happening inside android before doing anything.
Uninstall / Disable Task Managers / Killers / Hibernators
If you have any Task killer, or Task manager apps installed, either disable them if you can, or uninstall them.
Explanation
Android learns the way you use it. It knows which apps you like best and pre-opens them and puts them in RAM so that they get opened faster. Android keeps a log of how much time you've been spending on an app.
By using a Task killer, you're breaking this log, thus preventing Android from learning how you use it. The results?
Android will be loading every app you open from scratch.
Android will get slower.
Android will be wasting battery.
So uninstall those "battery killers" and let Android do the work instead.
Click to expand...
Click to collapse
Use ART LINK
Yes... ART... Not art, but ART... It's an Android 4.4 KitKat specific thing...
What is ART?
ART is a runtime replacement of the Dalvik runtime. It's the way the phone handles apps. Dalvik used to install apps fast, and conserve some space after the installation, but it compiles the app as soon as you open it, and runs it on a Virtual Machine (if it's not a native app).
ART pre-compiles the app on installation, which takes up a little bit (teeny tiny) more space, but makes apps faster to open, and over all performance better.
Switch to ART
Go to settings, developer options, and tap on select runtime, then use ART and reboot. It'll take some time to finish booting the first time it's running ART, but when it's done optimizing apps it'll be worth the wait.
Explanation
ART demands less CPU power to process things over time. It pre-compiles apps just once so that when you open an app, the CPU won't work as much to compile the app just-in-time (JIT). So, less CPU work, less battery consumption, more battery juice, and more performance!
Click to expand...
Click to collapse
Pick the correct charger LINK
I can't put direct links to chargers, so go HERE to the relevant page and see the chargers from there.
Is a fast charger better? or is it the slow one?
Use the Right Charger
A slow charger relaxes the battery, making it last longer when it fully charges. So, for a better battery life, use a slow charger at night when you're sleeping, or when you don't need to charge it quickly.
I recommend using this charger*: it's small, looks good, and it's slow with a 1A power output... Perfect for what we want.
If you're in a hurry, and your phone's battery has little juice left, you may want to charge it pretty quickly. In this situation, you won't care about the relaxation of the battery, so you should use a fast charger.
Something like this charger* should help a lot in achieving what you need. It also has a second slot it you have to charge another device. Use the A slot to charge faster with its 2.4A power.
You can also use a car charger if your phone's battery suddenly dies while you're not home.
This car charger* is perfect because it's fast enough to revive your phone and gives you enough juice to save the day.
So be wise and use the right charger for the right situation, so that you can achieve the best battery life possible.
Click to expand...
Click to collapse
Have a Spare Battery / Power Bank LINK
Sometimes, your battery will die, whatever you do...
Have a Spare Battery
In that case, if you have a phone with removable battery like any current Samsung device, equipping another spare battery could be very useful. If your battery is almost dead, just turn off the phone, open it up, and put your spare battery in. Voila, insta-charge
Have a Battery Bank
One great gadget to own with your phone is a backup power bank. This portable power bank (see link of the page HERE) is awesome because it's universal, and has a 13000 mAh capacity which can charge your phone about 5 times!
So if you don't want to scratch your head to do tweaks, you can use spare batteries or power banks to save the day
Click to expand...
Click to collapse
Know How to Use Android LINK
It's all about how you use it...
We see a lot of users that use Android the wrong way. We see people setting their screen timeout to 30 minutes because "whenever I want to chat, the screen keeps turning off". We also see a lot of users, even devs and power users, constantly pressing the back button to go home.
Know How to Use Android
If you have the screen problem where whenever you want to interact with the screen, it turns off, don't turn the screen timeout up. Turn it down, so that the screen turns off sooner, and saves battery.
And to go home, there's a button for that for a reason! Use it! Pressing back over and over again closes the app, and clears it from your device's RAM. When you re-open the app, it will open from scratch, so your phone will be slower, and will consume more battery since it's using more CPU power.
So use the home button, try to keep as much apps in RAM as possible, stop "clearing all" apps from RAM, and save battery!
Explanation
RAM, either full or empty, consumes the same amount of electricity, unlike RAM in computers.
The CPU copies data from storage to RAM and then runs the app. If the app is already in RAM, the CPU won't reopen it, it'll directly use it.
So making the RAM full of opened apps helps the CPU. The phone becomes faster, and the need of electricity running through the CPU to open the app is now nonexistent.
Also, Android keeps a log of how you use your phone and pre-opens the apps you need. If you constantly kill and clear out apps, you're breaking that log. So when clearing apps, you're not letting Android learn the way you use it. This results in a slower experience, and more battery drain.
Click to expand...
Click to collapse
Deactivate Auto-Rotate LINK
Auto Rotation isn't always needed... right?
Disable Auto Rotation
Go to Settings, Display, Rotation, and turn off Auto-rotate.
Explanation
Auto-rotate uses the phone's G-Sensor to see how you're holding the phone. By turning off Auto Rotation, you're using less hardware, thus using less battery
Click to expand...
Click to collapse
Turn on Airplane Mode LINK
When in low signal places, it's a hassle trying to find that precious signal...
Turn on Airplane Mode
Whenever you feel that the mobile signal is getting too low, turn on airplane mode if you don't need to call someone. Go to settings, More, and check Airplane mode to turn it on.
Explanation
The phone wants you to stay connected to a cell tower whenever possible. On low signal places, the phone will try harder to find a tower to connect to, and that drain a lot of battery. So turning on Airplane Mode makes your phone rest and not search for any tower, thus saving battery.
Click to expand...
Click to collapse
Use a Light Theme for LCD Screens LINK
AMOLED will consume less battery on the dark theme, LCD isn't affected by that...
Use a Light Theme for LCD
Using a lighter theme with more white in it helps your eyes, because you can lower the brightness even more and still see the screen just fine.
Explanation
The lower the brightness, the better the battery life. So a lighter theme is what we want, so we can reduce the brightness and still see everything.
Click to expand...
Click to collapse
Charge You Battery Correctly LINK
It's called a battery cycle, not a quarter of it
Charge it correctly
Don't let your battery go down to 0%, charge it while it's about 50%.
Explanation
No matter what charger you're using (either a slow or a fast one), the battery is greatly affected by the frequency of the charges. Our phones have different batteries than past devices had, so battery life cycles are a bit different as we used to think.
More info here: http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
Click to expand...
Click to collapse
Use Widgets with Manual Refresh LINK
Widgets update themselves a lot... but there's a solution for that.
Use Manual Refreshed Widgets
Check every widget you have, and see whether you can set it to refresh whenever you click on it, or do something to refresh it.
Explanation
Auto-refreshing widgets make the phone wake up a lot and do some processing which can use the battery. By making them manual, you are controlling the frequency of the refreshes, and you are forbidding the widgets to refresh while the phone is asleep.
Click to expand...
Click to collapse
Do Not Rely On Battery Discharge Rate LINK
Look! Left it overnight and only lost 2%! This is about 0.25%/hr!
WRONG!
The battery acts like a capacitor (not exactly like it, but very similar to it), so whenever its charge is changed, the discharge / charge rate will change with it.
So, if you leave your phone overnight at 100%, you'll get a rate of x%/hr. If you leave it at 50%, you'll get a rate of y%/hr where x and y are very different.
It's only a matter of experimenting where is the sweet spot of battery percentage that you should have when keeping it overnight.
Click to expand...
Click to collapse
Do Not Wipe Battery Stats LINK
Some people do that a lot... but why?
What's Battery Stats?
Battery stats is basically a file in Android that stores the battery history. The longer the battery stats is, the more accurate the battery percentage reading is.
Why not wipe it?
Wiping battery stats is like tinkering with the fuel gauge in your car: you won't get more gas if you glue the gauge's needle at Full.
The problem is that wiping battery stats will give you wrong readings. Users thought that wiping it will make the battery "hold the charge better". This is wrong because doing so will break Android's battery reading, and that's why it will show you a higher percentage for a longer time.
Click to expand...
Click to collapse
Do Not Buy Cheap Batteries LINK
Wow! A 2500 mAh battery for my Galaxy Ace! And the same size of the original!
The problem here is that some users order a battery with a higher mAh value for a very low price. They get their 2500 mAh battery and put it in the phone. The device would last a lot longer now before its battery dies.
Now let's not forget why they ordered such a battery. It's most probably because their old battery is just exhausted and isn't lasting much. So no matter what battery they get, they'll notice a big difference in battery life.
Usually these cheap batteries are advertised as 2500 mAh, while they're actually a lot less.
So if you want to replace your old battery, try getting an original one.
Click to expand...
Click to collapse
Thanks to all of you who gave me more ideas on how to achieve better battery life
Medium
Undervolt LINK
The CPU is the biggest battery consumer, and it needs voltage from the battery. If we decrease that, we'll gain some battery life.
Undervolt your CPU
Assuming you have TricksterMOD, launch it and go to the specific window. Scroll down to CPU Voltages, then click Profile, and save the Profile as Default.
Now hit the minus/plus button right above where it now says "Default". When the window pops up, hit the minus button JUST ONCE. Every time you hit the minus button you undervolt by 12500 mV, and we'll call that a "step"; so undervolt by one step.
Hit the check mark button to apply.
Explanation
Every time you undervolt by a step, the CPU will demand less and less from the battery to run. This improves the battery by just a bit. It's mainly to avoid temperature throttling, but it also improves battery.
Click to expand...
Click to collapse
Increasing SD card Read-Ahead Value LINK
Whether or not you have an SD card, this helps...
Increase readahead Value
Go to TricksterMOD, swipe to general, and click Read Ahead Buffer Size under the I/O Control section. Set it to 3072 (Value is in KB, so it's 3MB)
Explanation
The bigger the read-ahead buffer is, the better the SDcard can predict what command would come next. It prepares itself to do a command before it's even issued. This gives you better performance, and a potential increase of battery life because generating 3MB is nothing compared to the performance benefit.
Check out this Spreadsheet from broodplank.net for more info on the benefits of read-ahead.
Click to expand...
Click to collapse
Advanced
Underclocking LINK
One major battery drainer is the CPU, so if you don't really use the phone much, and you don't care about games, you should probably consider underclocking it to get that precious juice back.
Requirements
You must be rooted and have a kernel that supports overclocking. You may find out how to root by doing a little online research because every device has its own rooting method (for example, I wrote a fully detailed guide on how to root your Nexus 4).
CPU Underclocking
Warning: Underclocking the CPU too much could result in an SOD (Sleep Of Death) which makes the phone sleep and not turn on without pulling the battery.
First of all, we need a controller, or a daemon to control the CPU's clock speeds. So go ahead and download TricksterMOD from the Play store, we'll be using that to underclock the CPU.
Now enter it and grant su permissions, swipe from left to right and select the general menu, scroll down to CPU frequency control and tick frequency lock, then click on the number next to the min button, and choose the smallest number in the list.
Then, click on the number next to the max button and choose something a little less than you CPU's stock frequency... on a Nexus 4, the stock frequency is 1.5 GHz (or 1512000) so I picked 1.2 GHz (or 1242000).
Now swipe down to CPU Governor Control and click the button next to the Governor Button, and select conservative. If you don't have conservative in the list, pick ondemand. Now hit the check mark button at the top of the app to apply the settings.
Explanation
We are lowering the CPU's clock speed which makes it a little slower, but consumes much less battery. We are also changing the way the frequencies are handled: with the conservative governor, the CPU will prefer staying at lower frequencies.
MP Decision
We're not done yet, swipe again from left to right and click specific, then look for MP Decision. If it's there, turn it off, if not then it's probably already off. Hit the check mark to apply the settings.
Explanation
MP Decision sees how you use the phone, and clocks the CPU relatively (if you're just chatting, it'll underclock. If you're playing games, it'll clock it to normal). We don't want that since we want to force underclock the CPU, so we turn this off to prevent it from playing with our settings.
GPU Underclocking
On that same screen, scroll down to GPU max frequency, and lower that just one step below the default clockspeed (400 MHz being the stock frequency on the Nexus 4, so let's set that to 320 MHz). Don't forget to hit the check mark button to apply the changes you've made.
Explanation
The GPU draws almost everything you see on the screen, so it's always active. Lowering its frequency has a big positive impact on battery life, which is what we want.
So that's basically it for the underclocking part, have fun playing with different governors and frequencies to get that precious Performance/Battery life point.
Click to expand...
Click to collapse
Detecting Wakelocks VS Installing Battery Saving Apps LINK
The most cliche thing to do when your battery doesn't last a day is install a battery saver app. However, I don't do it myself. I prefer detecting wakelocks in order to reduce battery consumption.
What is a Wakelock?
A wakelock is the moment where you turn the screen off, but the CPU stays awake doing something. It is the phenomenon when the CPU isn't asleep when the screen is off and it shouldn't be doing anything. Wakelocks usually drain battery because the CPU is kept awake and working while it should be resting.
Detecting a Wakelock
To detect a wakelock, install Wakelock Detector. Charge your phone, then unplug it and leave it with the screen turned off for about an hour or two. Then open the app and check the list of wakelocks.
The bigger the red bar on the top, the longer the wakelocks are. The top app is the number 1 culprit, and should be removed. If the top app is Google Services, it's probably the Location issue. If it's another app, check if there are syncing issues, and try making the sync interval a little longer, or turn off its notifications.
Explanation
We're trying to minimize the wakelocks caused by some apps to prevent the phone from being awakened. By doing that, we let the phone go to deep sleep faster, and longer. So, more battery life for us!
Another way to detect wakelocks (a little more pro)
Download and install betterbatterystats. It's basically a more pro version of Wakelock Detector. It also needs root for some functionality to work, but it gives you a more in-depth info about the wakelocks, CPU states, and network usage.
msm_hsic_host is the 3G... not to worry about that
So that's it for the wakelocks! Keep testing with different app configurations to achieve the best deep sleep mode for your phone, and get the most out of your battery.
Click to expand...
Click to collapse
Undervolt Even More! LINK
Undervolting once is fine. Undervolting twice is better. But undervolting a million times isn't good... So let's undervolt as much as we can.
Download Stability Test, run it, and hit the Scaling Stability Test button (root will be needed). Wait about 8 to 10 minutes while it's doing the process. If it doesn't crash, stop it by pressing the back button. Your phone is stable, you can undervolt even more.
So go to TricksterMOD and undervolt another step (remember to save a profile indicating how many steps you've undervolted). Then test again using stability test....
Keep doing that until something bad happens like the app crashing, or Android itself rebooting. When it does crash, "overvolt" back one step. At this point your CPU is running good while on the lowest voltage.
Explanation
Every time we undervolt by a step, we test the stability of the CPU so it doesn't crash. When it crashes, we overvolt back to the last voltage set that was stable, so that we get the lowest voltages our CPU can handle without going crazy, and thus, getting that slight push of the battery life.
Click to expand...
Click to collapse
Tweak Kernel Governors / Schedulers / KSM LINK
These tweaks only apply to certain kernels, since not all kernels allow you to modify these settings.
Governor, Schedulers, and KSM Tweaks
If you have a kernel tweaking app like tricksterMOD or faux clock, you are 90% free of all trouble of tweaking kernel governors.
First, find a kernel that has a specific and optimized governor. Turn off MPDecision if the kernel has an alternative (anything like "Intelli-Plug" will do). Now let's tweak!
We cannot cover the options for every kernel and every governor in the universe since each one has its own options and settings.
I am currently using faux kernel on my device. This kernel has intellidemand as the optimized governor. The aim of the kernel dev was to replace MPDecision with something better.
The links below provide some info about that kernel. These settings include tweaking the governor, schedulers and the KSM:
http://forum.xda-developers.com/nex...ernel-ver-031-mako-kk-4-4-uv-otg-cpu-t2008222 (the second post shows the recommended settings for faux kernel)
https://plus.google.com/+PaulReioux/posts/WFcjPqMEZgJ
Have fun tweaking!
Click to expand...
Click to collapse
Great guide, and great usage of your 2000th post! I've featured this on the XDA Portal
Great post!
I like using Screebl to prevent screen turning off and on unnecessarily. And use One Power Guard by onexuan. It really lessens the drain over night. I use Condi to automatically disable mobile data when connected to wifi at home as well.
very great guide! Just note something for people with HTC Sense. If you use the weather clock with current sensor, setting the location to GPS only will disable the location service (even if it's seems on, the widget will say it's off since it doesn't want to use the GPS). Because of that, you loose that feature if you do that.
Um, there's a problem with this guide. Instead of underclocking, overclock the processor. The faster the processor, the faster it gets jobs done, the faster it can go to sleep. These reduces long wakelocks and in general improves battery life.
I used to think the same way, but thinking that way is false.
What about Greenify?
idk about you, but greenify is useful.
EDIT: And for the fast charge/slow charge, do you have any proof?
Beatsleigher said:
Um, there's a problem with this guide. Instead of underclocking, overclock the processor. The faster the processor, the faster it gets jobs done, the faster it can go to sleep. These reduces long wakelocks and in general battery life.
I used to think the same way, but thinking that way is false.
Click to expand...
Click to collapse
So you're saying that it's better not to underclock and just use default values?
Hmm kind of skeptical about the home button thing. I usually back out of an app to prevent it from running in the background and consuming battery. Can anyone comment on this?
fredrick1213 said:
Hmm kind of skeptical about the home button thing. I usually back out of an app to prevent it from running in the background and consuming battery. Can anyone comment on this?
Click to expand...
Click to collapse
the fact that the app opens from scratch again makes the CPU work more and thus using more battery
if it's kept in the RAM, it'll stay paused, it won't use the CPU and makes your phone faster sincr it resumes the app, thus making your battery usage less.
Sent from my Nexus 4
Riro Zizo said:
the fact that the app opens from scratch again makes the CPU work more and thus using more battery
if it's kept in the RAM, it'll stay paused, it won't use the CPU and makes your phone faster sincr it resumes the app, thus making your battery usage less.
Sent from my Nexus 4
Click to expand...
Click to collapse
So if using Greenify, which automatically hibernates apps and greatly increases my battery life btw, will it make pressing the home button useless?
Beatsleigher said:
Um, there's a problem with this guide. Instead of underclocking, overclock the processor. The faster the processor, the faster it gets jobs done, the faster it can go to sleep. These reduces long wakelocks and in general improves battery life.
I used to think the same way, but thinking that way is false.
Click to expand...
Click to collapse
you have a point if the user is a heavy user. But for normal users, the CPU won't be doing much; so underclocking it won't affect time, but it greatly improves battery life.
steakhutzeee said:
What about Greenify?
Click to expand...
Click to collapse
pham818 said:
idk about you, but greenify is useful.
EDIT: And for the fast charge/slow charge, do you have any proof?
Click to expand...
Click to collapse
greenify freezes the app if you're not using it, so the phone will start it from scratch... it's a good app if you use it on apps that you barely use, but don't greenify the apps that you use frequently, it will badly affect your battery life.
as for the fast/slow charge, I have no proof since this is what i usually have as a personal experience, but i find out that my battery lasts longer when i charge it slower...
Sent from my Nexus 4
fredrick1213 said:
So if using Greenify, which automatically hibernates apps and greatly increases my battery life btw, will it make pressing the home button useless?
Click to expand...
Click to collapse
if for example you greenify whatsapp, and you press home while you were inside whatsapp... yes... it's useless...
but try building the habit of pressing it, the back button kills the apps, we don't want that
Sent from my Nexus 4
i always clear all my apps before i put the phone to sleep.
i'll try to not clear apps anymore, and see how that works.
thanks
pham818 said:
i always clear all my apps before i put the phone to sleep.
i'll try to not clear apps anymore, and see how that works.
thanks
Click to expand...
Click to collapse
ah, you see, here's where it does make the good difference, keep doing that because you won't use the apps for about 8 hours, so it's better if they're closed.
i just posted this because i see people constantly closong the apps that they always use, but if you're not using the apps much (like when sleeping) it's better to kill them
Sent from my Nexus 4
Great post, love all of the tips. Keep up the good work. I hope to see 2000 more posts to come.
aguilar8788 said:
Great post, love all of the tips. Keep up the good work. I hope to see 2000 more posts to come.
Click to expand...
Click to collapse
oh you will, trust me
every 1k posts I'll make something very special.
my 1000th post was releasing 2 very annoying apps that the portal newswriters denied them for being too annoying
Sent from my Nexus 4
First of all thanks! battery life is a never ending issue in any smartphone using the no animations, less widgets and device only location... hope it'll prove useful
I got a question... I use go power master which has a "screen off optimization" and i noticed that my battery barely drains itself while the phone is idle... it's not what you count as a task killer right?