yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] PhilipL:
Hi

I would check if your phones are really sleeping, I'm finding now that my Nexus is deep sleeping correctly (had a bad application) battery life is very good.

I'm currently on 2 days 12 hours with 47% battery left and screen time of 1 hour 58 minutes, no Wi-Fi so just using 3G. Have Location services on but turned off the option for Google apps to use my location just to stop Maps using my Wi-Fi and GPS to update Googles Wi-Fi location database (setting under Accounts).

I'd recommend downloading CPU Spy and making sure the phone is Deep Sleeping when the screen is off. There seems to be an issue with the Nexus 4 that applications that don't cause an issue on other Android devices (even applications with no wake lock permission) can stop the Nexus from Deep Sleeping, so it stays with the CPU constantly powered up at 384MHz, which over the course of a day will account for a significant drain of power. Note that the battery usage graph and battery stats apps don't seem to record this as Active, so I believe this problem is in the kernel somewhere, such as a driver getting confused by some applications.

I'm sure it will be fixed soon.

One application mentioned by someone that was causing the phone to stay awake that might be quite popular this time of year was a Snowfall Live Wallpaper. I tried it on my Nexus 7 and 4, the Nexus 7 didn't have any issue but the 4 stopped deep sleeping with this wall paper, even changing the wall paper back to a stock one didn't fix the problem immediately, it only started deep sleeping again after I cleared the live wallpaper out of 'cached' programs to remove it completely from memory. These sort of extra steps can make it hard to troubleshoot which application is causing the issue, so I'd uninstall and restart if troubleshooting applications by removing them one by one.

CPU Spy is reporting my phone is in deep sleep for 95% of the time, before when I was seeing poor battery life and constant drain due to a badly behaving application, it was showing deep sleep as an unused state!

Regards

Phil
[Nexus 4 General] GC8Bunta:
1DAY 37minutes battery life... 3 hours screen on time... 18% battery remaining.

STOCK.

auto bright. gps off. google now on. Maps location service off. google books/mags sync off.
[Nexus 4 General] stickbo:


First charge. This is moderate use, sync/location/WiFi/auto brightness on, and GPS off. Not bad IMO. Granted I'm used to getting 8-9 hours screen on HEAVY from my gs2 with the extended battery so it isnt anything to write home about either.

In other news:

I also just scratched my screen with my F*cling finger, or should I say a piece of dust on my finger(NOT sand). Jesus I have never seen such a delicate screen. Oh well, at this price it's disposable more or less. LOVE the phone despite it's qwirks. Also on a side note, I am able to see a PRS of 48 single tap and in the twenties gliding. I only notice the responsive issue with pinch to zoom.
[Nexus 4 General] donavo:
My battery is completely terrible for some reason. I can't get through even 8 hours. The phone is completely stock. Always has good reception, everything is always on, which shouldn't cause a big drain (WiFi, GPS). But the battery is beyond terrible. I left the phone unplugged overnight. With 41% left before sleeping. I woke up to 3%. This should not happen. I don't have any apps that I know of in the background.
[Nexus 4 General] J1zzo:
No need for custom roms or kernels... This baby is amazing on stock settings!

Gesendet von meinem Nexus 4
[Nexus 4 General] zookalicious:
Lbe security will cause jellybean to get stuck in a boot loop. I highly recommend not installing it.
[Nexus 4 General] PhilipL:
Hi

You need to try CPU Spy from the play store, this will probably show your phone isn't sleeping (very low or no Deep Sleep percentage, typically after a test of 30 minutes of not using your phone this should be a percentage of >90%). Have you installed any applications? If yes remove them all, restart your phone and check if it is now sleeping by repeating the test. You should be able to go all night with losing very little charge, so something is definitely wrong, and it seems the Nexus 4 is a bit of an insomniac of smart phones.

Regards

Phil
[Nexus 4 General] Dragooon123:
I had a question, does the device not go to deep sleep when charging?
[Nexus 4 General] ahalford:
No device goes to sleep while charging.
[Nexus 4 General] nyijedi:
Please refrain from such ridiculous generalizations. Maybe you're thinking of the Verizon Galaxy Nexus, but the battery life of my GSM Galaxy Nexus destroys the battery life of my Nexus 4. It's not even close.
[Nexus 4 General] bstosnbata:
Is it just me or does go!chat app drains battery hella fast? Anybody use it?
[Nexus 4 General] versd:
depends on everyones personal set ups

my custom rom'd and kernel'd gsm galaxy nexus would survive about 15 hours of normal use with 1 hour screen on time.

