yashsingh1/xdaforums huggingface dataset:
[Nexus S General] labratqld:
So after all of the above, last night I had a bit of success I think.

I disabled G+ syncing, GTalk was enabled, most of my google apps were allowed to sync (calendar, contacts, drive etc), Google Now was enabled, on 3G, WiFi off.

The other thing I did after reading a post yesterday was to check my APN settings, and alter them slightly to match what my carriers website says I should use. I wonder if this may have helped too in my situation.

As you can see, it actually slept for a lot of the night, unlike my previous post, and "cell standby" is the biggest component of battery. It still lost about 20% overnight, but that's HEAPS better than the ~40% the night before!

For my situation, I'm happy where battery life is at now, as I normally leave it on charge overnight, so I'll have plenty for the day now.

I hope this essay may help someone!! :laugh:
[Nexus S General] chronophase1:
Well, its kind expected. Its using network location and the network itself. You have to pay to play. It sucks, but that's the way it is.
[Nexus S General] easye420:
Yea my battery life has been "OK" not as good as ICS though. I'm gonna try to update the kernel and see if that helps. Its weird though cause nstools used %20 of my battery yesterday for some odd reason. I could usually make it all day but now I have to charge it twice a day. I might just try another ROM out. Anyone have any suggestions.
[Nexus S General] sacosta115:
Trying something new...

OK so to start off with I have had some seriously ****ty battery life since I updated to JB 4.1.1 , Now, I have had no root and everything is Completely stock. I bought this phone off of eBay used because the outer glass was cracked and he didn't want Fix it. CHACHING!!!! Great deal for me. So got the Nexus S i9020T for $75 Plus $15 for the outer glass and another $17 for a new back casing. So now the phone looks brand new. Only Just waiting on my new battery to come. Because Like I said before, The device was purchased a little while after it was released, so i know that the battery was never replaced. What I'm trying now and will still try with a new battery is this.... I have GOOGLE Now, talk, and voice disabled to try and see if this gives me and new length in charge time.Current fully charging and will test tomorrow at work. I usually have screen at AUTO or half, WIFI off, SYNC on and GPS on and nothing in the cache. I will run it like I normally do and hopefully get better results than what I'm used to. I work seven to five M-F and around 4:30pm I have 10% left. and Thats with minimal usage.
[Nexus S General] chronophase1:
Unless you heavily use Talk and Voice, the battery difference is negligible. Im signed into both every day and never have wake locks from either. GN with its location use is where you need to start. Make sure you don't have any apps on auto update unless you need them to. Ensure that Maps isn't running either. I'm sure there are other things I can think of but my mind is drawing a blank.
[Nexus S General] usergreece:
Strange Battery stats?

Hello,

i have a strange problem with battery and statistics

i have a Nexus S 9023 running JB 4.1.1 all stock

When i had ICS 4.0.4 i didn't have any problems

I am always on 2G because of better signal and i don't use Mobile Data

the problem is its like the Statistics are wrong

I took these screenshots ,if anyone has any ideas whats going on.

My battery stats say that after 17Hours and 57 minutes i have 86% battery left .

Android System is using 63%

and the phone wakes up every X minutes as it shows in the screenshots.

unfortunately i can't post images.

if anyone wants to see the screenshots check this link

imgur.com/a/sHtZA#2
[Nexus S General] Bls440:
Is it normal to have 4 Maps entries in the running apps menus on JB? I remember having only one or two on ICS. I have disabled Latitude but I'm using the News & Weather widget so it is probably checking my location every now and then. However, one of the entry says "0 process, restarting ...", yet it never starts (it is labelled as "NetworkInitiatedService") ... What is this?

Also, under Google sync, it says that it cannot synchronize and that it would be synced "soon". I've only enabled sync for Gmail, Contacts & Calendar and it seems to work fine. I tried rebooting, disabling/enabling services one by one, yet it keeps saying it can't sync ...
[Nexus S General] ScOULaris:
So Facebook is sitting at the top of my battery usage stats even after I disabled notifications and set the Refresh Interval to Never.

Anybody have any clue what's going on here? What is the FB app doing in the background to suck up battery life if I set it to only manually pull updates when I launch the app?

Edit: Well, I just got tired of this ****ty app's shenanigans in general, so I just uninstalled it. The mobile version of the site should serve me well enough, as I never used notifications anyway.
[Nexus S General] chronophase1:
Being Facebook. The app is utter garbage.

