I've setup an LDAP account on my ATT SGS3 and all works fine. I can search the company directory fine, but what I have found is it prevents my phone going into deep sleep. When viewing the battery details my phone is always awake, which of course drains the battery more than it should. Has anyone else setup an LDAP account on their phone. If so can you see if your phone is awake 24/7 under the battery stats details?
Related
I was pissed off as my phone lost all the juice over the night and didnt have time for filling it in the morning as i have to go to my job. Also i am a privacy freak and from obvious reasons i dont like google apps, same goes for gmail (as i am using exchange server i dont need all the sync stuff there) which was my initial reason for preventing the application to start - i dont use ANYTHING releated to google/market and i dont have any account there, i never used it.
On rooted phone I started to prevent starting everything related to google and DRM, market etc. (autostarts https://market.android.com/details?id=com.elsdoerfer.android.autostarts):
- DRM*
- Factory Test*
- com.google.*
(i think this was all, i'll recheck if there was something else)
And guess what. The battery drain over the night is now around 2% and the phone is quite able to survive 2 days (not completely accurate as i had it connected to computer for 10 minutes in between to pump some files from it), after the second night i still had 12% of battery left.
If someone else is able to repeat that, please report the results and if someone is able to figure out which app exactly is draining the battery even batter.
One thing i dont really understand is what are those apps doing during the night, there is no reason to contact any of google services as i dont have any account entered, so wtf are they doing?!
To ROM cookers, please stop adding google apps by default, make them as package to be installed later if you wish.
I do not have any communication or at least there should be none over 3g (droidwall) and i dont want to kill aplications just to have peacefull sleep. I was searching for final solution and i have found it.
One solution is to switch off wifi and data connection in night and sure you will have better battery drainage.
Not entirely related but just a heads up for people, last night i downloaded that Getjar app and it decimated my battery overnight so i uninstalled it this morning.
I assume most on here know about https://market.android.com/details?id=com.asksven.betterbatterystats&hl=en this is the best app you can get when it comes to preventing battery drain (tells you exactly what is draining your battery)
seems getjar is eating away at the battery, dont understand why it needs to do that !
Go to the task manager and kill all running tasks, then clear ur RAM before going to sleep @ night.
I loose like 1-2%
Send from my Samsung Galaxy S II
I do not have any communication or at least there should be none over 3g (droidwall) and i dont want to kill aplications just to have peacefull sleep. I was searching for final solution and i have found it.
If it is a night issue, try turning the display ON before unplugging the charging cord. I have used this method and the battery stays at 100% all night long.
Hi everyone,
I've done very much try and erroring to find out which app is draining my battery and if it's really neccessary.
As you can see on the attachment, it looks really nice already. The only thing which drives me crazy are those long and often "Aktiv" (Awake) parts. I couldn't find any information on the SDK pages.
My Phone seems to be very often Awake while in standby. I can't understand why it has to wake up that often. Am I right, that this "Awake" means, that the cpu is running (not in sleep mode)?
Is there any way to log which software is waking the device up?
Greetings
Chris
Yep, "awake" means that cpu is running. Try Badass Battery Monitor, it has a list called AppSucker, that lists the apps by battery consumption
Thanks. That is exacly what I was looking for.
Now I'm still sure, that there is somethink wrong with the battery consumtion. As you can see on the attachment, "Android-System" takes 2 hours(!) for some stupid things.
These are the datas for one night (it was a short one ) The phone wasn't used at all. Is that normal? I mean, thats nearly 30% of the time. Okay, the total capacity loss seems okey, but the phone hast absolutly nothing to do. Except for some interrupts of from the baseband and some cronjobs maybe. But that doesn't need 2 hours.
Any suggestions what courses these long awake times? Or another way to debug this?
Thanks
Chris
Android-system, huh? Seems like you have a wrong config, or a service is keeping awake the CPU...
Sorry, I dunno other way to debug it, but you already tried to calibrate your battery? (let that your battery runs out, charge it fully and, without unplug the charger, go to Recovery >Advanced >wipe battery stats. Unplug and reboot).
Yep, that was the first ding I did.
I'm running IceColdSandwich - 7.4 - AOKP STRIPPER EDITION. Maybe this is some kind of bug.
Maybe someone have another idea how I can debug this. Nevertheless thanks for helping.
You should check to see if Sync is turned on. This will cause the phone to wake up to contact any accounts you have set up to sync... I would suggest setting sync to off unless wifi is available.
On my rom (Gingerbread base) the wifi is turned of when the screen is off, which will make sure that google will never try to sync while the phone is idle.. The downside you will have to wake the phone in order to receive emails and stuff via wifi, and if not on wifi you will have to check your email manually.
I think I found it. Badass Battery Monitor showed that "Google Backup Transport" is part of Android-System, so I removed it. I didn't use it anyway.
My phone is not crashing, I still runs smoothly. The keep-awake time shrinked to 30m during 7h (including short uses). That seems totally legit for me.
Thanks for helping
Chris
I've had my SGS2 for several months now and haven't had too many issues up until 1-2 weeks ago. I have Hotmail setup with EAS and push on the phone and normally I'd get through a day without charging my phone. However about 2 weeks ago I was overseas and had no internet coverage, I added a couple of contacts in and 1/4 of them synced. The other 3 haven't no matter what I tried (Editing, deleting & re-adding via Vcard, deleting and manually adding) which I think *may* be a possible cause of Exchange consuming a lot of battery power.
Anyhow I installed BBS as the phone battery graph shows the phone being awake a lot, and sure enough Exchange is causing a lot of wakes, but there's also wakes I have no idea what they are from.
Does anyone have any suggestions on fixing Exchange & my battery issue? Screenshots attached.
Install CPU Spy for the store. It'll probably show your phone is not using its deep sleep state, may be not even the lower CPU frequencies either.
This happened to me once also, and the problem was with the Mail Exchange as you're guessing.
One quick way to diagnose that is to do the following.
Go to
System Settings --> Applications --> Running
Find Email and Exchange Services, click on it and Stop everthing you can.
After confirming these services have stopped, go back to CPU spy, click on your menu soft key, and Reset Timers. This will clear the times your phone has spent in each CPU state. Now, exit CPU Spy, lock your phone and return in 10 mins or so. Open CPU Spy, it should show that for most of that time your phone has been in Deep Sleep and has used the lower CPU States a little bit also.
When this happened to me it got so bad that the phone was continously 'locked' on 1200Mhz. Stoping Exchange services was the only way it would 'unlock'.
I had the LUXURY of having being able to reflash my rom and getting rid of the problem (which may have been caused when i updated my rom without wiping), but i don't think you are rooted / using a custom rom.
In which case it's probably a good idea to find your Email and Exchange app in --> Manage Apps --> All, and clearing Cache and Data for both. Note you'll loose all your emails and settings, (which you'll be able to retreive when you resync it etc).
I was having same problem with the stock email. My battery which used to last about 12h heavy usage now doesn't last 7h idle. I fully charged last night and removed from charge before going to sleep, woke up this morning battery was drained.
The exchange email program wasn't allowing the system to deep sleep which was being a pain, after much reading everywhere I decided to delete my exchange accounts (hotmail, gmail), clear the cache and restart the exchange config.
At the moment, seems to have worked but many people who have done this have said that with the time the problem will return so it's not a fix really.
I'm willing to see how long it will work, give it a try as well.
If doesn't work, try K9, touchdown or a any other alternative email client of your like but don't forget to remove your account from the stock. When I removed my accounts from the stock email program, my battery went only 2% down in over 2 hours.
O_Kara said:
I was having same problem with the stock email. My battery which used to last about 12h heavy usage now doesn't last 7h idle. I fully charged last night and removed from charge before going to sleep, woke up this morning battery was drained.
The exchange email program wasn't allowing the system to deep sleep which was being a pain, after much reading everywhere I decided to delete my exchange accounts (hotmail, gmail), clear the cache and restart the exchange config.
At the moment, seems to have worked but many people who have done this have said that with the time the problem will return so it's not a fix really.
I'm willing to see how long it will work, give it a try as well.
If doesn't work, try K9, touchdown or a any other alternative email client of your like but don't forget to remove your account from the stock. When I removed my accounts from the stock email program, my battery went only 2% down in over 2 hours.
Click to expand...
Click to collapse
Ok, last night the exchange has started playing around again. Deleted my accounts and installed Touchdown.
It has made a incredible difference, in 4 hours my battery has gone down 8%.
My only problem with touchdown is that it doesnt push emails to my both accounts simultaneously, I need to physically switch account to receive those emails.
I also tried K9 but as I couldnt set up my hotmail account it didnt work for me.
Hi,
I've been having problems with deep sleep with wifi on at night, draining 100%->60% overnight.
I've been troubleshooting, and found out it's WLAN_RX_WAKE wakelock being toggled thousands of time overnight, so I set out to find the culprit.
With Shark for root, I noticed that there were 1-2 IP's that were mostly sending packets to my phone and googled them and it turns out the IP's belong to "GOOGLE".
In BBS, i noticed in data usage, that google search and google were the two apps using up data overnight (when I didn't touch my phone.)
So is it safe to say that google search is the cause of the sleep-deprivation my phone is getting? And did anyone else have similar problems? I don't necessarily want to freeze google search because I use it often enough for voice commands, but I guess I might have to if it's the culprit. Otherwise I'm at a loss. Any ideas?
More info: Location is off, no sync going on, no e-mail sync either, etc.
Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
System version?
I'm on Android Marshmallow, using Resurrection Remix ROM.
I'm not quite sure how to use the wakelock blocker, but I just installed Wakelock detector and it shows TripAdvisor as #1 on the list. I have it blocked in notifications, but I can't find anything related to TripAdvisor in wakelock blocker.
Is there any way to prevent apps from keeping the system awake, or should I just unintall TripAdvisor completely?
Not sure if I'm on the right track, but something is keeping the system awake and I need to find out what
OS3 with google back up turned off I get zero drain. Maybe 2-3℅ max over night. Also turned off automatic updates playstore. With just those two things off dont see drain anymore might just be lucky.
Well I think I'm back on normal drain. I uninstalled TripAdvisor, not using it except when I'm on holidays. I disabled the option to keep WiFi on even during sleep.
I used wakeblocker to block all weather/facebook entries, and I have two gmail accounts, one which is use a lot and one which I don't - so I blocked all wakelocks from syncing the account I don't use often.
Battery history confirms device is now correctly going to sleep and turning off WiFi. Automatic updates are still on.
I probably blocked too much, but I don't care anymore, I have 30% more battery every morning and that's good enough for me
crótach said:
Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
Click to expand...
Click to collapse
Which ROM and recovery do you use?