my stock nexus 4 does 24 hours with 2hr+ on screen time and 30% battery to spare

---------- Post added at 10:39 PM ---------- Previous post was at 10:34 PM ----------

about 2 hours from maybe 15% to full charge has been my experience
[Nexus 4 General] nighthawk626:
ive tried different roms and kernels and settings, in the end: battery is great then when you start using the phone: good, then as the phone gets hotter and hotter, the battery starts going through hyperspace warpdrives of up to 10 person battery loses in a matter of minutes. only to save battery is to keep the back of the phone on a slab of ice or something that'll keep it cool. same exact battery problems i had with the htc sensation. time to get a galaxy nexus as permanent backup in order to get through a whole day. great phone, god awful battery management
[Nexus 4 General] biffsmash:
This phone beats the UK GSM Galaxy Nexus battery life with a huge stick to be completely honest. Lets not beat around the bush, the Galaxy nexus battery was shocking. Two hours screen on was the best I could get with it, although I have a lot of chargers so no biggie.

The Sgs3 gets around 5 hours and is the single best phone i've used for battery life, but the smoothness of the Nexus 4 kicks it's huge butt.
[Nexus 4 General] Scoutamis:
Hmm I'll try that app hopefully it tells me something because I'm lost. I lost 20% battery in 15 minutes on airplane mode...with GPS, Google Now, Location services, and auto sync disabled. I also deleted Facebook to see if that's the cause and my battery seems the same.

I also don't have and never have had Snowfall Live Wallpaper but thanks for the suggestion!
[Nexus 4 General] [hfm]:
But this has always been the case for every phone. Wi-Fi has always consumed much less power.

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

If you used Wi-Fi where you could and used solid black background and dark themes and auto brightness you could do much better. I got 5-6 hours of screen time in this scenario often on the official 2000mAh extended battery.
[Nexus 4 General] phil35:
Well my battery is well and truly messed up. One minute 60%, the next it's shutting down because it's out of power, then turn it on and it's 40%. It's a nightmare.

I bought this phone on a contact with O2 (UK). How do I go about getting this fixed? Do I need to contact O2 or Google? or even LG? If Google, how would I go about contacting them? I assume their Play customer service staff wouldn't want anything to do with me as I didn't buy it from them.

Sigh.

PS in the attached photo below that shows GPS being constantly on, I am certain after triple triple checking that the GPS option was switched off on the phone. I don't really know what the hell is going on...
[Nexus 4 General] phil35:
Oh and I forgot to mention, I've tried a factory reset, and although it seems a little better than it was before, is still terrible, jumping about %-wise and sitting down read-only because it's gone down to 0% from 70% in less than ten seconds...
[Nexus 4 General] djsynth:
GSM ARENA finnaly released battery test results for N4!

GSM ARENA finnaly released battery test results for N4!

http://blog.gsmarena.com/google-nex...test-see-if-its-better-than-the-galaxy-nexus/

What you guy's think?

Accurate? In-depth enough?
[Nexus 4 General] versd:
pretty sad to be honest - personal use over the past few days has been that it is much better than the gnex. that being said, the battery in the gnex was a year old and probably running at a lot lower capacity/performance than it should have been.
[Nexus 4 General] ock:
From their results, the Droid DNA with a bigger screen and smaller battery lasts longer. Could it be the screen type used or purely software optimizations?

I'm not sure how they standardise the brightness levels though - 50% or 100% brightness and speaker volume on one device is likely to be different from another.
[Nexus 4 General] undercover:
If screen is identical to J Butterfly then it's slcd3 which is said to be more efficient than slcd2 by 40 percent. Also, I'm curious what voltages htc is using to power that s4pro. HTC are very good at handling qualcomm, they've been using their SoCs for ages.
[Nexus 4 General] derek328:
Hey guys, so this is my first post even though I've actually been lurking around here for a while.. ^_^"

Anyways, I just made an account because I wanted to share with you how my 1-2 week Nexus 4 is doing in terms of battery life. I've only had this phone for 3 days, phone settings are all notifications and sync on, stock everything, Wifi + GPS always on, NFC off, screen at around 40% brightness fixed.

Compared to my last phone, the HTC Desire, I have to say this is a massive improvement and definitely puts a lot of new smartphones to shame too.

Not sure how some phones out here are only getting 4-5 hrs screen time..
[Nexus 4 General] rlaw:
Can add pictures later.

2hrs 17-30mins~ screen on time