---------- Post added at 01:25 PM ---------- Previous post was at 01:22 PM ----------

The sync issue may be server related. If you have GPS on, Maps may start on its own. Are you rooted? If so, I recommend AutoStarts from Play. It should help with Maps starting all the time.
[Nexus S General] royalsego:
I just received OTA update to JB, major battery problems and device is RUNNING HOT

it's an 'uncomfortable' warm, the app that's using the most battery is the e-mail(exchange)

i have had periodical problems with exchange for apparently no reason, sometimes it would drain battery for a week, then go back to normal... but nothing this severe

i woke up this morning, unplugged the charger, stopping syncing exchange emails, got in the shower, came back out 10 minutes later, battery at 88%!!!! this isn't going well

device is bone stock
[Nexus S General] rrohanjs:
anyone figured out what makes google services eat battery and keep the phone awake, i turned off everything possible except data for whatsapp still it shows up

google services

google contacts sync

bookmark sync

account manager

services framework

network location

google play services
[Nexus S General] C4SCA:
Read the rest of the thread' i gave the awnser. Its google now and google location service. I disabled both and now my phone goes normally to idle instead of keeping awake
[Nexus S General] Bls440:
Sync issue has been resolved by deleting and re-adding my Google account.

As for the Maps services, my GPS is turned off. I've managed to close all of the services by clearing data & cache. But I'm afraid that they may all start again next time I launch the application. I will give Autostarts a try.
[Nexus S General] rrohanjs:
i did read and i did disable it, still i get it, thats the problem
[Nexus S General] jokkir:
ROM Jellybean AOKP KANG from HERE

KERNEL Test _thalamus kernel w/ IDLE2 patch (I think) from HERE

GOVERNOR Ondemand (according to NSTools

GENERAL USAGE

Nothing. I unplugged the phone last night to see what the battery would be like when I wake up and I see this. I started off from 79%-80% and woke up for it to be at 68%-69%. I did wake up in the middle of the night to check the time though but that was only for a few seconds.

CONCLUSION

What's up with the maps being woken up a LOT? Losing 12% battery doing absolutely nothing seems pretty bad and for some reason the CPU had a lot of 1000MHz usage considering I didn't use my phone.

Actually, I had the maps problem on 4.0.4 (ICS) when I updated to the latest version. Anyone knows what's up? Prefetcher service was running in the background and the Location Service (which I know should be on when I have location activated. But yeah, I don't think it's that since I didn't notice a problem with it before). Only when the prefetcher service was on did I notice some battery drain from Maps.

Anyone know what's up?
[Nexus S General] C4SCA:
I still get too' but less than before.

And u?
[Nexus S General] rrohanjs:
ill test it for another cycle and see, 'im gonna force close maps facebook and playstore too and see
[Nexus S General] C4SCA:
I disabled maps too bcz i never use it (forgot to say it)

U dont need to disable facebook bcz its nothing to do with the google services
[Nexus S General] Fylk:
I'v been having some major issues with battery management, such as failure to report charging/discharge.
[Nexus S General] chronophase1:
Lol. 4 hours and I'm at 75%. I used my phone for 20 minutes. Meh. At least I can charge it. So yeah, nothing has changed since 4.0
[Nexus S General] insane youth:
disabling location services done nothing to help my battery drain, android os still sits at the top when it never was anywhere near that when i first installed jb. my phone has been awake for 14 hours and android os keep awake time is 12 hours. is there any way of stopping it sucking so much battery life. luckily i don't use my phone much but if i did there is no way it would last the 8 hours i'm at work, as it is now i only have about 35% left when i get home with hardly any phone use, and i go to work with a fully charged battery

does anyone think a restore to factory setting will stop this from happening, don't really want to do that but i might not have any choice
[Nexus S General] C4SCA:
android os battery drain generally gets fixed with a hard factory reset (wich means flash via fastboot ICS 4.0.4/ login/ dont download apps/ update via ota/ now u can set up your phone)

if this helped make sure to hit that thanks button
[Nexus S General] rrohanjs:
damn damn damn i hate jb nw

i kept my phone overnight to drain and and see, PHONE took up 46% of the drain, im wondering how ?

do phones call each other on their own lol

i feel like flashing gingerbread lol
[Nexus S General] MRsf27:
how do you take a sreenshot of your phone to the computer?

