Kernel Wakelocks and You - Samsung Galaxy Nexus

I am opening this thread to talk about kernel Wakelocks. It's a branch of this discussion in the Franco's Kernel thread.
Hopefully we can research what a lot of these wakelocks are and find ways of minimizing them in order to increase the efficiency (and reduce power consumption) on our devices.
What is a Wakelock?
A wakelock is a software method for applications to control the power state of your device. The purpose of a wakelock is in its name, to lock your device in an awake state keeping the CPU running and preventing it from entering Deep Sleep (Think of a music app or video player). A wakelock can also cause your device to turn on (think syncs or notifications).
A poorly coded application can acquire a wakelock and not release it, causing your device to remain on.
A partial wakelock means the CPU is ON, but the screen is OFF.
A full wakelock means the CPU and Screen are ON. (we don't really need to worry about this)
Sources:
http://developer.android.com/reference/android/os/PowerManager.html
http://developer.android.com/reference/android/os/PowerManager.WakeLock.html
How to help:
Install BetterBatteryStats which will show you what the wakelocks are on your device.
If you don't know what a specific wakelock is doing. Google it. Don't just google the wakelock name verbatim. Use part of it. They are usually logically named. But most often they are shortened or turned into acronyms (there are so many in IT) which makes them cyptic.
Kernel wakelocks are low level/hardware wakelocks from the kernel. We can only reduce these by modifying the kernel or reducing the usage of a certain feature of the kernel. By researching these we can improve the battery consumption and performance of the Kernel.
Partial wakelocks are wakelocks from apps. These can be reduced by uninstalling or disabling features in software. We can talk about those here too though it shouldn't be the focus as the answer will be "Uninstall/Disable feature X and talk to the app author". Preferably we should talk about partial wakelocks from Google services like maps and latitude.
psycho2097 said:
I think it would benefit a lot of noobs here,me included if someone started a thread compiling a list of the known wakelocks and how to avoid or get rid of them. For the life of me I can't figure out mipi_link, alarm_rtc,musb_autosuspend and I have no idea how to remove wlan_rx and vbus_tuna_otg. I would highly appreciate some help on these.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
wlan_rx is wireless LAN receive. Turn off wifi.
musb_autosuspend_wake_lock im pretty sure is a kernel powermanagement method to turn off power to the micro usb port and have any attached devices be placed in a power suspend mode. Probably most useful for the USB OTG support on this port.
alarm_rtc is Real-time clock alarm. It isn't the alarm to wake you up, tho it could be used by that. It's more like a scheduler on your phone, to make sure it is not sleeping when an application needs it. "AlarmManager is a universal process that MANY apps use to update time, push you notifications, etc. In most cases, it is a necessity; in other cases, you should really check it out and disable/uninstall things that have invoked it too much."
Sources:
http://developer.android.com/reference/android/app/AlarmManager.html
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AlarmManager
vbus_tuna_otg sounds like virtual bus for USB OTG devices. According to Franco this wakelock occurs when your "device [is] attached to the USB." From this I would take it to mean that if your GNex is attached to a computer via USB you will see this wakelock.
mipi_link stands for Mobile Industry Processor Interface but I am unsure of what this does specifically. From googling it it seems highly related to the cameras. Maybe its how we can see a live feed of the camera from the device.
Sources:
http://en.wikipedia.org/wiki/Mobile_Industry_Processor_Interface
PowerManagerService is the kernel wakelock that is a container for all of the partial wakelocks on the device.
Sources:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/PowerManagerService
AudioOut_1 AudioOut is used to play notification and system sounds. Putting your device on silent will make this go away.
Sources:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AudioOut_1
Revisions:
2012.01.24 - Added "what is a wakelock" section
2012.01.24 - Initial Post

Awesome. theres also a wiki in the betterbatterystats website that explains some of the more known wakelocks, nonetheless, these will be very helpful to a new user.
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/_pages
Also, the betterbatterystats thread at XDA has some intro level info.
edit: I just realised you already posted individual links.

These wake locks are beginning to piss me off really. Pardon my frustration. Check the screen shots of better battery stats. I don't have touch sounds checked or nfc enabled. I did use media player to play music in the train. I have these wake locks all over the place and haven't found any solution yet. Anyone any help much appreciated.this is all with stock rooted running Jame bond kernel. Stock kernel was better. Using default UV settings and some profiles.
{
"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"
}
Sent from my Galaxy Nexus using XDA App

vick1377 said:
These wake locks are beginning to piss me off really. Pardon my frustration. Check the screen shots of better battery stats. I don't have touch sounds checked or nfc enabled. I did use media player to play music in the train. I have these wake locks all over the place and haven't found any solution yet. Anyone any help much appreciated.this is all with stock rooted running Jame bond kernel. Stock kernel was better. Using default UV settings and some profiles.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Wakelocks are a normal part of the system. You can't get rid of them, but you can minimize the unnecessary ones for sure.
Yeah its unfortunate that the NFC wakelock occurs even with it disabled. Thankfully its very minimal.
The Audioout_1 wakelock im sure is all audio events. Like notifications and perhaps even music playing. Nothing you can do here.
Modem_USB im guessing is your USB Tethering for data? If you turned that off you might get rid of them as they don't even show up on mine.
Basically I would just be focusing on wakelocks that are proportionately higher than the others. If most wakelocks are 2-3 minutes after a full days use but you see a one or more holding wakelocks that are in the double digits, check those out.

Thank you for a quick response. Where do I turn off USB tethering which I don't have? As you see some of partial locks are very high. Also once you stop using per say audio player or mp3 player shouldn't that audio out wake lock go down or disappear. Off topic question when I flashed Jame bond kernel did I have to wipe cache and dalvik cache?
Are there some apps which can tell which apps are bringing these locks? I can post alogcat logs later from PC as I can't attach from phone as it only allows screenshots from gallery
Sent from my Galaxy Nexus using XDA App

vick1377 said:
Thank you for a quick response. Where do I turn off USB tethering which I don't have? As you see some of partial locks are very high. Also once you stop using per say audio player or mp3 player shouldn't that audio out wake lock go down or disappear. Off topic question when I flashed Jame bond kernel did I have to wipe cache and dalvik cache?
Are there some apps which can tell which apps are bringing these locks? I can post alogcat logs later from PC as I can't attach from phone as it only allows screenshots from gallery
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to decide how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.

You can dramatically reduce the AudioOut wakelock by disabling the following in SETTINGS > SOUNDS:
Touch sounds, dial pad touch tones and screen lock sound.
Disabling these three options eliminated my problem completely.
As for myself:
MIPI_LINK continues to be the #1 destroyer of my battery life, regardless of what ROM or kernel I flash. Even just flashing the ROM, wiping the battery stats and then leaving the phone on my desk untouched for 12+ hours can cut 10-20% off my battery life.
It's ridiculous. There is absolutely something wrong with the battery drain on the Galaxy Nexus, but some people have it, and others don't.

Wake locks
sishgupta said:
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to device how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
Click to expand...
Click to collapse
Opening this thread is the best thing. Can't appreciate enough. So, I always have the phone in vibrate mode but turned to silent mode and checked the better battery stats, the audioout_1 still there but I think it's showing still the same as 25 minutes or so and but % has gone down to 6-7% from 10% and above. Regardless the time is not increasing even though it the wake lock is still there. I'm wondering if it doesn't refresh until after fully charge/unplugged. I checked both kernel and partial wake locks with option since unplugged and since charged. What I will do next is drain the battery fully few times too since it's an extended battery I got last week?
One thing for sure I was getting better battery life with stock rooted rom and stock kernel with some setcpu profiles. I made all the nandroid, titanium backups, what I will do next is flash the stock kernel and monitor the results and report back here for comparison. After then I will be super tempted to flash 4.0.3 franco's ROM and nightly kernel . I'm debating to wait for OTA 4.0.3 or custom ROM. I'm honestly not at all happy with jame bond kernel in terms of battery life. Can you also suggest some good radios to flash? Part of the problem could be the phone toggling between 3g and 4g connection. Most places I do get consistently but sometimes it switches back to 3g. Flashing new radio might improve the signal strength to keep it consistent on 4g so that no toggling required.
Absolutely we are doing this research together no doubt and you are helping a tons
---------- Post added at 01:48 PM ---------- Previous post was at 01:24 PM ----------
Regarding USB tethering, did you mean plugged via outlet or via data cable connecting to computer? When connected via charger cable (not data/charger cable that came with it) to AC outlet, I see usb tethering disable and grayed out. I think you probably meant via data cable connecting to USB port of computer. I will do that tonight once I get home and check to see if these usb related wake locks go away or reduce.

sishgupta said:
Wakelocks are a normal part of the system. You can't get rid of them, but you can minimize the unnecessary ones for sure.
Yeah its unfortunate that the NFC wakelock occurs even with it disabled. Thankfully its very minimal.
The Audioout_1 wakelock im sure is all audio events. Like notifications and perhaps even music playing. Nothing you can do here.
Modem_USB im guessing is your USB Tethering for data? If you turned that off you might get rid of them as they don't even show up on mine.
Basically I would just be focusing on wakelocks that are proportionately higher than the others. If most wakelocks are 2-3 minutes after a full days use but you see a one or more holding wakelocks that are in the double digits, check those out.
Click to expand...
Click to collapse
You are right in the audio wakelock, it happens only when you play something. Its not bad, its not something you should be trying to reduce.
Its not faulty, it happens only when anything is playd, screen lock sounds will significantly increase this, because that does cause a faulty wakelock.
sishgupta said:
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to device how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
Click to expand...
Click to collapse
again, hes right here, if you listen to music continuously for a hour or so, and use only the volume key long-press to skip tracks, the gnex uses an extremely low power DAC to play music, takes only around 60-70 ma. You could play for ages without losing significant battery.
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
Thracks said:
You can dramatically reduce the AudioOut wakelock by disabling the following in SETTINGS > SOUNDS:
Touch sounds, dial pad touch tones and screen lock sound.
Disabling these three options eliminated my problem completely.
As for myself:
MIPI_LINK continues to be the #1 destroyer of my battery life, regardless of what ROM or kernel I flash. Even just flashing the ROM, wiping the battery stats and then leaving the phone on my desk untouched for 12+ hours can cut 10-20% off my battery life.
It's ridiculous. There is absolutely something wrong with the battery drain on the Galaxy Nexus, but some people have it, and others don't.
Click to expand...
Click to collapse
There is nothing wrong. The thing wrong here is that people have misconceptions. DONT CLEAR BATT STATS. It has been confirmed to not change anything. That was old battery tech. After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use. I may be wrong, but I have never experienced any issues by this method. I regularly get 1% per 1-2 hrs depending on wifi/data on standby. Even 1% per 4hrs in wifi &data off.
vick1377 said:
Opening this thread is the best thing. Can't appreciate enough. So, I always have the phone in vibrate mode but turned to silent mode and checked the better battery stats, the audioout_1 still there but I think it's showing still the same as 25 minutes or so and but % has gone down to 6-7% from 10% and above. Regardless the time is not increasing even though it the wake lock is still there. I'm wondering if it doesn't refresh until after fully charge/unplugged. I checked both kernel and partial wake locks with option since unplugged and since charged. What I will do next is drain the battery fully few times too since it's an extended battery I got last week?
One thing for sure I was getting better battery life with stock rooted rom and stock kernel with some setcpu profiles. I made all the nandroid, titanium backups, what I will do next is flash the stock kernel and monitor the results and report back here for comparison. After then I will be super tempted to flash 4.0.3 franco's ROM and nightly kernel . I'm debating to wait for OTA 4.0.3 or custom ROM. I'm honestly not at all happy with jame bond kernel in terms of battery life. Can you also suggest some good radios to flash? Part of the problem could be the phone toggling between 3g and 4g connection. Most places I do get consistently but sometimes it switches back to 3g. Flashing new radio might improve the signal strength to keep it consistent on 4g so that no toggling required.
Absolutely we are doing this research together no doubt and you are helping a tons
Click to expand...
Click to collapse
You are correct in assuming it doesnt reset till fully cahrged. When fully charged, the <since charged> counter resets, however, any time you plug it in, the <since unplugged> counter resets.
I dont know whether u hav LTE/GSM, but kk6 does wonders for me in GSM. For example yest i was in a factory from 8am-3pm, with no signal time showing 70%. Absolutely no signal inside factory. I mean , like my whole battry bar is red, almost. My Captivate would be dead by 3pm. The nexus still had 72% juice left when i reached home at 3:30pm, that too with 40 mins screen on.
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.

psycho2097 said:
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
Click to expand...
Click to collapse
I'm just repeating what Franco said. He was very adamant about the kernel having nothing to do with the caches.
psycho2097 said:
DONT CLEAR BATT STATS. It has been confirmed to not change anything.
Click to expand...
Click to collapse
Correct. here is more information regarding this
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
psycho2097 said:
After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use.
Click to expand...
Click to collapse
IMHO there is no point to this. What would this achieve?
psycho2097 said:
kk6 does wonders for me in GSM.
Click to expand...
Click to collapse
XXKL1 is out. Check it out, its very good. Link in my sig.
psycho2097 said:
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.
Click to expand...
Click to collapse
Quoted for truth

psycho2097 said:
You are right in the audio wakelock, it happens only when you play something. Its not bad, its not something you should be trying to reduce.
Its not faulty, it happens only when anything is playd, screen lock sounds will significantly increase this, because that does cause a faulty wakelock.
again, hes right here, if you listen to music continuously for a hour or so, and use only the volume key long-press to skip tracks, the gnex uses an extremely low power DAC to play music, takes only around 60-70 ma. You could play for ages without losing significant battery.
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
There is nothing wrong. The thing wrong here is that people have misconceptions. DONT CLEAR BATT STATS. It has been confirmed to not change anything. That was old battery tech. After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use. I may be wrong, but I have never experienced any issues by this method. I regularly get 1% per 1-2 hrs depending on wifi/data on standby. Even 1% per 4hrs in wifi &data off.
You are correct in assuming it doesnt reset till fully cahrged. When fully charged, the <since charged> counter resets, however, any time you plug it in, the <since unplugged> counter resets.
I dont know whether u hav LTE/GSM, but kk6 does wonders for me in GSM. For example yest i was in a factory from 8am-3pm, with no signal time showing 70%. Absolutely no signal inside factory. I mean , like my whole battry bar is red, almost. My Captivate would be dead by 3pm. The nexus still had 72% juice left when i reached home at 3:30pm, that too with 40 mins screen on.
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.
Click to expand...
Click to collapse
You guys are amazing. Now I'm seeing some life and some hope . One thing I have researched around which is an obvious thing lol that GSM users are getting much better battery life than LTE ones. Obviously I'm on Verizon LTE after I dumped AT&T's garbage 3g and their hspa (whatever they call it). Their LTE is only in limited right now and I'm in Tri-State area. Verizon blows every one away when it comes to speeds . And Nexus was coming to verizon and I was dying to move to Verizon after testing many of their 4g LTE phones at many different locations and stores which just simply blows my wifi speeds away at home .
By kk6 I'm assuming you mean the baseband radio version you flashed which boosted your signal strength. I haven't flashed roms yet on this, will probably for fun. Are all these radios compatible with stock rom or have to flash 4.0.3 first. OH definitely I love Android to death now. I have been using Apple the crap for few years and missing out the freedom to do anything and everything on the phones. I will never ever never ever go back to Apple and their outdated technology, they come with these new features, technology which has been there for years. What pissed me off the most was iphone 4s what a joke with no 4g and same screen when there are gorgeous looking android devices blow their Iphone 5, 6, 7 probably as they live in stone age . OK let me not divert attention to real issue

I want to correct a misconception. I am not suggesting anyone clear battery stats to improve battery life. I read Google+ like the rest of you. I clear the battery stats so I have a 100% clean battery log to start from before I do any testing.

I do the same just for testing purposes though.

Thracks said:
I want to correct a misconception. I am not suggesting anyone clear battery stats to improve battery life. I read Google+ like the rest of you. I clear the battery stats so I have a 100% clean battery log to start from before I do any testing.
Click to expand...
Click to collapse
Yes the thing which does get jacked up sometimes is the charging 'meter' If you so will.so the drop times for battery levels might not be uniform anymore.say it drops like crazy around 60 and very slowly around 10. As I mentioned in my comment earlier that is why I do one or two charge cycles,not to improve battery but to set the meter straight. In the Google+ post it was said that it doesn't improve battery, I agree completely,as I have never found evidence to the contrary. But setting the scale right? I think it does. Anyways without further proof its futile to discuss this point. Let's get back to the point of discussing wakelocks!
Sent from my Galaxy Nexus

vick1377 said:
You guys are amazing. Now I'm seeing some life and some hope . One thing I have researched around which is an obvious thing lol that GSM users are getting much better battery life than LTE ones. Obviously I'm on Verizon LTE after I dumped AT&T's garbage 3g and their hspa (whatever they call it). Their LTE is only in limited right now and I'm in Tri-State area. Verizon blows every one away when it comes to speeds . And Nexus was coming to verizon and I was dying to move to Verizon after testing many of their 4g LTE phones at many different locations and stores which just simply blows my wifi speeds away at home .
Click to expand...
Click to collapse
Yes I so understand the speeds,I have seen my colleagues bionic. However you must understand that the phone Is maintaining 2 connections at once,because lte is a whole different chip. Its bound to take more battery. Beyond minimizing your wakelocks,using an optimized kernel and staying in a lte area or actively managing lte, you can't do much.
By kk6 I'm assuming you mean the baseband radio version you flashed which boosted your signal strength. I haven't flashed roms yet on this, will probably for fun. Are all these radios compatible with stock rom or have to flash 4.0.3 first. OH definitely I love Android to death now. I have been using Apple the crap for few years and missing out the freedom to do anything and everything on the phones. I will never ever never ever go back to Apple and their outdated technology, they come with these new features, technology which has been there for years. What pissed me off the most was iphone 4s what a joke with no 4g and same screen when there are gorgeous looking android devices blow their Iphone 5, 6, 7 probably as they live in stone age . OK let me not divert attention to real issue
Click to expand...
Click to collapse
Yes its a radio. I do not think its Verizon compatible. Think its just for GSM,but I could be wrong. And you don't want to start a discussion about apple right now,trust me.as you can see from my sig, I am a fan boy. A PUREBRED ANDROID fanatic. I see anything small or bricklike, name starting with an 'i' ,I go "HULK SMASH!"
Sent from my Galaxy Nexus

psycho2097 said:
Yes its a radio. I do not think its Verizon compatible. Think its just for GSM,but I could be wrong.
Click to expand...
Click to collapse
You are correct. The basebands starting with XX or UG (or some other region code) are GSM only.
Verizon basebands for the GNex start with a I515 prefix, such as I515.EK04 or I515.EK06. Also IIRC there are two radios for Verizon phones, a CDMA one and an LTE one.

Still couldn't get rid of modem_usb locks and power management locks. I connected via usb data cable to my laptop and usb tethering got enabled (non grayed out) but it was never checked anyways in the first place so I left the way it is everything unchecked. The moment you take the phone of your charger, these locks go up and around 3-15 minutes consuming each about 2-8% or more of cpu. Yesterday it lost around 12-15% in less than an hour. I will test it out today fully and see what I get.
This is what I got in terms of battery consumption yesterday from a single charge and let it drain fully and automatically shut down the phone. And this is on Verizon LTE which obviously does consume more juice especially when used . I had a screen time of about few 2 minutes shy of 3 hours, battery lasted for 11 hours and some 40 minutes, Android OS - 16%, keep awake about 5 hours 15 minutes. I have had gone about 12-16 hours on stock Kernel but little less screen time of about 2 hours or so.
I will test it today before flashing the stock kernel and test that out completely again too.

@Thracks and @psycho2097
The battery stats are cleared every time you charge your phone and then unplug it as stated clearly in the google+ post. There's no need to manually clear it ever.

Well I managed to sort out my Wakelock issues with Autorun Manager. I went into the "Google Services Framework" and switched off my gtalk services. Also switched off a few others.
You can also turn off widgets that you don't use.
PS. Don't blame me if it crashes your phone.
I switched off a number of things and its running fine for me still. Now only have two major Wakelocks, "RILJ" and "MAIL_SERVICE".

jhericurls said:
Well I managed to sort out my Wakelock issues with Autorun Manager. I want into the "Google Services Framework" and switched off my gtalk services. Also switched off a few others.
You can also turn off widgets that you don't use.
PS. Don't blame me if it crashes your phone.
I switched off a number of things and its running fine for me still. Now only have two major Wakelocks, "RILJ" and "MAIL_SERVICE".
Click to expand...
Click to collapse
Were you able to get rid of modem_usb locks and power management locks? If so, how. Downloading autorun manager as I type this message

Related

If you get great battery life, please share your tips here!

I'm currently on the CM7 ROM, I have juice defender and done all the minor tweaks as far as disabling wireless network location, turn off the wifi and GPS, and an app killer. I still only manage at max 9 hours before my phone tells me to recharge.
If your getting great battery life, help me and others by sharing your tips here.
Sent from my SPH-D700 using XDA App
Best tip is to stay on wifi as much as possible. I got 3 days on wifi and about 4 hours use.
Sent from my SPH-D700 using XDA App
I turn data off when im not using the internet and when I'm just listening to musc I just put my phone in airplane mode
Yeah, I need some help too. I get about a day and a half with no use at all, and about 10 hours with minimal use. 4 hours with real world usage... I can't deal with this. Could it be the battery? It performs like a 1 year old, used, refurb battery came with a stock phone!
Sent from my Samsung Epic 4G with Tapatalk
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
kennyglass123 said:
Best tip is to stay on wifi as much as possible. I got 3 days on wifi and about 4 hours use.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
masaidjet said:
I turn data off when im not using the internet and when I'm just listening to musc I just put my phone in airplane mode
Click to expand...
Click to collapse
liquiddetox said:
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
Click to expand...
Click to collapse
all of these... biggest one is to turn off data when the phone is in your pocket. use wifi when u can, avoid using 4g unless plugged in, configure the battery in recovery (i've actually notice that this helps less than anything else for me), and finally: get an extended battery. it's worth the extra hours u can squeeze out of it. don't expect more than 4-5 hours screen on time with any rom/kernel/modem combo with a stock battery.
liquiddetox said:
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
Click to expand...
Click to collapse
Yeah I also did that wipe battery stats at recovery.
I just thought maybe my expectations were too high, although it seems as if my battery drains drop pretty fast.
I would say about -10% battery drop every hour, just checking the time and send/receive text messages. Occasionally I surf the Web on the phone when on break at work. Other than that the phone is in my pocket, and after my 9 hour workday my phone demands the charger.
This is with the stock battery, so I guess this is normal unless I'm using the extended battery?
...
Sent from I guess my SPH-D700 using XDA App
u could also run a kernel that allows for over (under) clocking/undervolting. that helps some, too
get the duricell portable battery extender, add milliamps to your arsinal in one way or another with extended batterys or whatever, if you call sprint and complain loudly and dickly they will rebate you the cost that u spend on a new battery or batt extender whatever... that being said all the above options work great, u can also use night mode on chainfire 3d to save battery, or perhaps half your pixel rate, or perhapes turn off some colors (havent seen an app to do this yet) and reset your battery memory in cwm, kill ur batt, charg while off, then cycle again like that. (theres an app for that) if your not rooted, root your phone. if you dont want to root your phone, cycle ur battery the old fasion way or pop it into a rooted phone and do it.
I used to get really poor battery life (due to my phone not sleeping as evidenced by Spare Parts app). I rooted, used Titanium Backup to freeze various apps, and got an Zboost antenna booster for the office and called Sprint who sent me an Airave for the house. I wiped battery stats and cleared my Dalvic cache and the thing the finally got me right was finding out the Amazon MP3 app was still logged in though not running. Once I made sure I was logged out of that and Lattitude (Google Map feature) and Facebook, I haven't had any problem with a sleeping phone. Stock Froyo, standard battery, but rooted. When they say a bad app keeps your phone from sleeping I think they mean an app that requires log in...although this does not seem to be a problem if you stay logged in from a browser, only from an app!
Breezy357 said:
I'm currently on the CM7 ROM, I have juice defender and done all the minor tweaks as far as disabling wireless network location, turn off the wifi and GPS, and an app killer. I still only manage at max 9 hours before my phone tells me to recharge.
If your getting great battery life, help me and others by sharing your tips here.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You may be shooting yourself in the foot with some of those things. App killers aren't that useful on Gingerbread since they keep killing apps that just reload on their own, and every time the reload it uses power. Just because an app is loaded doesn't mean it is running. Try letting the system take care of it. Juice Defender may help a little but it keeps shutting down data and starting it up, which means you don't get as much usefulness out of the phone and may waste power in some circumstances.
See what you have set to sync. Turn off any autosyncs you don't need, like weather screens, facebook, etc. If at all possible set them to only sync when you open the program.
I use the exchange option for gmail using the stock samsung app, which gives me push email but doesn't have to keep polling the server. I don't know if that makes a difference compared to imap, but it works well for me. don't think you have that option in CM7.
Wifi is a much more efficient way transfer data than 3G, use it whenever you can, and set it to never sleep. Otherwise the 3G radio keeps starting up again and wasting battery.
You can freeze the DRM stuff if you don't use it. I don't know if it really makes a difference but everyone thinks it does, so I do it.
Having a black wallpaper helps a little because on a AMOLED screen a black pixel uses no power.
The biggest battery killer is being in a bad signal area. If you always have 0 or 1 bars then your phone is going to always be draining the battery trying to find a good cell. In that case Roam Control may help you.
That's about all I do, and with the latest Stock gingerbread EH17 and EI22 I'm sitting with about 40 to 50% left after 12 hours, that's with light to moderate use.
I've been through the ringer with this. I'm pretty comfortable now, routinely managing to have 33% of battery left after 12hrs w/3g always on, sync always on, intermittent music listening, 2.5-3hrs of gaming and general "screen on" time (auto brightness), 1.1 GHz OC, no undervolting, and GPS always on. Here's what I'd suggest:
Flash a ROM w/ NO CIQ (thanks k0nane!) - In addition to being a leech on your privacy it's a leech on your battery. It's old news to long-time Epic owners at this point, but ditching CIQ improves battery life and overall responsiveness of the Epic. A popular stable Froyo ROM for this is SFR 1.2.
Minimize always-running services - Long press your homescreen, select "shortcuts," select "settings," and select "running services." Tap this to see what's running ongoing services (not apps) your phone is running. All of these are drawing current to stay in RAM. Things like Juice Defender, Tasker, and others show up here and draw power in doing so. JD and Tasker especially can drain a lot because they perform constant tasks as well. Uninstall them and let your phone manage itself.
The same goes for task managers and app-stoppers - Froyo and above does this fine on it's own
Freeze/Uninstall system services you don't use - This includes things like Sprint voicemail, the "Email" app, and the "SprintAndroidExtension.apk," and SNS services. You'll most likely find these on the "Running Services Page" as well. You can Titanium Backup to uninstall them, but I recommend the SDX Stock App Remover as that can restore them (TB can't reliably). TB can freeze these as well, which accomplishes basically the same thing. SNS is connected to Facebook, so if you use that a lot you might want to keep it. DRM services can also be removed, but may cause problems reading the SD card. I stay away from it.
Use Spare Parts to monitor wakelock and CPU usage - If you notice something giving you persistent trouble, shut it down. This is time-consuming, but you'll get a good feel for what apps are out there to accomplish similar tasks and which one best suits your needs.
Uninstall apps you don't use - Next time you wipe and flash a new ROM, reinstall or restore backed up apps as you need to use them and not all at once. You may find you don't need quite a few of them, allowing you to keep more space open on your phone and requiring less current to maintain them
Don't charge the battery overnight - most phones can reach capacity in 2-4 hours depending on charge level. Beyond that, holding at or around fully charged will degrade the battery by denying it the ability to release the stored energy. I charge mine in the evening a few hours before bed and top it off in the morning before leaving for work.
Get an 1800mAh battery sold for the Epic Touch - this is what moved me form "getting by" to "definitely comfortable." For around $25 (incl shipping) on ebay, I've gotten a new lease on my Epic's life. It may seem like cheating to bring in a new battery, but it makes a lot of difference WITHOUT adding more bulge to your phone (makes it a tad heavier though).
Hope this helps. Remember, of course, that what works for one phone won't necessarily work for another. Despite being the same model, minor imperfections in silicone can create individual temperaments for each phone.
I as always trying to make my battery last by stopping this and uninstalling that. Then I thought; why did I buy this phone with all of these capabilities to turn them all off
So, something like the "Hyperion Sprint Samsung Epic Touch 4G 2 x Battery + Charger" (too "young" to post a direct link)
Would fit in/work with the Epic 4G (without needing a new cover)? Even though its for the Touch?
Lol, I've been doing many of the suggestions across the board, and have gotten much better results. But I'm still not "comfortable" with my battery strength, especially when I'm unable to charge my phone all day...
Looking into your running services is a big one. week ago my battery life greatly decreased. I kept seeing market update pending and it wouldnt go away. Never update never go away. I manually updated the market and the battery is back to wonderful. It drops 2-3% at night off charger. Thats about 8 hours.
A sticky with all the main running services and which ones you can stop would be wonderful. I have sns services running. I think i can stop it but not positive. I also have sanservice running supposedly some type of samsung update. Its not doing anything but its been running for 2 days. No negative effect on battery(that i notice) but its running. Also make sure you turn location off. Ive also noticed that even when you back out of google maps its still in running services. A restart fixes that but thats annoying.
themow said:
Looking into your running services is a big one. week ago my battery life greatly decreased. I kept seeing market update pending and it wouldnt go away. Never update never go away. I manually updated the market and the battery is back to wonderful. It drops 2-3% at night off charger. Thats about 8 hours.
A sticky with all the main running services and which ones you can stop would be wonderful. I have sns services running. I think i can stop it but not positive. I also have sanservice running supposedly some type of samsung update. Its not doing anything but its been running for 2 days. No negative effect on battery(that i notice) but its running. Also make sure you turn location off. Ive also noticed that even when you back out of google maps its still in running services. A restart fixes that but thats annoying.
Click to expand...
Click to collapse
SNSservice is a Facebook and Feeds and Updates Widget service. ALWAYS stop it. It does not matter to Facebook, even if you use it, but if you remove the Feeds and Updates Widget on one of your screens, that service continues to search for it and will kill your battery in a matter of hours (it starts a "restarting" loop). Either leave the widget on or kill this service after every reboot or if you are rooted, freeze it along with DRM service.
My other battery tips are to log out or sign out of every app such as Lattitude, Facebook, Amazon MP3 (it's ok to use them, but don't just back/exit out, actually sign out of them so you have to log back in next time). Apparently, staying signed in causes your phone to not sleep and you can't find what is causing it (i.e. you can't see it "running" anywhere...people call it a misbehaving app, and you would have to delete apps one at a time to find it by trial and error).

[GUIDE] Improving battery life for non-TW ROMs

A bit dated of a post, but most if not all still relevant. We have a lot of non-TW ROMs for this phone which sacrifice battery life for improved functionality, not by choice, but mainly because Samsung's lack of GPL compliance with regards to sharing kernel sources. Our community devs have done an incredible amount of work with their kernel forks, but Samsung's paid development teams obviously have a lot more time and incentive to work on it, and as such our community devs' graciously find even more fixes once source drops, then merge them into the community kernels we're all using. So as we wait in limbo for them to share their JB kernel contributions to our community:
Anyone that wants to add anything to the list, post to the thread and I'll keep collecting.
Workarounds for D710 battery drainers:​
battery saver scripts:rmikulus found this sweet piece of development gold: if you know how to run scripts,"Die Hard Battery Calibrator" will calibrate your battery in only about 20 minutes (must be plugged in that entire time)
Probably better to use the latest and greatest here instead, much easier to install, just a simple CWM zip AIO scripts:
Jelly Bean Tweak Pack for Epic 4G Touch Fixes Various Errors
--appears to help battery life and other various issues.
Voodoo LOUDER (paid) supercurio - Project Voodoo
--not battery-related, probably causing opposite effect actually, but many find an issue with headphone audio being maxed out at lower dB than desired. I'll confirm this works on CM10 nightlies.
WiFi : Turn it off when not in use, just like anything else. Tasker does a great job of automating this process.
raise the network scan interval to reduce background wifi radio usage (Rom Toolbox allows build.prop tweaks such as this,)
change the sleep policy for the wifi to Never While Charging to allow wifi connection to die when phone is off (toggle is in the touchkey menu while viewing wifi settings.)
NOTE: WiFi is a more desirable data connection than 4G as far as batt life is concerned. 4G is auto disabled when wifi is on for most ROMs. 4G (WiMax) is a new technology that still has yet to be perfected, not unlike these latest developments in ICS.
4G Radio: Also turn off when not in use. Use the latest modems available. Note that modems won'tt install from ODIN/mODIN flashes, gotta use CWM zip installs.
Haptic Feedback: Turn off haptic feedback, vibration kills. (Particular to CM9 ROM, haptic is set too strong right now, TouchWiz-based ROMs are fine, but if you can live w/o it...)
LED notifications: Another wakelock offender. Turn them off for now, it's one of the reasons the device stays awake when it should be sleeping. Sleep is good.
Get BetterBattery Stats by chamonix : Take a look at it after a long period of uptime without restarting (quick or full) to allow a greater set of data to parse into stats. Some apps you use may be eating away at your battery from the background. Spare Parts Plus and it's root-friendly brother BladeBuddy is also valuable.
Use the latest kernels available. If you're flashing CM nightlies, you're good to go, kernel modifications are updated in the same process.
Touch sounds and screen lock sound: These still cause partial wakelocks , leading to some amount of battery drain. System Settings>Sound menu to turn these off for now. (thx coiledwire)
The CM9 Team put together a similar list with a few things not listed here. Check the 'Power Saving Options' section on the CM9 Blog
----
Android-specific:​
BatteryStats.Bin This little file keeps a record of your battery usage, power amperage, etc. and every time you flash a rom, it gets wiped. The system's ability to track the exact power level of your battery is DIRECTLY dependent on this file, so if you don't allow the newly flashed system a few days to calculate averages over time, it won't really have time to realize how charged it really is. NOTE: this file has NOTHING to do with improving battery life, only calculating what the battery % shows in the statusbar (and in the battery statistics charts in the system settings menus.) I've sat at 5% battery life for an entire hour with screen on surfing the 'net. No way it was really 5% that entire time.
While wiping battery stats won't increase battery life, it will improve the calculation of the charge, if done properly. Stats are saved in /data, when a ROM is installed, initially the stats will not have much data to extrapolate from, and the battery probably isn't entirely full to begin with, therefore making a mess of a new ROM's recognition of the cell's true charge. It's best to wipe stats when your charge is above 4180mV (E4GT stock battery size.) I've seen mine as high as 4202mV. Also, if you've got aftermarket cells that aren't the same mAH rating, the results will be slightly wonky. Battery Calibration app can set a reminder to flush the battery stat counter file when the phone is charged, if you need to charge with your device on.
I notice that flashing roms with a battery @100% and charging will help in this regard, then once the system is fully booted, unplug it and drain it to 15%, then charge to 100%, then do :
Bump Charging is suggested by HTC developers to potentially DOUBLE your battery life.
Battery Tuning: We're running Lithium Ion batteries. Don't kill it to 0%. Ever. Tip: Condition your new cell phone’s battery to make it last longer (but be sure to condition it properly)
Live Wallpapers and other background services: If you can live without them, turn off the services. Many common apps trigger network connections on a periodic schedule, further causing drain. increase sync periods, or just sync manually.
Sync: Yet another form of background services. If your sync is running all the time from frequent emails, gvoice msgs. etc... and the like, try turning off some of your heavier data tranx and refreshing manually when you need it.
Again, please tack on posts for this thread if you have good additions to make, I'm just trying to collect a one-stop shop of battery life savers, and a place to point newbs when they start trainwrecking dev threads with questions about it. This is my humble way of giving back cuz I was one at one point.
Thanks, some of these tips most users may know but the one that helpped me was the notification light when running cm9! I worked 10 hours a day and cant use my phone but my battery was draining like crazy! Much better!
Solid advice. I do everything mentioned here. I also throw in a bump charge to finish it off..old habits die hard
Sent from my SPH-D710 using Xparent Blue Tapatalk 2
so is bump charging still a valid method? I've read that HTC developers suggest it, but you're saying old habits so I'm assuming you're aware of something about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1] Bump Charging [/url]
Dudebowski said:
so is bump charging still a valid method? I've read that HTC developers suggest it, but you're saying old habits so I'm assuming you're aware of something about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1] Bump Charging [/url]
Click to expand...
Click to collapse
Well, its just my routine. I charge to full, power down charge to full, unplug, power on, plug back in. When. I open Battery Calibration app, if battery shows 100% but only like 4110mV instead of 4180mV+ I will unplug and plug back in a minute later then wipe stats when it shows anything over 4175mV and 100% charge...confusing enough?! Lol
Sent from either ET4G or NS4G using Xparent Tapatalk 2
Thanks For the Guide.
I was really dissapointed with ICS.
I was still running EL29- Rooted and was running everyday on 14hrs with Wi-Fi always on. so after seeing that most bugs were fixed on FD24 i updated and yesterday i was running on 5hrs tops with Wi-Fi on.
So i did some suggested tweaks.
Wi-Fi off.( only ON when i need it)
GPS- I unchecked the last to option on the location.
Adjust haptic
uncheck some Sync from Google.
by the way what's? "Internet Sync"
and now.... im at 66% after 7hrs of being unplugged.
Internet sync meaning anything that may transfer data in the background like google talk, weather apps, Skype, etc.
Glad to hear those stats ! Take a screen Cap of the battery stats when it gets below 10% and post here
Sent from my SPH-D710 using XDA
Dudebowski said:
We're currently in a lull period between development phases now that ICS is blowing up all of our E4GT's. Samsung's kernels leave a lot to be desired, hence the current work towards a proper aftermarket kernel. ICS roms are very new, especially the custom ones going on in the dev kitchen right now. Software level ROM coding is one thing, the devs will get that fixed, but ultimately they're dependent on a solid kernel... and one of the biggest problems with the kernel, is that ever-elusive battery life.
so:
God-Tier devs, correct me if I'm wrong, and please add your thoughts, additions, and suggestions below. I'll try to keep a live OP post for a universal E4GT battery tweak guide.
Things that eat up our E4GT battery for now, with workarounds:​
WiFi : Turn it off when not in use
raise the network scan interval (Rom Toolbox allows build.prop tweaks such as this,)
change the sleep policy for the wifi to Never While Charging to allow wifi connection to die when phone is off (in spare parts).
NOTE: WiFi is a more desirable data connection than 4G as far as batt life is concerned. 4G is auto disabled when wifi is on for most ROMs.
4G: Also turn off when not in use. Use the latest modems available. Flash with odin/mobileOdin because the CWM flashables sometimes don't stick.
Haptic Feedback: Turn off haptic feedback, vibration kills. (Particular to CM9 ROM, haptic is set too strong right now, TouchWiz-based ROMs are fine, but if you can live w/o it...)
LED notifications: Another wakelock offender. Turn them off for now, it's one of the reasons the device stays awake when it should be sleeping. Sleep is good.
Get BetterBattery Stats by chamonix : Take a look at it after a long period of uptime without restarting (quick or full) to allow a greater set of data to parse into stats. Some apps you use may be eating away at your battery from the background. Spare Parts Plus and it's root-friendly brother BladeBuddy is also valuable.
Suggestion, with disclaimer: Use the latest stock or Rogue kernels and modems. sfhub keeps the most updated modem D/L list . Don't forget that you should not flash ANYTHING from ICS kernel/recoveries yet!!! There are known issues with these kernels, and every last one of them is a beta stage leak from samsung along with a custom recovery and some little tweaks to work with the various ICS roms. The flashing HAS bricked MANY phones! There will be great fanfare and notices from the developer teams once we have an ICS kernel that works. It's mostly dependent on Samsung releasing sourcecode, although there are some teams working on porting the source of the other Galaxy II's... the race is on!
Touch sounds and screen lock sound: These currently cause partial wakelocks in Galaxy S2 ICS ROMs , leading to some amount of battery drain. System Settings>Sound menu to turn these off for now. (thx coiledwire)
----
Universally true:​
Live Wallpapers: If you can live without electricsheep or the other various animated wallpapers, do so. I can't
Battery Tuning: If you didn't condition your battery when you first got it, good luck. In any event, try to condition it from here on out by burning it out completely (phone won't boot with it) then charge 100%, keep it off charge until it dies again, CWM Wipe Battery Stats, run the battery down again without charge. Repeat the charge/kill cycle a couple times. New kernel or ROM? Start from scratch again. Battery stats are saved in /data, so old stats can mess with a new ROM's recognition of the cell's true charge. Also, if you've got aftermarket cells that aren't the same mAH, you'll only get as good a conditioning as the weakest battery can take. Battery Calibration app can set a reminder to flush the battery stat counter file when the phone is charged, if you need to charge with your device on.
Sync: If your sync is running all the time from frequent emails, gvoice msgs. etc... and the like, try turning off some of your heavier data tranx and refreshing manually when you need it.
EDIT:
Darchstar and the CM9 Team put together a similar list with a few things not listed above. Check the 'Power Saving Options' section on the [url="http://e4gtcm.blogspot.com/p/customization-guide.html] CM9 Blog[/url]
I've also since learned that wiping battery stats does nothing with prolonging battery life. There's numerous articles quoting official Google/Android developers where they explain this flat out It may help your system recognize the true percentage of your charge, but that's about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1]Bump Charging[/url] is suggested by HTC developers to potentially DOUBLE your battery life.
Click to expand...
Click to collapse
Links in your edit post dont seem to work.
I've found that taking the wifi frequency band off of auto and changing to your desired frequency helped my battery when Im on wifi and the phone is sleeping
Sent from my SPH-D710 using XDA
Dudebowski said:
Internet sync meaning anything that may transfer data in the background like google talk, weather apps, Skype, etc.
Glad to hear those stats ! Take a screen Cap of the battery stats when it gets below 10% and post here
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Ok here are my screencapture for FD24.
I just updated to FD26 using NoData It looks like preserve all my settings so I'm gonna give it a shot tomorrow , I will report back.
CM9 when you finally get phone to sleep nice and soundly
....or just stick with GB roms that work and stop suffering yourself these ICS leaks.
Some of us have flash addiction. Some of us enjoy bring Guinea pigs for development. I for one just left my last phone running cm7 and couldn't bear the austerities of a stock ROM. The GB twiz hacks are alright, but it doesn't feel like home to me.
Sent from my SPH-D710 using XDA
A few of us are actually doing better with battery on ICS. One problem is that we get so many leaks and ROMs that the battery might not be having a chance to settle
Sent from my SPH-D710 using Xparent Blue Tapatalk 2
Beejis said:
Links in your edit post dont seem to work.
Click to expand...
Click to collapse
*fix'd.
im0rtalz said:
CM9 when you finally get phone to sleep nice and soundly
Click to expand...
Click to collapse
w00t w00t!
I get pretty good battery on AOKP:
Good thread, thanks for the tips.
Transmission sent from my slim n trim Galaxy S II.
Agree with just about everything. One thing that I disagree with is letting your battery die at all. It actually decreases the life of the battery in lithium ion batteries. Its an old school method for old batteries. Try never going under 15% if possible. Everything else is correct as far as I can tell.
Sent from my SPH-D710 using xda premium
On the topic of battery calibration, if you know how to run scripts, the creator of V6 Supercharger and 3G Turbocharger scripts has also created "Die Hard Battery Calibrator" which will calibrate your battery in only about 20 minutes (must be plugged in that entire time)
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
LordLugard said:
....or just stick with GB roms that work and stop suffering yourself these ICS leaks.
Click to expand...
Click to collapse
What he said
Sent from my SPH-D710 using XDA

[Q] Sleep Battery Life

Hey everybody,
Just made the jump from the iPhone 4S and have done the custom ROM/kernel thing the past week. Things were good at the start but I feel them slowly deteriorating.
I find my battery life during sleep has become much worse than before. I mean, it still kills the 4S which would see ~25% overnight. But I'm seeing 10% overnight right now, and was ~2% earlier in the week. I normally have my phone on the charger at night, but didn't last night and I'm kinda glad I got to see this. Makes me realize why I was likely chewing through more in the day too.
You can see what I'm running below in my signature. Last night I had 5 instances where the phone woke on its own. Likely due to emails coming in.
Am I expecting too much from my modifications? Am I doing something wrong? I'm ready to toss AOKP aside because of other issues anyway, but yesterday I also read it was known to have some excessive battery drain as well. Without turning this into a battle to defend the ROM you use (like half the threads in here), if you have other suggestions, feel free to throw in a ROM suggestion. I'll attach some pictures of my battery screen so anyone willing to give me a hand can help.
Thanks in advance.
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Screwedupsmitty said:
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Click to expand...
Click to collapse
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
myrdog said:
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Click to expand...
Click to collapse
Weaker than normal signal can kill a phone battery, when I'm in lecture out in the bumfuck nowhere school I go to, I get -100 to -120dbm, which kills my battery while i'm at school. If thats your situation not much to do besides hope radios may increase your signal, but if not then your basicly as SOL as i am and may have to just charge it
JoeSyr said:
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
Click to expand...
Click to collapse
This is what every user should use to diagnose battery problems at first.

SGSIII / General Android Battery Tips (Can triple battery life!) | Updated 8/27/12

This thread that I've revamped from my Evo 4G/3D days, hoping to share some of the love with newer users. Over the time I've been on android, I've learned a few simple things that can greatly assist in the battery life of our wonderful smartphones.
If you get anything out of the thread, please don't hesitate to rate it and drop me a thanks!
If you read the thread and like the tips, have a new one to suggest, or have a revision, please post it.
On a similar note, moderators, thanks for the sticky!
General Lithium Ion Battery Information
^^This link includes stuff about charging, including trickle charging aka SBC (Why NOT to use it, or at your own peril)
My tips for good battery life:
Tips for Non-Rooted users
1. Turn off all radios when not in use.
(Bluetooth, wifi, data, 4G/Wimax/LTE, NFC, etc) Use a widget like the default power widgets, Switchpro, or a similar app from the market. Newer android versions generally allows users to access these radios and other settings from the notification pulldown menu, , under the "Quick Settings" tab or a row at the top of the pulldown. The radios of the phone draw power if on even if the user isn't actually utilizing the radio's functions. A radio searching for signal (if you are in a low-signal area) drains more than a radio with good signal, so again, turn 'em off when you aren't using 'em.
To manually turn off radios without a toggle, go to menu>settings>wireless & networks.
Wifi uses less battery than 3G, so use wifi when you can.
Unlike the others, GPS radios only draw power when you actually need them, so you can leave it on all the time.
2. Juice Defender is one of my favorite apps. Basically it controls your data for you to maximize life.
More explanations are on their page, search it on the market for free, or upgrade for more features.
Here are my settings for it: Click me
Note that for me at least, juice defender likes to deny apps data privileges whether you allow them or not, so screen on = data on works best for me.
3. I love live wallpapers, and I’ve always been a fan of pixel zombies, but they are really only good for showing off due to their battery drain.
4. Sadly, the "always on mobile data" setting is gone. This tip is invalid.
Go to menu>settings>wireless & networks>mobile networks>disable always on mobile data.
Product F(RED) said:
To clarify, "Always On Mobile Data", when turned off, lets the 3G modem go to sleep after the screen has been off for 5 minutes. It doesn't interfere with anything like email or any other application that requires an internet connection at that moment because it turns on on-demand rather than being on all the time and wasting battery.
Click to expand...
Click to collapse
5. Set your screen timeout to something that fits you.
The screen is the highest drain of battery power on any smartphone. BY setting the timeout, you can prevent your phone from staying on when you don’t manually turn off the screen. Also, manually turn off your screen when you’re done with your phone.
Menu>Settings>Display>Screen Timeout
I use 30 seconds.
6. Task killers used to be the shiz, but no longer.
Here is the ultimate, in depth, graphically assisted, explanation by the famous Fresh ROM's chef, Flipz. Shortly, in light of recent testing, really don’t do anything but force apps that the android OS needed to be open, and thus didn’t close, to re-open. So try not using them, unless for stuff like trying to figure out why your phone isn’t sleeping with system panel. You really won’t notice a performance difference, and the adverse effects you aren’t seeing will stop
+=+ A good alternative is the application SystemPanel Pro. It has a free version, but I highly reccomend purchasing the paid app. It basically monitors everything going on with your phone's usage both in real time an in terms of usage history. If your battery is draiging fast, it tells you what app was doing it, how much it was doing it, and allows you to stop it.
7. I'm sure you have all heard around that your phone isn't "sleeping".
This is referring to the phone's "awake" time, hence the name. When you go to Menu>Settings>About Phone>Battery>click on the small battery graphical, you can compare the two lines, time on and awake. Generally, up time refers to the amount of time since the last reboot. The "awake time" is how long the screen has been active. The problem is, a lot of the time, due to the endless possibilities of inconsistencies between apps/ROMs/kernels/phones, the phone will not go to "sleep", drawing power proportionate to the screen being in use when it reality the phone is sitting idle.
If you compare these numbers, and they are the same, or if you note the difference, turn off the screen for a minute, then re-check and they are the same, then your phone is not sleeping.
One solution is to reboot.
I recommend two apps to help monitor:System Panel and Better Battery Stats. These two apps (explained in their FAQ's and descriptions greatly aid in finding those rogues.
Usually, SystemPanel will show an app that has gone "rogue" and is keeping your phone awake.
-This is done by hitting menu>settings>monitoring enabled. Then after some time has passed, ht menu>monitoring>history>change tab to top apps, and see if anything is above, say, 2-4%.
Uninstall applications/reinstalling them slowly, checking after every install to see what is causing it is one tedious but surefire solution.
Lastly,
Follow these steps that I have discovered almost always work.
1. Reboot phone.
2. Instantly upon reboot, as soon as you gain control, open up some type of monitor/taskkiller
3. "kill all" tasks on startup; about 5 times in quick succession should do the trick.
4. Turn off the screen and leave it for about five minutes.
5. Check the up time v. awake time and see if they are the same.
6. If they are, repeat steps 1-5. If they are different, you are good.
8. Apps and Combinations to watch out for!
-Facebook- Tries to sync live feed all the time, HIGHLY recommend unchecking this box, as it creates a massive draw on data
-Skype- This app reportedly (I've seen it myself) likes to sync random data and open up the network for fun. Sign out of app when not in use to fix
A rogue process called "gsiff_daemon", associated with the gyroscope. Changing its name seems to be the only semi-permanent solution. It's located in system/bin.
Lightflow is a pretty damn cool notification/led manager, but it eats up ridiculous system resources using its alarm wakeups. Use at your own risk.
9. Manage your syncing.
This is a big one, and it differs from person to person. Go to Menu>Settings>Accounts and Sync, and take a look at what's going on there. The green or checked or activated box to the right of the option means that there is an account syncing data. I for example have four email addresses, facebook, dropbox, box, weather, etc. That is bad. You should go through and turn off syncing for nasty apps you didn't even know where accessing the internet, or limit the access of apps and services that you do want to allow.
The problem lies in the way this syncing is handled. Each app/service runs on its own schedule, making it particularly likely that your phone could almost always be establishing a data connection and trying to download data for your various apps. See step 2 regarding the app Juice Defender to handle this problem.
10. Vibrate Settings
Vibration and haptic feedback eat up a surprising amount of battery. If you have the haptic feedback enabled, then every time you press anything your phone puts out some juice to make itself dance.
At least on the GSIII, the settings are in menu>settings>sound
Some apps have their own haptic feedback settings, and notifications are their own set entirely.
Root Tips LIVE
Tips for Rooted users:
1. Try out custom kernels.
By going to the Galaxy S III Android Development section of the forums, you can see all of the different kernels being developed. These allow for all kinds of modifications like underclocking the CPU and undervolting, both of which save battery. To see how to use them, read the FAQ's in each thread's OPs.
Here is a great guide to custom kernel's by mroneeyedboh.
2. Use SetCPU in compliance with whatever your custom kernel allows.
This site will explain the basics of SetCPU: http://www.setcpu.com/
-Profiles from SetCPU should usually involve these for battery life optimization:
-Screen off at the minimum clock speed for both, with the max raised on level if sluggishness is apparent
-A temperature greater than “X”
-General power related profiles that lower cpu speed at lower battery levels
-Here are my SetCPU profiles: 1 , 2 , 3
-My profiles change a lot as time goes by, because different kernel creators recommend different settings. I suggest reading up on whatever kernel you are using to gather settings.
------------------------------------------------------------------------------------------------------
NOTES:
*Some apps or processes begin to run at startup and keep the phone awake. These apps are not detected by things like spare parts or system panel, unless sometimes represented in the "system" process, in which case its usage will be unusually high.
This shouldn't take more than three repeats, and if it does, you need to factory reset, and slowly add apps back to see what's causing the problem.
___--- When it comes to actually "calibrating" one's battery, there are a couple of methods floating around. The method I first learned is to charge the phone all the way, boot into recovery immediately, and "wipe battery stats". Then reboot quickly, and run your phone all the way to death without charging it, then charge it all the way without interrupting it, and you should be good to go. Do this when changing ROMs/kernels for best results.
----When it comes to people claiming 20 plus hours of moderate/heavy use out of their current setup or other ridiculous absurdities, consider my position: No matter what you do, the Evo battery is the Evo battery. You can tweak it and customize it with kernels, ROMs, and settings, but none of that will turn it into a car battery. The main problem (besides a false sense of pride) that leads to these reports is the misunderstanding of what the usage levels are, so here’s my best summary:
* *Light usage – Phone screen actually on for maybe 0-2 hours. Things like a few texts, some emails, 20 minutes web browsing, etc.
* *Moderate usage – You watched a few youtube videos or similar apps, sustained web browsing, hundreds of texts, some games. Hours range from about 2-5 of screen on
* *Heavy usage – LOTS of video watching and games, 3D pics or video, or some high def gaming/movie watching for at least an hour to an hour and a half in total, with lots of emails and texts, browsing, and other app shenanigans. 5+ hours
*I’m sure everyone doesn’t agree with all these numbers, but this is most likely a good average of what powerusers think. All specific hourage may vary due to differences in phones, batteries, ROMs, and kernels… Which also means that most battery comparisons are pointless; it’s only what you can improve on that counts!
I’ll update this whenever I see good stuff, people remind me, or I remember/come across things I do.
Hope it helps everybody!
Hit the "THANKS" button if I help you!
Vote for Your Favorite Tip
Nice tips
I'm not quite sure if leaving the GPS on actually eats up battery now. I've seen articles now that state that GPS is only used if a program needs it. When I go into battery and usage, GPS will only show it has been used only a couple times with the apps that I opened such as Facebook, Speed Test or Gas Buddy. I think with ICS, it has changed in the way that GPS actually works and it is not actually constantly using battery.
jhuff83 said:
I'm not quite sure if leaving the GPS on actually eats up battery now. I've seen articles now that state that GPS is only used if a program needs it. When I go into battery and usage, GPS will only show it has been used only a couple times with the apps that I opened such as Facebook, Speed Test or Gas Buddy. I think with ICS, it has changed in the way that GPS actually works and it is not actually constantly using battery.
Click to expand...
Click to collapse
This is correct and I have confirmed it. Just haven't updated the op.
Thanks for calling that to my attention.
The one about turning radios off is one that makes all the sense in the world, but I'm not sure in practice if it makes a significant enough difference to override the inconvenience of having to flip things on and off as needed.
I can only speak from personal experience but for about two weeks my wife and I, both with S3's, were shutting radios off when not needed out of habit from our Epic days. However, since then (well over a month now) we just leave everything on all the time... and I do mean *everything*: GPS, Wi-Fi, NFC, cell radio, BT... and the difference has been... wait for it... so little it's actually been hard to quantify!
My own take on that rule is to leave everything on and see what you see... it's always easy enough to turn things off if you find your battery life not living up to expectations and if it winds up being a trend, so be it, leave things off as suggested in the OP. For my wife and I at least we can get through an average day and finish up before going to bed around 30%-40% battery most days. To me, even if I could get that to 40%-50% left, that 10% difference I can accept for never having to worry about what's on or off.
Laziness has a price, and it's around 10% of my battery life apparently
great tips!!!! definitely improved my battery with these!
The radios are extremely dependent upon your area, signal strength, the walls of your house, the apps you have installed that actually call upon the data... So ideally, if your area has amazing signal, your walls are hyper radio permeable, and you don't have many data intensive apps, then you can probably get by with minimal loss. People who are feeling the itch to test should certainly go ahead and try, but the same could be said with most of these tips. This is simply a guide of suggestions. YMMV
fzammetti said:
The one about turning radios off is one that makes all the sense in the world, but I'm not sure in practice if it makes a significant enough difference to override the inconvenience of having to flip things on and off as needed.
I can only speak from personal experience but for about two weeks my wife and I, both with S3's, were shutting radios off when not needed out of habit from our Epic days. However, since then (well over a month now) we just leave everything on all the time... and I do mean *everything*: GPS, Wi-Fi, NFC, cell radio, BT... and the difference has been... wait for it... so little it's actually been hard to quantify!
My own take on that rule is to leave everything on and see what you see... it's always easy enough to turn things off if you find your battery life not living up to expectations and if it winds up being a trend, so be it, leave things off as suggested in the OP. For my wife and I at least we can get through an average day and finish up before going to bed around 30%-40% battery most days. To me, even if I could get that to 40%-50% left, that 10% difference I can accept for never having to worry about what's on or off.
Laziness has a price, and it's around 10% of my battery life apparently
Click to expand...
Click to collapse
Gps Radio?
Really? The radio, even if left on, uses power only when an app needs the position. I am kinda boggled by this? Wouldn't it take longer to aquire the location from the 3-7 sateilites upon the request and then shut back down. What would be the diference? This can't be true about the GPS not sucking any power in ICS when idle.
BUMP
551skydiver said:
Really? The radio, even if left on, uses power only when an app needs the position. I am kinda boggled by this? Wouldn't it take longer to aquire the location from the 3-7 sateilites upon the request and then shut back down. What would be the diference? This can't be true about the GPS not sucking any power in ICS when idle.
BUMP
Click to expand...
Click to collapse
Try leaving it on for the day and go into battery and click on the graph. You will see that it should be black across the board for GPS if the signal was not used. Only time it would be green is when a program utilized it.
ICS changed the Battery Stats. It doesn't display that information in About Device. Uptime is there but awake time isn't.
sekigah84 said:
ICS changed the Battery Stats. It doesn't display that information in About Device. Uptime is there but awake time isn't.
Click to expand...
Click to collapse
Actually, that's incorrect. Menu>Settings>Battery>click on the small graph picture. It gives you many things, including time on battery, Awake time, Screen on time, and charging time. It's just graphically represented.
How do you accomplish #4?
Go to menu>settings>wireless & networks>mobile networks>disable always on mobile data.
---------- Post added at 08:09 AM ---------- Previous post was at 08:06 AM ----------
found it under Data Usage
---------- Post added at 08:24 AM ---------- Previous post was at 08:09 AM ----------
well, when I turned Mobile Data Off, didn't receive any data (emails, etc.) so I turned it back on
I'm curiouis about this 1 as well. How do we accomplish this as I don't see that option?
Remove that "wipe battery stats" from your tips. its a old myth that needs to die permanently.
Shoulon said:
Remove that "wipe battery stats" from your tips. its a old myth that needs to die permanently.
Click to expand...
Click to collapse
You are correct.
www.landofdroid.acom/2012/to-wipe-battery-stats-or-not-to-in-androidthat-is-the-question/
I disable everything when I go to sleep at night, or when I am putting my phone on charge in middle of the day to maybe help it gain battery while not draining it, sort of like a power charge I like to think. It's so easy to do, just slide down status bar, uncheck everything (WiFi, Mobile Data, Sync, dim screen all the way) and that's it. I had 22h1m running since last charge today when I was at 4%.
General Android Battery Tips (Can triple battery life!) | Updated
Thank you for sharing this is to improve life of the battery
battery
shuiguo said:
Thank you for sharing this is to improve life of the battery
Click to expand...
Click to collapse
It helps to use the right ROM and know how to work your phone:
:good:
Also, apparently Google apps backup is broken for some users. I had a problem with the phone not sleeping and traced it to google backup, apparently it's a common problem with ICS. This is unrelated to contacts/calendar sync. If you have the phone device rooted and use titanium you can leave this off, and as long as you don't lose your phone it's no big deal. Setting is under system settings -> backup and reset.
Figure I would show this off here, had the flu last week and was basically comatose for 30 hours. Only about 2 hrs screen on time, but all radios on and even passed out with navigation on after checking traffic at one point. 51 hours
Sent from my SPH-L710 using xda premium
I would try disabling Google backup so it no longer updated/synced my info to the web until I next turned it on, but the option says it deletes all the info already stored on the web. I suppose this is good if someone wanted to delete this info for privacy concerns, but there should be an option to just turn the syncing off, or to schedule it for once a day or something.
I have not tried disabling it as I do not want to wipe my info.

[Q] Short battery life but nothing specific seems to be a big drainer

Hi guys,
Though I have been reading these threads for quite some time now, I just joined so that I can post the issue that I am facing.
I am rooted and using Liquidsmooth v2.4
I am facing a battery issue. Battery life is short. I never survived more than 2 hours of screen time on my device which I know from these forums that is not normal.
The stuff I have tried but didn't help:
Wiped and factory reset on several occasions, both using the settings function and CWM
Flashed various roms (Cyanogen Mod, Carbon, Liquidsmooth, Stock rom)
Unroot to stock and root again
Changed to various more battery friendly CPU governors
Changed battery with a friend who is using the international version (which is using the same battery according to the Samsung website)
I am not in the states now and the local Samsung service centre refused to service it because they don't have the appropriate parts and also due to the difference in software. (I unrooted it and restored to stock before sending in.) They just looked at the model number and refused service; didn't do anything more.
I have attached some screenshots. There are no obvious wakelock issues and no app in particular is draining the battery. 50% power used on screen appears to be normal. The rest of the apps also look like they are behaving themselves, at least power consumption wise. I am not a very heavy user and don't run any games/apps that are huge in resource requirements. Email/facebook/browsing are my main activities.
The current settings on my phone:
Auto brightness
Wifi/bluetooth/GPS all off
Autosync is off by default but will use it sparingly if I need to.
Almost all of my apps have their notifications off and all apps are set to sync manually.
I only have one calender widget on my home screen, no others elsewhere.
CPU Governor is "ondemand", iO scheduler is "row". Min/max freqency: 384/1512 MHz
Juicedefender is enabled with "aggressive" (I know its effectiveness is controversial but on my device, disabling it eats more battery)
Any help is appreciated. "Thanks" will be awarded to all who post!
Thank you!
Hairy07 said:
Hi guys,
Though I have been reading these threads for quite some time now, I just joined so that I can post the issue that I am facing.
I am rooted and using Liquidsmooth v2.4
I am facing a battery issue. Battery life is short. I never survived more than 2 hours of screen time on my device which I know from these forums that is not normal.
The stuff I have tried but didn't help:
Wiped and factory reset on several occasions, both using the settings function and CWM
Flashed various roms (Cyanogen Mod, Carbon, Liquidsmooth, Stock rom)
Unroot to stock and root again
Changed to various more battery friendly CPU governors
Changed battery with a friend who is using the international version (which is using the same battery according to the Samsung website)
I am not in the states now and the local Samsung service centre refused to service it because they don't have the appropriate parts and also due to the difference in software. (I unrooted it and restored to stock before sending in.) They just looked at the model number and refused service; didn't do anything more.
I have attached some screenshots. There are no obvious wakelock issues and no app in particular is draining the battery. 50% power used on screen appears to be normal. The rest of the apps also look like they are behaving themselves, at least power consumption wise. I am not a very heavy user and don't run any games/apps that are huge in resource requirements. Email/facebook/browsing are my main activities.
The current settings on my phone:
Auto brightness
Wifi/bluetooth/GPS all off
Autosync is off by default but will use it sparingly if I need to.
Almost all of my apps have their notifications off and all apps are set to sync manually.
I only have one calender widget on my home screen, no others elsewhere.
CPU Governor is "ondemand", iO scheduler is "row". Min/max freqency: 384/1512 MHz
Juicedefender is enabled with "aggressive" (I know its effectiveness is controversial but on my device, disabling it eats more battery)
Any help is appreciated. "Thanks" will be awarded to all who post!
Thank you!
Click to expand...
Click to collapse
I see horrendous wakelocking. Install BetterBatteryStats. Charge it up for a bit, reboot the phone, then let it idle for a couple hours. Then post screenshots of everything.
It might be the worst I've ever seen. Good news is it's probably not a hardware issue.
It also looks like half the time you had a poor signal. Data transfer on a poor signal can wat at your battery too.
Always use wifi when available.
Sent from my SGH-T999 using xda premium
thanks folks. I've installed better battery stats and will update shots accordingly at the end of the day or end of the battery cycle(probably won't last a day)
Really appreciate the help.
Here are the shots for today.
I rethinked about the poor reception comment and wondered if any of my radios are malfunctioning or if my radios can work in the frequency bands here in Singapore. I called my local service provider to ask about the frequency bands and.it appears that my device's radios can recieve the GSM bands here although they suspect 3G may be an issue. Nothing concrete but I do hope to find out if that could be a possible reason for my battery drain.
I managed to squeeze past 2 hrs of screen time today by using as much wifi as I possibly can. This improvement in battery life probably means that data reception can really be an issue. It's not unlikely that both my home and workplace suffers from.bad reception but i do have a Q. If poor reception is an.issue, will the battery consumption by cell radio sky rocket?
For some reason the previous battery stats screenshots was only for about 5 hrs. i have refreshed and have uploaded the refreshed screenshots
Hairy07 said:
Here are the shots for today.
I rethinked about the poor reception comment and wondered if any of my radios are malfunctioning or if my radios can work in the frequency bands here in Singapore. I called my local service provider to ask about the frequency bands and.it appears that my device's radios can recieve the GSM bands here although they suspect 3G may be an issue. Nothing concrete but I do hope to find out if that could be a possible reason for my battery drain.
I managed to squeeze past 2 hrs of screen time today by using as much wifi as I possibly can. This improvement in battery life probably means that data reception can really be an issue. It's not unlikely that both my home and workplace suffers from.bad reception but i do have a Q. If poor reception is an.issue, will the battery consumption by cell radio sky rocket?
Click to expand...
Click to collapse
This is not BetterBatteryStats. We already know your battery life blows. I want to know why, and BBS will tell me. I can't do a thing for you until you show me that. I think there is a free version on the forums, but it's cheap in the Play Store, and worth it. Get Greenify, too. You're going to need it. Greenify will prevent notifications from showing up for greenified apps. If you don't need notifications from Facebook (honestly, who does?), Greenify it. Maps, too. And disable Juice Defender for now, so I can see what is really happening.
Poor cell reception, if not on wifi, causes drain, yes. It seems to only get really bad when the phone can't hold a data connection.
Try turning off GPS. Also under Settings > Backup and Reset, turn off the Back Up My Data option.
Additionally, check the stickies in this forum. Woody has a fantastic Battery Thread that you should read if you haven't already.
Sent from my SGH-T999 using xda premium
Type betterbatterystats xda on Google. It'll link you to the official thread where you can install the free apk file.
Sent from my SGH-T999 using xda app-developers app
Thanks everyone! I sheepishly searched better battery stats on Google play and.simply installed the first that popped up without looking closely. My bad. I've purchased the app and will post up screenshots soon. I didn't manage to grab the shots today as my batt went flat before I could. Should have kept a better eye.
Will certainly post up screen shots tomorrow.
PS: My GPS has been offed by default. Will disabling Google backup services help?
Hairy07 said:
Thanks everyone! I sheepishly searched better battery stats on Google play and.simply installed the first that popped up without looking closely. My bad. I've purchased the app and will post up screenshots soon. I didn't manage to grab the shots today as my batt went flat before I could. Should have kept a better eye.
Will certainly post up screen shots tomorrow.
PS: My GPS has been offed by default. Will disabling Google backup services help?
Click to expand...
Click to collapse
It cant hurt your battery life! Theres a number of things you can do for settings. Read woodys thread stickied here as its pretty much all there. One of the big batt drainers can be auto brightness btw.
Sent from my SGH-T999 using xda premium
Once you get a good cycle run with BBS, the screen shots we want to see are Since Unplugged/Process and Since Unplugged/Partial Wakelocks. Those two will help tell what is eating your battery and also what is causing all those wakelocks in your original screen shots.
If you are using Juice Defender, that will contribute to the wakelocks (but doesn't keep your device from entering Deep Sleep, so no worries there). I use it, but I have mine set up custom plus have done some basic build.prop edits regarding the RILs and wifi_supplicant_intervals.
My suspicion is that there is a rogue app that is transmitting data somewhere and that is not letting you sleep. If it is transmitting in a poor reception area then that puts ever more strain of things. You are not the first and wont be the last but Doc, Aero and I can help you figure it out.
Images for today. I've included a few more shots for the items that appear lower in the lists.
I've installed greenify but did not add any apps while collecting these data. Juicedefender is also disabled. My screen time was less than 2 hrs.
I did some of the stuff listed in Woody's informative thread. Deleting the tombstone files, lost&found files etc.
Thanks for everyone's help. Hope to solve this issue soon.
Get Greenify from the play store.
Greenify:
Maps
Facebook
Google Now
Take more pictures with BetterBatteryStats tomorrow.
Looks like Maps is misbehaving. Terrible coding is terrible.
Yup. Looks like you are broadcasting your location all over the place. Do you use Maps? If not close it and Greenify it.
Are you getting notifications from Facebook or have a "Check-in" thing going on?
Google Now>Settings> turn off what you don't use.
Settings>Location> Off.
Edit: Tombstones and Lost.dir files are just memory management and have nothing to do with battery.
Shots for today. Things are a little better but looking at my screen usage, maybe there's still a lot of room for improvement.
I've greenified just about all apps that may run in the background. Facebook, Maps, Google+, Gmail, Chrome, Google Search (I converted it into user app), dropbox, etc. Whatsapp, Viber and Wechat are spared as I needed them to be able to notify incoming messages. Juicedefender is on, with advanced settings - set to sync only once an hour. Maps have been set not to update my location although I didn't go to the extent of denying location access ( I use maps fairly often).
All these are rather aggressive steps and I do see improvement. What else can be done? Other than my messengers, all my notifications are essentially off.
Once again, thank you everyone for your time and effort.
Please stop using Juice Defender. I want to see what your battery life looks like without it now. And it's also responsible for the majority of your wakelocks. And if you could get us some ~4 hour idle BBS stats (during sleepy time), that would be fantastic.
Aerowinder said:
Please stop using Juice Defender. I want to see what your battery life looks like without it now. And it's also responsible for the majority of your wakelocks. And if you could get us some ~4 hour idle BBS stats (during sleepy time), that would be fantastic.
Click to expand...
Click to collapse
Noted. I'll charge my phone up and take some shots in the morning. Juicedefender will be disabled and hopefully more information will be revealed. Do today's shots show any improvement?
Hairy07 said:
Noted. I'll charge my phone up and take some shots in the morning. Juicedefender will be disabled and hopefully more information will be revealed. Do today's shots show any improvement?
Click to expand...
Click to collapse
I think you are heading in the right direction (8% deep sleep improvement). For this next test, please disable Juice Defender (don't turn it off through the app, but disable it in the app manager to make sure it can't run). Also, I'm hoping to get a test where the screen isn't on for more than a couple seconds, so I can get an accurate reading on the usage per hour.
I suspect the rest of your issues (bam_dmux_wakelock), are due to a bad cell connection for a good chunk of the time. Connecting to a wifi network will solve that. If you don't have a wifi network, you can turn on airplane mode, or set up some Tasker profiles to help with that.
Out of curiosity, how bright do you have your screen set? Obviously its a big drainer, but it seems like every time your screen is on the batt level plummets.
Sent from my SGH-T999L using xda premium

Categories

Resources