Browsing xda, reddit, playing some YouTube vids, opera mobile browser

19mins~ of voice call

Auto brightness on

Battery at 42% from full charge

At this point, turned auto brightness off, minimum brightness

Screen on time at 4hrs and a few mins

More of the same (YouTube/xda/reddit/opera mobile) voice calls now at 1hr and a few mins

All of this 98% on moderate-strong wifi signal switching between 2.4GHz/5GHz.

Location reporting/updating and sync on for most things, GPS and NFC off, texting and Google voice messaging (about 2-3 dozen sent/received, maybe a half dozen more).

Plugged in to charge, battery at 7%.

So battery life seems on par roughly with Galaxy Note (the first) and other average Android phones which all seem to hit 5hrs on Anandtech's battery tests (N4 rated 5hrs~ screen on time til depletion).

Obviously not as good as RAZR Maxx and Note II but same as other flagship Android phones.
[Nexus 4 General] DowntownJeffBrown:
How do I disable location polling.
[Nexus 4 General] Jayrod1980:
This is the answer for you guys getting under or around 3 hours on screen. Try this out... Put your screen on auto brightness and leave the screen on with xda app up or just the home screen. Leave everything else on and see how long you get. Ill bet it is close to 5 hours if not more. The phone should sleep whenever it isn't syncing, etc. Problem is you probably aren't sleeping much at all. Probably only half the time your phone is idling. I'm convinced the phone is actually pretty efficient. Either programs aren't being adjusted for 4.2 or that 4.2 has bugs. Last night I was using browser and had everything on, including location and Google now and mobile data and at 50% battery I was at almost 3 hours screen on. The only difference is that I'm using trinity kernel which has some under voting. On demand governor and deadline scheduler... Stock clocks.

For those upset about keeping the screen dim and comparing to the galaxy nexus, this screen is more than double the brightness... might be even 3x as bright.
[Nexus 4 General] ksc6000:
I'm really becoming more and more convinced that poor on screen battery life is due to the fact that the CPU by default hardly goes below 1ghz! The minimum CPU frequency is 384 MHz but it hardly idles at that while the screen is on. It ramps up to 1.5 ghz when you touch it and then falls to 1 ghz.

Think about it.

That's possibly why the nexus doesn't last as long as the optimus g and other phones in battery rundown tests when the screen is on because the CPU is running so fast constantly. That's also why it probably gets so hot as well!
[Nexus 4 General] ArRaY92:
Exactly this is the issue. If you restrict it to 0.9ghz max, it will immediately fall to the lowest frequency and you will get about 5h 30min minimum screen time. Look for my thread in this forum and or install a custom kernel...
[Nexus 4 General] @rbiter:
well the ramping of frequencies/voltages is definitely whack. google obviously rushed the kernel. what is most disturbing is project butter on the nexus 4 holds that 1026mhz frequency for a couple of seconds anytime the screen is touched. that is probably ~1.7secs more than it needs to stay at that voltage. i am hoping google is working hard to address this deficiency. i feel like another hour of screen time can easily be achieved from this phone, but i could be wrong. what also bothers me is that phones usually have a much higher screentime with continuous video playback but that is not so with the nexus 4. i watched transformers dark of the moon the other day only expecting 30% or so hit to the battery. 2.5 hours later and 57% is gone. and it definitely has to be the kernel and a few other things going on. other manufacturers have been able to squeeze a lot more from their phones with the s4/s4 pro chipsets, higher resolutions and bigger screens at that. i don't know about you guys but i was kind of expecting the nexus 4 to hit 6 hours screen time easily on wifi with a little battery to spare, and 4 hours easy (hoping 5) on cell radio on an average day. all this and the LG radio gets better reception than the samsung galaxy nexus from my experience. better distance on wifi reception also.
[Nexus 4 General] ksc6000:
Array92, what is the default governor? On demand?
[Nexus 4 General] pnut22r:
Haven't opened my nexus 4 just yet. Have been a little worried about a few things including battery life. Then I went here http://xdaforums.com/showthread.php?t=1797192
and I'm not so worried.

It was between this and the sgs3. But for the price, I think I'll start using the n4. Can't have everything, and its never that bad.

Peace
[Nexus 4 General] Dragooon123:
You're making as much of a generalization as I am. My GSM GNex is crushed when it comes to battery life when compared to N4.
[Nexus 4 General] biffsmash:
Uk GSM Galaxy Nexus struggled to get over 2 hours screen on time, it was useless.

