Related
I was noticing fast battery drain on my phone, so I checked the standard Android battery stats, and couldn't find anything out of the ordinary. I tried deleting batterystats.bin multiple times, but it didn't seem to have any effect.
Then Distortedloop on #project-voodoo suggested I check if I had any apps installed that were causing my phone to frequently wake up. You can do this by downloading Spare Parts from the Market, clicking Battery History and then selecting 'partial wake usage' from the top dropdown menu. It turns out I had an app installed (Huffington Post) that had kept the phone awake (even though it was supposed to be sleeping in my pocket) for 20 minutes out of the past 4 hours (!). After removing the app, my batterylife seems to have improved a lot
So a tip for everyone: even though the built-in stats don't indicate that a certain program is draining batterylife, you might want to check through Spare Parts.
Good tip ! Thanks !
MOUSEY said:
Good tip ! Thanks !
Click to expand...
Click to collapse
Sent from my GT-I9000 using XDA App
thanks nice tip..didnt know this
Cheers! Looks like the Facebook app is keeping my SGS awake
Nice one. No issues except in Network usage the app using far the most is just shown as "0" that is the number zero. Anyone know what this is? It FC's if I click on it.
Thanks for the tip! I was also experiencing a faster drain than usual and I couldn't figure out why. Turns out that Huffington Post and Sipdroid were both high on the list, so I've uninstalled HP and turned Sipdroid off when I'm not using it.
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
hi there,
using BBS, i find that "gprs-data-stall" is responsible for my phone not to sleep. so there are several questions:
- how is this wakelock triggered?
- what does it mean?
- how can we prevent it?
i've been searching the internet for answers, but couldn't find anything. maybe there is somebody around here who can answer at least one of those questions?
regards
..bump..
I have the same waklock also during airplane mode for 7hours:
Alarms: 72, Intent: com.android.internal.telephony.gprs-data-stall
seems like no one on xda knows anything about this...hard to believe
How about a screenshot?
I guess it's under Alarms.
Anyone ever figure this out?
bump, as this is the only thing waking up my phone after vigurous tweaking.. cant find the culprit. its inside com.android.phone.
use BBS to check it, in Alarms.
single handedly went through each app and system process using Autorun manager pro, still cannot find anything that pinpoints this process..
royalbloodvi said:
bump, as this is the only thing waking up my phone after vigurous tweaking.. cant find the culprit. its inside com.android.phone.
use BBS to check it, in Alarms.
single handedly went through each app and system process using Autorun manager pro, still cannot find anything that pinpoints this process..
Click to expand...
Click to collapse
This the one you're referring to? (in screenshots)
As you can see, my deep sleep and battery life overall is pretty good with it...2 hrs 14 mins screen on and 59% or so battery left with a total time of close to 13.5 hrs....Not sure what this gprs-stall thing is but seems to be a regular enough function of the system since the phone is exhibiting good enough drain and battery usage, no?
So i keep seeing people saying they get 10-12+ hours of battery im looking to get 6-8 lol for instance right now im on 74 % take note it says screen used 63% of my battery my brightness is the lowest possible and auto rotate is off also screen idle 16% standby 15% system 5% wifi 2% please help i would love to see 10+ hours of battery all i do is text and sometimes facebook
* All location settings are off
* every sync is off
* Backup is off
* brightness is on 0
* Power saving mode is on
* i need assistance thank you in advance
jamal777 said:
So i keep seeing people saying they get 10-12+ hours of battery im looking to get 6-8 lol for instance right now im on 74 % take note it says screen used 63% of my battery my brightness is the lowest possible and auto rotate is off also screen idle 16% standby 15% system 5% wifi 2% please help i would love to see 10+ hours of battery all i do is text and sometimes facebook
* All location settings are off
* every sync is off
* Backup is off
* brightness is on 0
* Power saving mode is on
* i need assistance thank you in advance
Click to expand...
Click to collapse
ICS or JB? Custom rom/kernel or stock? What is the screen timeout set to?
Sorry i should have mentioned that i am rooted on teamsonic FreeGS3 Jellybean v1.0.0 but as far as kernels i have not changed my kernel yet but do you think i should if so could you send a link to the best kernel for my battery life? one other question i have the worst internet speed here in Philadelphia PA they dont have LTE yet idk why.... what prl would give me the quickest 3g speeds ? or would i have to roam on verizon
jamal777 said:
Sorry i should have mentioned that i am rooted on teamsonic FreeGS3 Jellybean v1.0.0 but as far as kernels i have not changed my kernel yet but do you think i should if so could you send a link to the best kernel for my battery life? one other question i have the worst internet speed here in Philadelphia PA they dont have LTE yet idk why.... what prl would give me the quickest 3g speeds ? or would i have to roam on verizon
Click to expand...
Click to collapse
Did you dirty flash or do a clean install (not just factory reset but full internal memory wipe)? Kernel provided with GS3 should provide good battery life. Might clear battery stats as well. How long have you been running the rom and what did you come from?
I'm working through the same problem on stock LJ7 Jellybean, and in my case it's definately related to maps and location sharing. If I leave the phone off for an hour after unplugging it, it's down to abouot 95% with about 50% of the battery use listed as maps. I keep finding more settings in maps to turn off. Make sure in maps under location reporting it's set to Do Not Update. Turn off Location sharing and location history too.
poit said:
I'm working through the same problem on stock LJ7 Jellybean, and in my case it's definately related to maps and location sharing. If I leave the phone off for an hour after unplugging it, it's down to abouot 95% with about 50% of the battery use listed as maps. I keep finding more settings in maps to turn off. Make sure in maps under location reporting it's set to Do Not Update. Turn off Location sharing and location history too.
Click to expand...
Click to collapse
Curious. If you turn off Location Sharing in Maps how does Maps know where you are?
jeffvb9 said:
Curious. If you turn off Location Sharing in Maps how does Maps know where you are?
Click to expand...
Click to collapse
There is location reporting and location sharing. Reporting picks up your location when it opens maps. Sharing shares your location with other peeps. You can leave location reporting to update auto and un-check sharing if you want.
If you continue to have issues with battery and want to stick with it then try using Juice Defender and setting the auto update setting for apps. This really boosts my battery life no matter what rom I'm on. There are also some good free battery monitors in the market that may give more detail into what is using the juice.
CCallahan said:
There is location reporting and location sharing. Reporting picks up your location when it opens maps. Sharing shares your location with other peeps. You can leave location reporting to update auto and un-check sharing if you want.
If you continue to have issues with battery and want to stick with it then try using Juice Defender and setting the auto update setting for apps. This really boosts my battery life no matter what rom I'm on. There are also some good free battery monitors in the market that may give more detail into what is using the juice.
Click to expand...
Click to collapse
I've had issues with Samsung Push and Gallery eating battery. Had to freeze both of those.
[NG]Owner
If you recently plugged in your phone with usb cable to pc you need to reboot and charge it with an a/c charger and it should be better. That's what happened to me after fully charged over an 1 1/2 hours it's still sitting at 100%. See link below.
http://forum.xda-developers.com/showthread.php?t=1963792
I have Samsung Galaxy S4 (TMO) running on rooted stock ROM 4.2.2.
Off late, I have been observing that the battery is draining much faster than it should be.
Earlier it typically used to consume ~12% of the battery during night time (when the phone is not used at all).
However, off late my battery is draining rapidly and is not standing for at least 8 hrs.
I checked the battery usage and got to see
Google Services (v4.3.11) is ranked higher at ~52% followed by
Screen
Android System
Android OS
etc.
I used Wakelock Detector to see what items are causing this drain.
I figured out that under Google Services the top ranking battery eaters are
NlpWakelock
NlpCollectorWakelock
So I tried couple of different things by disabling Google Sync. Even then, there is no change.
The following is what I did which fixed the battery drain:
1. I disabled/unchecked the Settings -> Location Services -> Location Sources -> Use wireless sources
After this, I checked the usage in the Wakelock Detector.
NlpWakelock : This one is now stopped and I don't see any activity with this wakelock
NlpCollectorWakelock : This continues to have wakelocks and is still ranking higher.
2. Now I set the Settings -> Location Services -> My places -> Home -> Selected Method -> None.
Earlier I had this option set to be identifying my home using my WiFi network. This is causing continuous In/Out data transfer (most probably polling to the network to check if the connection is alive) in the status bar observed by the WiFi icon. Once I set this to None, I don't see continuous In/Out data transfer in the status bar.
Apart from the above, I did power off the phone and removed the battery when it showed <5%. Left it like that for couple of hours. Then re-assembled and then it showed me 10% and recharged it after that. I did this on purpose to calibrate the battery (but not necessary) due to continuous discharge/recharge cycles happened for the last couple of days.
After recharging it to 100%, I left the phone without using it for 4 hrs to observe the wakelocks. Voila, the Google Services is at the bottom of the list. The above two wakelocks are no more seen under the Google Services. By the way, I did have the Google Sync on during this observation. I observed 1-2% battery drain for each one hr.
After this, the battery drain is not happening. For the past 9 1/2 hrs, accessing - Facebook, google search, The Weather Channel - couple of times resulted in 17% battery drain so far.
UPDATE: It's been almost 22 1/2 hours by now... the battery is now at 52% after a normal usage of accessing - Facebook, google search, The Weather Channel, CNN, TOI, Google+, phone calls and having Google sync on.
Hope this helps anybody else having a similar problem.
Greenify.
Yeah it's been well documented that Google Service locations(mainly the "Wi-Fi and cellular network" option) will drained the battery quick.
???
Thanks for this info. My phone started dying in the middle of the day when it didn't used to. I'm not sure if I updated something and it caused these settings to change but I will see if this helps.
This didn't help me. I have massive battery drain. I made a few wipes, changed different stock roms. Now I'm on Google edition ROM and It's the same. Nlpwakelock is a nightmare for me. Could it be a third party app problem?
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
uresh.kuruhuri said:
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
Which app is showing to be using the NlpWakeLock?
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
One more thing, after doing any changes, in order to get fresh wake lock information, you need to restart the phone. That way, you would know if the NlpWakeLock is being used from the fresh restart. However, if you see the Battery stats from the phone Settings, it would still show the information from the last recharge.
uresh.kuruhuri said:
Which app is showing to be using the NlpWakeLock?
Click to expand...
Click to collapse
Google Play Services. I tried to restart the phone. More info about what I tried is here
Edit: I turned off Location Reporting and History, and it's much better. Google Now is making wakelocks now, but only few. Anyway Google ****ed up their own services.