my battery is about the same as it was on ICS... gingerbread had the best battery life tho... either way, with my schedual it doesn't effect me. When i need to charge my phone I always have a supply:good:
[Nexus S General] rrohanjs:
wow thats good, i touch little over 4 hours at times but this much, quite a heavy user my phone dies in 7-8 hrs
[Nexus S General] sdhanjal15:
I cheated towards the end. I trangered a huge file and it took a 20 minutes...so yeah got 20 minutes extra juice

Sent from my Nexus S
[Nexus S General] itline:
battery usage

for me it's same ICS. but yes sometimes android system usage is unnormal!

unfortunately i can't post images. i have 13% battery after 2d 2h 49m whit about 4h screen time on
[Nexus S General] alien_x:
I just kill apps with multi-tasking menu and phone goes to idle, no battery drain.
[Nexus S General] EleventhHour2139:
Screenshots? All of them please. Not calling bs, but that's hard to believe. Is that on 3g?
[Nexus S General] EleventhHour2139:
I think it, you speak it lol! If only gingerbread wasn't a mud hut to jb's taj mahal. Having to take features and smoothness over battery life, unfortunately :(
[Nexus S General] chronophase1:
I know how you feel. I thought my life was the same, but I guess not after actually using the phone. Does no one know why phone is going this bonkers? Its annoying. I can usually track down an issue on my own, but nothing I do fixes this. If you find a fix, please share. Lol
[Nexus S General] jokkir:
Are you using CPUSpy? I noticed that Jellybean ramps up to 1000MHz a lot more than ICS or GB rather than going to other frequencies first. Or at least that's what I've seen so far.
[Nexus S General] chronophase1:
I believe that's how its supposed to work, actually. On the rouge phone app. Mine seems to be network related. When I stream music on my way to work, I'm using HSPA. I turn it to edge once I get out the car. Always crops up around this time. Just wish I could figure out why it does this.
[Nexus S General] rrohanjs:
adam's jelly belly 0.1.5 is doing well with battery now, its got interactive running and is doing a better job in all the areas
[Nexus S General] insane youth:
i'll give that a go over the weekend and report back, at the moment i've disabled auto sync and the battery life is so much better
[Nexus S General] tchaari:
I've done a simple comparison with wifi on and wifi off using My Battery Drain Analyzer:

- With Wifi on at deep sleep over night: lost 5% in 9 hours

- With Wifi off in the same conditions I only lost 1% in 11 hours

Just to compare with ICS, I used to lose 2% in 9 hours in the same conditions.

I think that there is something wrong with wifi in JB.
[Nexus S General] royalsego:
so... e-mail exchange services battery drain

this phone is basically a brick now, short of removing my exchange account, i have put 'never' on all options, i want to find a solution to this problem instead of removing my exchange email account

this drain is happening AFTER i set all my options to NEVER

this phone is useless to me, i'm basically e-mail only type of user
[Nexus S General] AeroEchelon:
I have been having major battery drain compared to my previous combination of BuglessBeast w/ Matrix v20 @ Screen 56 Hz. I never realized how spoiled I was to using Mathk1d's kernel but now I really appreciate it!

Could you please post the general battery graph? For all we know you could have been charging your phone in between. If you have about 5 hours of on-screen time at 41%, it's ridiculous to think that you can obtain 10 hours of on screen time ...
[Nexus S General] karleeezy:
I'm not sure what the problem is with my battery or phone, but the battery life plummets down to nil after a full charge.
[Nexus S General] chronophase1:
Two auto startups from network modifications. Gonna disable them to see if this phone wake lock comes back. Hope it doesnt prevent me from getting calls somehow. Lol.

Edit: Just tested phone calls switching the networks. Seems to have broken the status bar toggle though. Heh. Weird. No big deal. Gonna stream music on my way to work today, switch back to EDGE, and see what happens over the next 4 hours.
[Nexus S General] nexom:
Cell standby is draining mine. All location services off.
[Nexus S General] chronophase1:
If your time without a signal is 0%, you're fine. Remember, the percentages have to add up to 100% somehow. If you aren't using the phone, standby and idle will be split. Its all relative.
[Nexus S General] itline:
no i'm using 2g.

i can't post screenshots. cuz i'm new here and xda not allow me.

i will send scrn for you.
[Nexus S General] chronophase1:
Phone hasn't had anymore wakelocks since I killed those 2 actions with auto starts
[Nexus S General] hey_malik:
I just installed Paranoid Android ROM. Hopefully my battery lasts longer. Waiting for it to be fully charged. The first hour on battery was no good sigtn ;)
[Nexus S General] lowtje:
My NS drains most battery on screen brightness. Now on the lowest setting.
[Nexus S General] Jhyrachy:
Tonight i made an idle battery test:

Battery: 94%

Time: 2:45am

*after a while*

Battery: 85%

Time: 9:45am

*analysis*

Total time: 7h

Total dececharge: 9%

Uncharge/hour: 1.28%

I can say just... WOW

The phone WASN'T in airplane mode, the wi-fi was on and connected to my network, 3g was enabled.

In background was runned AndChat (irc client) connected to a server.

Now bads news:

We prove that screen-off time was awesome, but screen-on time is horrible!

for 20minutes of screen on, i lose 7% battery o_O

No particular heavy programs, just tapatalk, jota text editor and andchat.

I'm using JB Factor Image rooted and tweaked with Autostarts.
[Nexus S General] :
7% battery in 20 minutes would get you 21%/h, my maths skills tell me that's between 4 and 5 hours screen on time. I don't see the problem, that's normal. my ICS wouldn't do more and I'm quite sure GB didn't do any magic with screen battery usage.
[Nexus S General] Lar5:
Nexus S i9023 (SLCD)

ROM: Jelly Belly 0.1.5.1

Kernel: 3.0.38-24 JellyBelly-JB-20120728-102409

Govenor: Interactive

Screen time: 4 hours (see images)

Auto brightness turned on.

GPS normally off

When i'm at home/WIFI 2G is enabled.

When i'm out/no WIFI, 3G is enabled and WIFI turned off.

Sync is turned on 2x10 min every hour.

At night Tasker enable flight mode for 5½ hours.

JellyBelly 0.1.5.1 seems to give me about almost the same battery life as on ICS.

Heh... no calls at this quiet sunday. It saves some juice too :p
[Nexus S General] Bls440:
Guys, I've been complaining a lot about battery life since I updated to JB using the OTA. I had already tried disabling Google Now, Google+, Gtalk and only activated Calendar/Mail/Contacts sync on my Google account.

I think I've fixed the issue though. I've flashed the factory stock image. My battery life seems to be much better on this clean install; the only explanation that I can find is that I have not installed Google Chrome and Facebook. I can remember that their idling services could sometimes go up to 70mb ram usage, not to mention Chrome constantly syncing for tabs open on my computer.

Hope this helps.
[Nexus S General] noyards:
I was having battery issues, so I monitored using adb for a while and noticed that my phone was doing GC on random applications almost constantly ... checking around to see what was running I say that Google Sync account, the Browser section, was constantly attempting to sync. I unchecked the Browser checkbox and the GC went down to 2 normal GC per minute (a widget and some other system type process) and the occasional GC and GPS or Wireless activity (this was with non usage, sitting there with the screen off after a fresh reboot.)

Went from my phone lasting about 3 hours even if I didn't touch it (to the point where even if I had it connected to my Laptop USB it would still discharge if I was using the phone) to now looking like it may last a full 24 hours or more if I don't touch it, and probably 4 or 5 hours if I used it full time non-stop (those are just estimates extrapolating from letting it sit for a few hours and checking battery usage, and using it for a half our or so and checking batter usage.)

I'm not suggesting that everyone will have the same issue, but it some might be having the same or similar issue ... something to check anyway.
[Nexus S General] rrohanjs:
on an average i get little over 4 hrs screen time, and my usage is on the heavier side, but still battery is less than ics
[Nexus S General] anshumandash:
I have been doing lot of research on heavy battery drain in JB. Now I have flashed Matr1x kernel and still did not see any great battery life. May be because the new JB version of Matr1x kernel is still not UV. I have disabled all location services and I am using only google contact & calendar sync with exchange email with Touchdown. I was using 3g and even though I don't touch the phone it drains about 5-8%/hour. some times it goes to 10%/hour. I have been monitoring with Battery Monitor widget. even if I don't do anything, I would have 14-16 hours battery life since the JB upgrade.

Today I tried using 2g since morning. After 13 hours with 30 mins screen time & 40 mins call, I had 62% battery left. It was amazing. I switched to 3g to check what changes. in 2 hours I am down to 43%. I did not even received a single call in last 2 hours.19% battery usage in 2 hours.