Here is most of my working day with Nexus 4, showing 52% battery remaining and

2 hours 57 minutes screen on time. I;ve had wifi on most of the day, made phone calls,

browsed the web, used friendcaster and whatsapp and texted, ive played about 15 mins

of temple run too.

I'd say ill get 5 hours from the day by the time i've finished. This is on 12-12-12 Aokp rom.

Peace out,

edit: dont know why it doesn;t show my phone as awake in the settings lol Must be as tired as me :D
[Nexus 4 General] Zmydust:
I'm 100% stock and not getting anywhere close to those numbers. 2:45 min on screen time max whereas on my stock GSM Galaxy Nexus I was getting 3:30 min onscreen time. Thats a pretty definite conclusion since I'm the same user, using the same apps in the same way in the same places everyday.

Jonathan
[Nexus 4 General] M2oSa:
That's the best I've had
[Nexus 4 General] ijeff:
First 24 hours impression is that battery life is sub-par compared to the iPhone 5.

Used on Wifi for web browsing and 2 photos taken.

Screen on-time is 1h 6m. 1h 50m on battery total. At 74% battery.

Brightness on auto in a relatively dark room (low brightness).

Haptic feedback on stock. ROM stock.
[Nexus 4 General] nyijedi:
No, I'm not making any generalizations at all. I said that my GSM GNex battery crushes my N4 battery. I'm commenting on my own personal experience, which is a fact. This is very different from saying the N4 "outlasts any Galaxy Nexus," which is what you originally said.

EDIT: Note that I'm not saying that I don't believe you - I do. I'm just saying that generalizations like that aren't fair to make b/c they're not true for everybody (I'm guessing the major differences are based on use scenarios, cell service strength in different areas, GSM v. CDMA GNex, etc.).
[Nexus 4 General] jhericurls:
This thread isn't useful until people post which ROM and kernel they are on.

As PA gives great battery life and AOKP normally quite poor.
[Nexus 4 General] ijeff:
If Google just releases a Qi Wireless charging dock for the car, all will be forgiven.
[Nexus 4 General] paulbeattie:
Currently I'm looking at getting around 3 hours screen on time at most. The other day I used it for 2 hours 30 screen time with around the same listening to music. By the time I got home at around 7 it was flat and within 30 minutes it was gone. My Nexus is completely stock other than having an unlocked bootloader. I have turned off most syncing e.g. Google Currents, Reader, Pulse (limited to once per day), Facebook. I find most syncing unnecessary.

It's pretty much unusable in this state, I'm thinking on sending this back for a replacement, surely this can't be right. The Windows Phone (Nokia Lumia 920) and the iPhone 4S I have don't have nearly as much battery drain as this.
[Nexus 4 General] Banished Angel:
I can get over 24 hours with light use. On average I get around 16 hours with more heavy use. Either way I get through a day no problem and that's all I really wanted. This isn't a Razr Maxx...

It won't let me post a screenshot because I don't have 10 posts, but I made it 25 hours with 2.5 hours screen time.
[Nexus 4 General] TonyHoyle:
Just got 2 days 9 hours normal (for me) use.. Forgot to charge it one day and decided to see how long it would last. This is with stock kernel and everything (Google now, push email, etc) enabled. My gnex barely made it to 2 days so it's a nice improvement... Although as another post said anything over about 17 hours is irrelevant anyway as it's normally charged nightly.
[Nexus 4 General] robstunner:
Madaco and Franco r13

This is with a screen on time of 15. 70% battery left. Not quite exciting.
[Nexus 4 General] DowntownJeffBrown:
Stock with franco's r13 kernel
[Nexus 4 General] robstunner:
Damn that's decent. Faux over Franco for battery life?
[Nexus 4 General] DowntownJeffBrown:
Sorry I meant Franco I just switched last night I edited my post.
[Nexus 4 General] DowntownJeffBrown:
I'm also having trouble with a partial wake lock called RILJ any suggestions
[Nexus 4 General] Stadsport:
I tried Franco's kernel for a bit but it was doing this really annoying thing where when it slept it would exhibit little battery drain, but then when you woke it up and started using it, the battery would plummet as much as 10% at once. It actually felt like it was using more battery. Plus it was a little bit laggier.

So far I've seen the best battery life on stock and the default CM kernel. I do think the kernel has some room for improvement, but I don't think custom kernels have matured enough yet. Just my opinion.

