Related
I think my phone is suffering from the Android OS keep awake bug. I just charged my phone to 100%, rebooted, opened and closed the camera app and left it alone for about an hour and a half. I am down to 92% batter life remaining. This seems excessive. The Android OS app shows a keep awake time of exactly 93 minutes which is also exactly the same as the up time.
I don't quite understand BetterBatteryStats just yet, but BetterBatteryStats shows "gps-lock" as 1h27m4s under Kernel Wakelocks since charged. Nothing else comes close. The highest Partial Wakelock is ActivityManager-Launch with 12s. Under Other Awake is 93 minutes and Screen on is 2 minutes. BetterBatteryStats is the first item under Process the surfaceflinger and com.android.phone.
Before rebooting I had set my GPS settings to (and they remained this way after reboot)
-Google's Location Service : Unchecked
-GPS satellites : Checked
-Location & Google search : Unchecked
Other stats:
-Verizon LTE
-bigxie IML74K Build 2
-franco.Kernel #12 (hotplug enabled, 350k low, 120k high)
-No widgets
-No other apps were opened
-Gmail is set to sync. I haven't run or configured Google+ (don't use it). Gmail/Calendar/Contacts should be the only things syncing, no facebook sync.
I had similar issues before flashing the kernel and rom.
How can I get this thing to go to sleep? I don't think this should be consuming so much battery life while idle.
you have a "bad app" that is preventing the phone from deep sleeping.
get cpu spy from the market to verify how long your phone is staying in each state
do you have any notifications in the notification bar?
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
lethologica said:
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
Click to expand...
Click to collapse
I don't use BetterBatteryStats so I wouldn't know.
I personally set my CPU speeds from 700-1200MHz (as indicated by Franco and others... setting it to ~300 is bad because it makes the phone use more power to catch up)
How many apps do you have? can you use AppBrain or something to provide me a list of what apps you use?
I just took a list at my CPU Spy...
0:09:51 1200Mhz
920 MHz... 0:01:35
700MHz: 0:09:49
Deep Sleep: 3:21:43
82%... 3h 50m 35s on battery
Android OS 28%
Screen 24%
Google Voice 14%
Phone idle 14%
Android system 7%
Cell standby 3%
Nova Launcher 3%
Wi-Fi 2%
Beautiful Widgets 2%
Market 2%
700-1200MHz. Conservative Governor. Hotplug off
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
lethologica said:
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
Click to expand...
Click to collapse
It doesn't have to be a system app. A app can be started as the moment as Android OS is started.
Not all apps are listed in that battery monitor. I can tell you that for sure. Definitely something is wrong with your phone setup.
The best way to debug it (in my opinion) would be to backup all of your apps and reflash the ROM from scratch. Flash bigxie's ROM (or try another ROM if you choose to) and Franco's Kernel.... install CPU Spy and leave the phone off for like 5-10 minutes. See if it deep sleeps.
Edit: Try this https://market.android.com/details?...251bGwsMSwxLDEsIm5leHRhcHAuc3lzdGVtcGFuZWwiXQ this should help you figure out what app it is.
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
lethologica said:
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
Click to expand...
Click to collapse
You did update to the latest Google Maps right? it contained fixes for the battery. Maps is a huge drain if it runs in the background. I always leave my GPS deactivated even though it's activated ondemand. I just don't trust it.
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
lethologica said:
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
Click to expand...
Click to collapse
It's probably software. Something is keeping the GPS on. Either by a app or ROM. Most likely app.
If you're not using gps with google location services, it will take a while to lock.
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
joshnichols189 said:
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
Click to expand...
Click to collapse
Any idea on how to figure out what that app is?
I'm not sure how to find an app that is constantly requesting GPS, but I know the app Watchdog will help find an app that is running in the background consuming processor cycles.. you might want to try that but I have no idea if it will work.
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
did you tuck your phone in?
I had that problem with a Rom and turning on and off the Bluetooth would fix the problem.
Sent from my GalaxyNexus using Tapatalk
imail724 said:
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
Click to expand...
Click to collapse
Try disabling GPS when you're not using it. Worked for me.
i tried to freeze the google maps, but still getting the GPS wakelock.
from the other thread, some one mentioned about facebook.
i freeze facebook in titanium backup. looks like the GPS time is not increasing.
are you guys having this issue installed facebook app?
the other thread:
http://forum.xda-developers.com/showthread.php?t=1419087&page=3
Can an expert scheme in which is better method and why?
I removed lots of bloats apps from here and feel like my phone drain faster than live them on or disable them. Any experts?
disabling an app disables it so the system knows not to use it. uninstalling an app gets rid of it so it's not physically on the phone. If you want more space on your internal memory uninstall the apps. If your noticing more drain check your battery stats and your data states in system settings. There has to be an app or something doing it. The disabled apps shouldn't because they're disabled.
spawn50ak49 said:
If your noticing more drain check your battery stats and your data states in system settings. There has to be an app or something doing it. The disabled apps shouldn't because they're disabled.
Click to expand...
Click to collapse
I use CPUSpy to keep an eye on if my phone is doing odd things. For example the other day my battery was draining like I was constantly using the phone. CPUSpy confirmed that to be the case ... my phone was not going in to deep sleep.
BetterBatteryStats will give you an idea of why your phone isn't sleeping properly (assuming that's your problem). In my case, it turned out to be the Google+ Camera Upload service. It was constantly holding a wakelock, so my phone wouldn't sleep. I hadn't even configured Google+ so I'm not sure WTF it was doing. I froze the app in Titanium Backup and haven't had a problem since.
Also... just IMHO - I don't remove stock apps. Freeze them in Titanium Backup. That way if something goes bad after freezing an app, you can just defrost it and resolve the issue.
I have Cpuspy check for 2 conditions. Both went to deep sleep fine. The difference is stanby time. Even phone is in deep sleep, the % battery goes down faster for Rom with all bloat s removed
★♡★ AT&T Galaxy Note II ☆♥☆
Check your cell standby. How much battery is it using. If your phone has to keep looking for signal it's going to use more battery.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
UPDATE: Wanted to add from personal experience that these tricks all work on 4.4 KitKat ROMs. This information isn't stale
This guide should work for any Android phone running any ROM. (Though you do have to be rooted for most of these options. Nothing is THAT simple!)
The goal is to reduce your battery drain when your phone is idle. Nothing in this guide will improve your battery life when the phone is in use. But it will keep the battery from draining quickly (actually it will nearly keep it from draining at all) when the screen it off and the phone is not in use. And the battery savings can be extreme! As I write this guide my phone it has been 4 days, 15 hours, and 9 minutes since I last unplugged my Galaxy S4. I have 33% battery life remaining. You can have this too!
These fixes are not your typical "Lower screen brightness and delete carreir bloatware and disable auto syncing" tips. (Though all that stuff is still a good idea)
You can try all of these techniques or just some of them. Some of them will break features of your phone and might not be good options for you. Only you can decide if these fixes are right for you.
Special thanks for Mike216 and Penko956 for the endless research they did Greenifying, freezing, and disabling they did on just about every system and app on thier phone to see what all could be disabled. And to Torbitege who initially helped figure all this out with me for the HTC Sensation.
First off, what's using your battery?
If you're not already familiar with Better Battery Stats, fix that about yourself. Download it. Use it. Love it.
This app will run in the background constantly monitoring what's using your system resources 24 hours a day. It will tell you what apps are causing wakelocks, which are waking the device, etc etc etc.
The app won't do anything to help your battery life. But it will give you the information you need to adjust problematic apps.
Wakelocks and Battery Drain caused by Google Services
The battery saving impact is major.
This is my personal favorite battery saving technique. But it's not right for everyone, so read thoroughly.
Basically Google thinks your phone belongs to Google. Google Services runs A LOT even when you're not using the phone. This causes a ton of wakelocks and wake ups that use battery. I hate that. So I stopped it with a simple mod to the Google Services Framework.
Here's how....
This is a good old fashioned dirty fix, as it breaks some things. Most push notifications WILL NOT WORK AFTER DOING THIS!!!!! So this is not for everyone!!!! You've been warned. Please don't complain later in the thread that you aren't getting new mail or Twitter or whatever notifications after doing this. You're being told up front they will probably not work.
GTalk and GoogleNow (and maybe a few other things) will not work after doing this. Push notifications for any Google apps will also not work. They are casualties of the dirty fix. But if you're like me and never use GTalk or GNow this will help. Some other Google services might not work after this either. But if you're like me and the only Google service you use is the Play Store app, this will not affect you adversely. (Gmail and Google Maps run independantly of the Google Services framework and are not affected at all by this.)
Use this version of the fix for older Google Service Framework installs. You will know if you have a newer version if doing this install doesnt' prevent your wifi and data icons from turning blue (or whatever color your theme uses). If they turn blue, use the newer version below....
You need to download System Tuner from Google Play. The app will tell you to get Android Tuner instead. Don't do it. It doesn't have what you need. The icon is a blue suitcase with tools on it. Thats' the one you want.
First I froze GTalk and Gnow (Google Search). And no, you can't just freeze those two apps without touching the GSF. The GSF will still create wakelocks when trying to activate them even if they are not there. So you have to modify the GSF as well.
Go to System Tuner and select "Start Ups".
Then pick the Google Services Framework from the list and open it. You shoudl see a list of services.
Uncheck the things on the list below. (Basicall anything with GTalk or Checkin in the title)
gtalkservice.diagnostits.gtalkdiagnostics
gtalkservice.connection autherrordialog
talk.talkprovider
checkin.checinservices$reciever
checkin.checkinservices$triggerreciever
checkin.eventlogservices$receiver
gtalkservice.diagnostics.gtalkdiagnosticsbroadcast reciever
gtalkservice.serviceautostarter
gtalkservices.datamessagereciever
gtalkservice.sendxmppreciever
gtalkservices.packageinstalledreciever
gtalkservice.xmppendpointreciever
checkin.evenlogservice
gtalkservice.service.stalkservice
gtalkservice.pushmessagingregistar
You can freeze the GSF entirely with 1 easy step and that will also kill the wakelocks. But the Play Store becomes another casualty if you do that. Disabling the events above will stop the Google Services wakelocks dead in their tracks, and allow the Play Store to continue working. If you want to go that route you can do it but you'd have to unfreeze the GSF everytime you wanted to update an app.
Newer version if you have updated Google Service Framework.
Freeze the Google Services Framework entirely.
Profit.
Note: I haven't personally tried this and can't attest to it's viability to drawbacks. It was suggested by other members in this thread and confirmed to be working by several other people. Your miliage may vary.
One little quirk with both of the above versions is that when you turn on wifi or mobile data, the signal bars don't turn colors. They stay gray because you aren't connecting to the google servers anymore. (They normally change color to indicate that you are connected to the Google servers). After 1 day I stopped noticing they didn't change colors. Now it looks weird to me when I see them colored.
I highly recommend making a Nandroid backup before trying any of this. Once you go that, go nuts! You can't hurt too much when messing with the GSF because it will just shut down google elements. Worst case, you can always just reactivate everything, reboot, and it'll all work like it did before you messed with it. But if you accidentally disable Android System instead of Google Services, you will probably kill your ROM. So back a backup first.
And severely worst case, if you totally louse up your ROM, just restore the Nandroid and it'll all be back to normal in a flash. (Get it? In a 'flash'...haha I crack myself up)
The Greenify App Sollution
The battery saving impact is moderate.
This is one that you're just silly not to be doing.
Get the Greenify App from The Play Store
There is a free version. But its freakin' awesome so buy the donate version. It's $3 and the developer has more than earned it for the way he's making your phone awesome. (The donate version also includes some special experimental features. Read all about it. Do NOT just get the donate version. You need the free version too.)
This app basically lets your freeze any user app when you're not actively using it. And unfreeze it automatically when you want to open it again.
So if you have an app that likes to wake your device and run itself when you're not using the phone, you can just Greenify it and it will be prevented from using any system resources when you're not actively using the app.
You don't want to Greenify everything. Some apps need to run 24/7 like your messaing app, your phone app, etc. If you Greenify those you won't get messages or calls. The app is incredibly simple to us. You just select the app that's causing trouble and tell Greenify to 'go'. And it does the rest. It's just as easy to un-greenify an app if you greenify something you shouldn't have.
Not every app on your phone needs to be Greenified. Most apps behave themselves. Only do this to the ones that are showing as causing wakes or alarms or wakelocks in a battery monitor like Better Battery Stats.
Two that I will suggest for everyone to start with are Google Maps and T Mobile's My Account app. Both of these love to run when the phone is alseep.
If for whatever reason Greenify those apps hinders the way you use your phone, just ungreenify them! Simple as that.
Google Play Services and You
The battery saving impact is noticable.
Google Play Services wakes the phone a lot. It also does a lot. Read more about what all Google Play Services does here.
You have two options for this one. The first option is the nuclear option. Freeze Google Play Services outright. It will never bother you, but it might break some usefulness of other google apps.
The second option, thanks to XDA Member Karpfenhai , is to disable only certain aspects of the Google Play Services. This one uses the same technique mentioned above in the Google Services Framework Section, just different services to disable. (Thanks to Perseus71 for making me aware of this one and asking that it be included!) THIS HAS BEEN RECENTLY UPDATED
NEW PROBLEM AS OF MARCH 2015
The battery saving potential is ABSOLUTELY REQUIRED!
Since Google updated Play Services all hell has broken loose on custom roms. You get a persistent and unkillable wakelock for SystemUpdateManager.
The battery drain is horrendous. Your phone is awake and active 100% of the time.
This affects GPS version 7.0.97
I fixed this by going to the permissions manager (built into many aosp roms. If not available in your rom, consult yoir rom thread for ways to alter permissions) and disabling the permission in Google Play Services for "wake" and "keep awake".
Note: Some phones only show "keep awake". Just do that one if that is the case.
The problem is that on custom roms no ota is available. But Google tries to get it anyway. When it fails it doesn't shut down. It just keeps trying.
If the permissions method doesn't work, try this...
http://forum.xda-developers.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548
I
Just so you don't think I'm kidding around when I say you can severely increase your battery drain when idle, take a look at tehse screen shots from my Galaxy S4.
My specific set up is running CyanogenMod 10.1 nightlies with ChronicKernal. I haven't been using my phone much over the past 4 days. I have a total of 2 hours and 34 minutes screen on time and 40 minutes of phone calls during that period. So this is admittedly very light usage. But that's perfect to show you that these techniques really work to minimize battery drain when the phone is idle. And I promise you that your results will vary based on your ROM and Kernel.
This won't make the battery last longer during use. The screen will still burn a lot of battery and the cell radio does too. But if you want to make sure your phone will be charged when you need it without you having to carry a charger with you everywhere you go, these are the mods for you.
As you can see from these screen shots I am at 4 days, 16 hours, 50 minutes since unplugging. I have 31% battery left. (That's what the 31 in the upper left corner is. Thats' from an app called Big Battery Notifier. Its free on Play.)
The other screenshot is from Better Battery Stats showing my Alarms screen. Alarms are loosely the same as wakes. Everytime an app wakes the device (not neccessarily turning the screen on) it will record an alarm. If you look at your BBS alarms screen without these modifications I bet you see a lot more alarms than you see here, and keep in mind that mine screen show is showing 4 and a half days worth. Each one of those represents an app or service waking the device and using battery.
If the written instructions somehow baffle you, here's a video of the whole thing!
http://www.youtube.com/watch?v=cUBpOl77Tm4
This will show you step by step how to do all of this.
Thanks to XDA Member Chaitanyapatel8880 for his work in putting this video together
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
*Note: You must use Greenify v1.82 to Hibernate Google Play Services! Search this thread for links to it.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
I like your way of dealing with Google play services. I'll change the op later.
That doesn't break function of the play services to run as a user app?
Sent from your phone. You should be careful where you leave that thing.
Skipjacks said:
I like your way of dealing with Google play services. I'll change the op later.
That doesn't break function of the play services to run as a user app?
Click to expand...
Click to collapse
I have not noticed any dysfunction, though there are likely some things I don't use. But for me it's been completely functional.
Besides, if I froze it, I'd have none of it's functions at all.
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
How do I convert those services to user apps?
Sent from my SGH-M919 using xda app-developers app
rodny23 said:
How do I convert those services to user apps?
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Titanium Backup will do it, I think you need the paid version though.
/System/App Mover is also good app for doing it. It's free on Google Play.
Dang right now Google services is at 41%
Sent from my SGH-M919 using xda app-developers app
Skipjacks said:
Titanium Backup will do it, I think you need the paid version though.
Click to expand...
Click to collapse
Yup. I think you're right.
Something disabled notifications for instagram, etc.
Sent from my SGH-M919 using xda app-developers app
kevinrubio1 said:
Something disabled notifications for instagram, etc.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Did you Greenify Instragram? If yes, that explains why you aren't getting notifications.
lordcheeto03 said:
Did you Greenify Instragram? If yes, that explains why you aren't getting notifications.
Click to expand...
Click to collapse
Nope, it's something in system tuner, I unchecked all the "checking" things so it's one of the "gtalk" options. I'm narrowing it down
Sent from my SGH-M919 using xda app-developers app
This has saved a bunch of us from odd battery drain. Skipjacks has been there and done that. Amazing informative thread! Going on two weeks without having to worry about bringing my charger to work thanks to skip
SGH-M919_Omega, the end result
kevinrubio1 said:
Nope, it's something in system tuner, I unchecked all the "checking" things so it's one of the "gtalk" options. I'm narrowing it down
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I don't believe it. Instagram is its own thing. It shouldn't be reliant on the google services framework at all.
Sent from my SGH-M919 using xda app-developers app
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
I'm not sure whether Greenifying Google Search would save as much battery as freezing it would, but I'm going to try it out and see how it works for me. I'll report back some results in case anyone is curious
funkl3 said:
I'm not sure whether Greenifying Google Search would save as much battery as freezing it would, . .
Click to expand...
Click to collapse
It does. It also allows other functions to still work such as TTS. I had the issue a while back. Something to do with shared voice.
I also freeze Contacts and Calendar syncs as well. If I want them to sync I simply thaw them for a few seconds.
Skipjacks said:
I don't believe it. Instagram is its own thing. It shouldn't be reliant on the google services framework at all.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Maybe one of the "gtalk" options has something to do with notifications because last night I rebooted my phone a lot checking/unchecking options, none of the "checking" did anything! So that's good, and I unchecked some gtalk but not all and it worked!
Sent from my SGH-M919 using xda app-developers app
Great guide! A little bitter I had to read all of the pages in the original topic :laugh:
Skipjacks said:
I like your way of dealing with Google play services.
Click to expand...
Click to collapse
Btw. I forgot to mention that after I reboot the first thing I do is turn off Google Play in Running Programs. Persistent bugger. And of course I turn off notifications and auto update in GP as well with each new ROM install.
My tweak list is extensive. Someday I'll right it all down as you have. Save me some thinking, LOL.
Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock detector, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
I had the very same problem until yesterday myself but think I found a solution on the web.. Uninstall Google Search and Google Play Services and the goto the Play Store and wait for them to reinstall and that's it....! As I found that there is a bug in Google Services (Nlpwakelock and Location service)
Hope this helps...?
Sent from my GT-N7100 using xda app-developers app
terzisc said:
Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock defender, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
Click to expand...
Click to collapse
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app
yeminswe said:
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app[/
Thanks. I already have Wakelock Detector on. I mistakenly wrote "defender" instead of detector on the original post. It gives me Viber and Messenger as the most active wakelock apps. But they both were not installed when the problem started. Besides, on the 4.1.2 they created no problems. In essence I believe that Wakelock Detector cannot help much. Whatever this problem is , it is well hidden. Thanks for your interest and help anyway. Much appreciated.
Click to expand...
Click to collapse
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Manjunath324 said:
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
terzisc said:
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
Click to expand...
Click to collapse
Which kernel you are using? And also i recommend using Greenify. Widgets usually eat a lot of battery, I went from battery lasting only 8 hours to get my battery use only 30% in 8 hours.
What i did: installed wakelock detector, gsam battery monitor and better battery stats.
Monitorized the wakelocks.
Applied greenify to the apps which were waking most
Removed widgets which were waking alot
Installed Toggle 2G.
Kernel settings: 200-1600mhz | zzmoove | AFTR+LPA | Multicore power saving (SCHED_MC) = 0 | GPU = stock settings
Works like a charm for me. Hope it helps! Any question, ask!
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Nukkels said:
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Click to expand...
Click to collapse
Thank you for the suggestion. I have already taken the battery on and off several times. It had no improvement. The phone is only a year old, that is why I don't believe the battery is the culprit. Besides, problems started only after the 4.3 update. Before that it was working perfect. Too much of a coincidence.
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.
Nukkels said:
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.[/Q
Thanks mate
I think you are right. It is probably a combination of many things. I have opened the Developer options some time back. The one thing that I do for sure in there is limit background processes to 4. Besides that I don't experiment much, exept maybe to change transition animation scale. I am actually thinking of rooting the phone and downgrading to 4.1.2. It was just fine before. I can live without the 4.3 add ons.
Click to expand...
Click to collapse
Problem still persists, even with Google+ and most other Google applications disabled
Sent from my GT-N7100 using xda app-developers app Some screenshots taken from 3 different apps. Wakelock detector, Better battery stats and Gsam battery monitor
Sent from my GT-N7100 using xda app-developers app
The only battery apps on my phone are the 3 mentioned above, so I don't know what the battery monitor that keeps my phone awake is. The drain existed before I installed these apps. I have read that Chrome could prevent the phone from going to sleep but it is disabled on my phone.
Sent from my GT-N7100 using xda app-developers app
http://www.youtube.com/watch?v=ak1sYWRaEKg
I faced same battery drainage issue, after installing wanam kernel and freezing all bloatwares through Titanium Backup. I'm satisfied with my battery now.
You can try.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Here is detail-
Disable sync always, enable when needed.
Disable wifi always scan from settings
Display set to auto
Uninstall apps of playstore you rarely use
Use widgets on lock and homescreen as less as you can (I don't use any)
Disable motion on settings
Freeze all bloatwares by TB except allshare and samsung content agent
Install Agni kernel, from agni control app-
profile: normal
Governor: pegasusq
Scheduler: cfq
Don't touch other tweaks, hardly you can tweak sound boost.
THIS GIVES ME A SATISFIED BATTERY STATUS.
regards.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Wew 4.3 does have may bugs
Have the h811 and using the app but don't know if it's working. On slumber mode
Which app are you referring too?
The deep sleep battery app? That's the first relevant thing I found in the playstore. And the comments on it don't seem too good.
A lot of folks here will recommend the greenify app instead and picking the apps you want to go into a sleep mode until triggered to wake up.
spartan268 said:
Which app are you referring too?
The deep sleep battery app? That's the first relevant thing I found in the playstore. And the comments on it don't seem too good.
A lot of folks here will recommend the greenify app instead and picking the apps you want to go into a sleep mode until triggered to wake up.
Click to expand...
Click to collapse
Yeah that's what I am referring to the deep sleep battery app, I as well am using greenify with xposed module for deeper sleep
With the screen off, you can just swipe down on the off screen to see the time. You will see that your mobile data is shut off. At least this works for me. I can clearly see my LTE symbol disappearing.
Sent from my LG-H811 using XDA Free mobile app
HeartUnderBlade said:
With the screen off, you can just swipe down on the off screen to see the time. You will see that your mobile data is shut off. At least this works for me. I can clearly see my LTE symbol disappearing.
Sent from my LG-H811 using XDA Free mobile app
Click to expand...
Click to collapse
Have you been noticing difference with using deep sleep battery saver?
wadamean said:
Have you been noticing difference with using deep sleep battery saver?
Click to expand...
Click to collapse
To be honest, I have. I also know that it's working because I swipe down when my screen is off and I see that my mobile data has shut off. Last night, I fell asleep without charging my phone at 67% and woke up to.... 67%, I was asleep for about 6 hours. I came from the Sony Xperia Z2 and kept stamina mode on 24/7. I was able to pull off well over 30 hours with that phone. Using deep sleep battery saver (which was based off the same idea as Stamina mode) I definitely noticed a difference in idle battery. Of course, once you get into any sort of task with the screen on then that's a different story.
The LG G4 already had pretty amazing idle times but I have a lot of apps that loves to wake up the phone when I'm sleeping. Before the app, I noticed that I'd wake up to maybe a 5% drain at minimum over the course of 6~7 hours. Sometimes, when my apps update on their own, I'd notice a significant drop of maybe even 10%.
I paid for the app since it's pretty cheap but honestly, I don't notice any real benefit to having the paid version. The paid version allows you to set some whitelist apps which is what Sony's Stamina mode allowed. However, if you're okay with not having that control then the free version is more than enough. Who knows, maybe some people will benefit less from it :/
I just want to make a point that I am also using it in conjunction with Greenify. I'm not sure if using the two really bears any great benefits but under my impression, greenify hibernates user apps while deep sleep can basically prevent anything from accessing data since it also shuts off mobile data. I can't see how using the two would hurt so why not? It looks like they both do different things that combined would be a very powerful battery saver.
HeartUnderBlade said:
To be honest, I have. I also know that it's working because I swipe down when my screen is off and I see that my mobile data has shut off. Last night, I fell asleep without charging my phone at 67% and woke up to.... 67%, I was asleep for about 6 hours. I came from the Sony Xperia Z2 and kept stamina mode on 24/7. I was able to pull off well over 30 hours with that phone. Using deep sleep battery saver (which was based off the same idea as Stamina mode) I definitely noticed a difference in idle battery. Of course, once you get into any sort of task with the screen on then that's a different story.
The LG G4 already had pretty amazing idle times but I have a lot of apps that loves to wake up the phone when I'm sleeping. Before the app, I noticed that I'd wake up to maybe a 5% drain at minimum over the course of 6~7 hours. Sometimes, when my apps update on their own, I'd notice a significant drop of maybe even 10%.
I paid for the app since it's pretty cheap but honestly, I don't notice any real benefit to having the paid version. The paid version allows you to set some whitelist apps which is what Sony's Stamina mode allowed. However, if you're okay with not having that control then the free version is more than enough. Who knows, maybe some people will benefit less from it :/
I just want to make a point that I am also using it in conjunction with Greenify. I'm not sure if using the two really bears any great benefits but under my impression, greenify hibernates user apps while deep sleep can basically prevent anything from accessing data since it also shuts off mobile data. I can't see how using the two would hurt so why not? It looks like they both do different things that combined would be a very powerful battery saver.
Click to expand...
Click to collapse
I have Greenify as well and my battery life is TERRIBLE on this phone. I am lucky to get 8 hours before going from 100% to under 50%...I have a ton of bloat frozen and a ton of apps Greenified. What system apps are you Greenify'ing? The battery life is killing me on this phone, thank God I got a free battery with the promotion.
pettigrew95 said:
I have Greenify as well and my battery life is TERRIBLE on this phone. I am lucky to get 8 hours before going from 100% to under 50%...I have a ton of bloat frozen and a ton of apps Greenified. What system apps are you Greenify'ing? The battery life is killing me on this phone, thank God I got a free battery with the promotion.
Click to expand...
Click to collapse
I didn't greenify any system apps. I just greenified every single user app that could potentially run while the phone was not in use. I also used tasker to force greenify my facebook app the minute the screen turns off instead of waiting for greenify to activate. I also used kernel adiutor to change the big core's governor to powersave and then changed the LITTLE core's governor to interactive.
Like I said in a previous post, I most use greenify for user apps as I kind of don't want to touch system apps at this moment. I use deep sleep battery saver for anything else that could potentially dodge greenify (like system apps that tries to access data). As all these settings so far are for when the screen is off, the Kernel Adiutor settings are for helping with battery life when the screen is on. I don't think the tasker setting is necessary as it very well could just be a placebo effect but I don't like how facebook isn't hibernated immediately.
So to sum it up; the settings I used:
Greenify all user apps
Use tasker to immediately greenify select apps that are power hungry
Use deep sleep battery saver
Use Kernel Adiutor and set big.LITTLE governors to powersave and interactive
**I should mention that I have the T-mobile H811 model which has an unlocked bootloader with a custom recovery.
HeartUnderBlade said:
I didn't greenify any system apps. I just greenified every single user app that could potentially run while the phone was not in use. I also used tasker to force greenify my facebook app the minute the screen turns off instead of waiting for greenify to activate. I also used kernel adiutor to change the big core's governor to powersave and then changed the LITTLE core's governor to interactive.
Like I said in a previous post, I most use greenify for user apps as I kind of don't want to touch system apps at this moment. I use deep sleep battery saver for anything else that could potentially dodge greenify (like system apps that tries to access data). As all these settings so far are for when the screen is off, the Kernel Adiutor settings are for helping with battery life when the screen is on. I don't think the tasker setting is necessary as it very well could just be a placebo effect but I don't like how facebook isn't hibernated immediately.
So to sum it up; the settings I used:
Greenify all user apps
Use tasker to immediately greenify select apps that are power hungry
Use deep sleep battery saver
Use Kernel Adiutor and set big.LITTLE governors to powersave and interactive
**I should mention that I have the T-mobile H811 model which has an unlocked bootloader with a custom recovery.
Click to expand...
Click to collapse
Awesome, thanks for the informative reply. One question, wouldn't putting the CPU governor on powersave make the phone run really choppy/laggy? Also, I have the Verizon G4 no unlocked bootloader but root.
pettigrew95 said:
Awesome, thanks for the informative reply. One question, wouldn't putting the CPU governor on powersave make the phone run really choppy/laggy? Also, I have the Verizon G4 no unlocked bootloader but root.
Click to expand...
Click to collapse
Most day to day tasks are done with the "LITTLE" cores while intensive tasks are done using the faster "big" so you won't normally notice any lag since the governor for the littles is interactive. I figured the only time I would really drain my battery is when I'm using intense tasks that would utilize the big cores. You will notice a little lag when in really heavy apps like the camera but it's really not that bad - it's not like a "I'm-going-to-miss-my-shot-because-it's-so-laggy" bad. Just give it a shot and you'll see what I mean. I don't use my phone for gaming but I do use it for almost everything else including streaming videos and I don't notice any lag other than in the camera - which, like I said, isn't that bad. If you do want to tweak around with the governor though, I high recommend Kernel Adiutor since it is compatible with the big.LITTLE system (meaning it can set the separate governor for both big and little cores) unlike Rom Toolbox Pro.
While I can bear with the slight lag for the extra battery life, you may not be able to take it. Your mileage may vary I guess. Battery life is much more important to me than high performance since I don't do anything intense like gaming or heavy rendering and I'm always on the go so I'm willing to make that sacrifice.
For me deep sleep has been giving me battery drain issues and uninstalled it after two days of use on slumber and my custom mode that didn't let no app awake and also the force tune cpu and what not yet still battery drain. With it off battery drains much much more less