I think there is some problem with 3g in JB. Do you thing flashing the JB factory images will help? I am planning to do a factory reset & flash the images in fastboot mode. Not sure if all the effort will be worth.
[Nexus S General] nolook:
managed to fix my battery life so its back to what i was getting on ICS (maybe slightly better now)....it seems the jelly bean update turned on all the synching that i had disabled with ICS...

so i have it down to a minimum for synching (mostly google stuff)....also have turned off google now but i dont think that was the culprit...
[Nexus S General] jeremy112683:
Not to good for me
[Nexus S General] jokkir:
I got slightly better battery yesterday using Euroskank version of CM10. I'll post my results later but it seemed decent enough, I think.
[Nexus S General] jeremy112683:
My pic wouldnt load I guess. I got like 4hrs 15min from 100%-4%
[Nexus S General] BossTweed:
Yeah, my wife's phone is doing the same thing. I see lots of other people have had the same issue in the past with ICS, but this has only started happening after this recent update and worked perfectly previous to this. I never saw any sure fix for it, so I think I'm going to try a factory reset and see if that resolves it.
[Nexus S General] anshumandash:
I used to have this problem after GB to ICS upgrade. I think it is due to a corrpt upgrade. Factory reset initially soved it, but returned within a week. You can try a factory reset and load the JB factory images. This should solve the problem. Steps are available in the following thread. Alternately you can try using another email app like touchdown.

http://xdaforums.com/showthread.php?t=1572307
[Nexus S General] the_real_nwags:
Exchange/Google Sync Battery Drain

I was having major battery drain during long periods of idle afer upgrading to 4.1.1/JRO03E.

It appeared the Exchange Service was showing a high percentage of battery stats so I removed my Exchange account and also turned off sync for the following on my Google account: Browser (I use Chrome exclusively), Currents, Play Books, Play Magazines, Play Movies & TV, Play Music, & Google+

Idle battery life normalized (comparing to idle time for my phone on ICS) immediately. I added back my Exchange account and still holding battery well. I don't use the sync for the other Google sync, but I will probably start to enable sync one by one each day if idle battery life holds steady.

I am not a heavy user, mostly email, Google Voice (texting), Twitter and some Facebook. Finally I have enough battery life to try add back some other usage like light games, Audible, and some music.

*Jelly Bean Update Background*

I did not get the OTA, and then received the "system error 7" trying to flash stock 4.1.1/JRO03E from stock 4.0.4/IMM76D rooted with stock recovery. I then flashed stock 4.0.4/IMM76D via adb and wiped SD (locked and unlocked bootloader) and installed stock 4.1.1/JRO03E thru adb and then rooted. OS has been operating smooth, other than battery drain.
[Nexus S General] Si_NZ:
I've been suffering intermittent battery drain from "Media server" ever since I updated to JB 4.1.1. I updated by doing a clean wipe of both data/cache and formatting /system. I then applied 4.0.4 OTA full ROM followed by the JB OTA. It happens pretty much right from the welcome screen when I first start up. You would see Media server keeping the phone awake constantly whenever you check the battery stats. This is on a T-Mobile version 9020T.

I did not enable Google Now, disabled Google's location service in Settings and went as far as disabling Maps/Music/News&Weather. Has anyone seen this problem before? What tool can I use to identify the culprit? As you can see in the screenshots, Media server kept the phone awake throughout the night during my sleep. But soon after I wake up and used the phone a bit, Media server stops waking up the phone. I don't know what I did, but I was only trying to find out which app is draining the battery and looked around in different places. I didn't change any setting or kill any app, the problem just stops.

Compare to the battery life with ICS, without using the phone much, my phone could last more than 2 days easily as you can see in the last screenshot.
[Nexus S General] madd0g:
Move pics , videos, from the SD and see if that solves it. Something might be corrupt and that hogs the media scanner.
[Nexus S General] sdhanjal15:
Car ride. All 3g. No WiFi. Jelly belly 1.0. This is actually pretty good. But ive never been able to even hit 5 hours of screen time!!!

Sent from my Nexus S
[Nexus S General] jerrymouse12:
I traced my battery drain to unusually high wakelock on NetworkLocationPassiveCollector (2h 20min from 8h "sleep" during night). Latitude is off, I don't use google places and Google Now is also off. I don't use any widgets that use location services and the process behind it is google maps (com.google.android.apps.maps.Maps). Google maps were 100% off when I put the phone to sleep in the evening.

Any idea how to get rid of this? I don't want to disable location services completely.