Keep in mind this phone gets stellar battery life on Wi-Fi, and pretty bad battery life on HSPA. Still better than my GNex, though.
[Nexus 4 General] barondebxl:
I think android 4.2 has to be blamed for the mediocre battery life, something doesnt add up. personally, i get good battery life but most people dont.
[Nexus 4 General] paulbeattie:
Sadly I am one of those who doesn't get great battery life. Couple of hours screen time plus a couple of hours listening to music and we're looking at a dead phone by early evening, maybe 12 hours total off charge.

I'm beginning to think with people posting stunning battery performance and not experiencing any battery issues that LG are having some serious quality control issues with batteries. This could possibly be related to the apparent slow production of the Nexus 4. Just a though.
[Nexus 4 General] versd:
Just happy its better than the gnex. Now that was bad.
[Nexus 4 General] decksy:
To be honest, everyone taking screen shots with over 1day worth of battery life... You guys have to be charging it up before you sleep then unplugging it so you could brag about it, cause there's no way that is possible unless you're never using your phone.
[Nexus 4 General] @rbiter:
Wtf? Can easily be done on a weekend if I don't use my phone as much. Yes the guys are getting ~1/2 the screentime the 8-12 hour guys do, but the info is relevant for people that use phone/SMS and communication more rather than the 9-5ers who goof off at work browsing the web all day.

I voided my warranty.
[Nexus 4 General] NoLunchBox_:
Stock ROM + Franco R13
[Nexus 4 General] biffsmash:
So what, let me get this straight. People are pissing and moaning and trolling saying they cant get over 3 hours screen time, and people, myself included are getting 4 hours plus, with proper usage and even attempting to back it up with actual battery stats, and no one believes it??

I have to say to hell with anyone who claims I ain't getting 4 hours + battery time because I am, i've posted to show it's possible, and loads of others are too, so anyone who claims to get 3 or less is lying, trolling, works for apple, or uses their phone like an idiot.
[Nexus 4 General] robstunner:
I get less than three. Are you calling me a liar?
[Nexus 4 General] undercover:
Don't compare everyone to yourself mate. That's YOUR usage and your battery life. I can confirm that on stock I was getting less than 3h screen on, now 4h+
[Nexus 4 General] :
I was happy to get these results last night. Normally I get about 3 hours but last night I was able to add another hour of reading with a dim display using only about 15% of my battery.
[Nexus 4 General] shotta35:
Well i wont say this is HEAVY usage as I posted my usage previously. here:

But here are my results from the second one:
[Nexus 4 General] ksc6000:
I do not understand this phone

What is it doing?

My Galaxy Nexus would be at 95% right now. Exact same setup. Exact same apps. Sitting next to me in the same place on my desk as me GNex used to.

I used it for a minute in the morning to check the traffic conditions before heading to work.

Since then I've turned it on a few times to check to see what the battery was at. I'm talking 5-6 times MAX for 15-30 seconds each in the 9 hours or so it's been. And then took these screenshots.

Brightness is at 10%, sync is completely off. Everything under Maps>Settings>Location settings is OFF.

Stock 4.2.1, rooted.
[Nexus 4 General] PhilipL:
Hi

The Nexus 4 seems to have a bug and very easily stops deep sleeping with applications causing the Nexus 4 to stay awake while the same applications on other phones don't. This means some people report good battery life from their Nexus 4 and others are losing 20% over a few hours of the phone doing noting and screen off!

I'm sure these will get fixed soon, but as it stands at the moment, there will be reports of each extreme I think.

Regards

Phil
[Nexus 4 General] cobyman7035:
Notice my phone heats up one I use ltemobile mode
[Nexus 4 General] pnut22r:
Strange. My wife's n4 doesn't budge when the screen is off. Had it off, overnight and battery stayed the same.

peaceOut()
[Nexus 4 General] Jayrod1980:
Today my usage was decent. Have to mention that I started at less than 97% but with an hour and 17 mins talking on the phone my battery life is more than acceptable. Trinity kernel, rasbean jelly ROM, stock clocks, all sync on, auto brightness, all mobile data, nothing disabled, Google now, etc.
[Nexus 4 General] thegregulator:
Quit lying.
[Nexus 4 General] Stadsport:
I got over 6 hours of screen-on time with like 19 hours total use yesterday. No ****s given, people just come to xda to complain.
[Nexus 4 General] n82k:
I get 20 hers use consistently with 4hrs screen time, best battery life I've had in recent phones for sure.

Sent from Nexus 4 - cm10 - faux kernel002 beta005
[Nexus 4 General] cobyman7035:
Pic of gsam pro 100%