yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Jayrod1980:
This phone could definitely have better battery life. One, the voltage out of the box is set too high on this device. Just undervolting by about 100mv accross the line gives you an INCREASE in benchmarks, less heat (probably the reason for the increase...IE no throttling or less throttling). Next is how Qualcomm Powerhal is set... spends way too much time at 1024mhz. Also, there is definitely bugs in 4.2 that keep the phone awake. Many days, on Google stock apps or with Google Now enabled, my phone will sometimes stay awake more than 4 hours at a time. This is in addition to the phone stock battery gauge never actually recording when the phone is awake. The graph will show maybe 3 little thin lines of awake time, when it is actually hours of awake time. Fixing the bugs, getting the phone to sleep properly, and lowering voltage all would help the performance of this device. For me, just flashing the first iteration of Morfic's Trinity kernel has gotten me to around 5 hours of screen time with all sync on, locations on, mobile data (no wifi), gps on, Google Now on, nothing disabled, and only NFC turned off. I can live with 5 hours screen time with normal use. It's the erratic standby time that bothers me. The phone shouldn't need to be tweaked this much to get it to sleep.
[Nexus 4 General] Girn:
I spent $25 on my anker 4200mah. And your gonna spend $99 on a 6000mah? You must be out of your mind
[Nexus 4 General] ericshmerick:
Spend $49 shipped free on the genuine 9000mAh Samsung battery pack. It's genuine, so you don't have to worry about crappy knockoff cells that will die after like 100 cycles.

It's $99 on Samsung's site, but you can easily find a 50% off coupon making it $49 shipped. It's the best thing ever. Will charge this phone from 0 to 100% at least 3 times.

http://www.samsung.com/us/mobile/cell-phones-accessories/EEB-EI1CBAGSTA

re155860o

http://xdaforums.com/showthread.php?t=1954607
[Nexus 4 General] Falzar:
Possibly I might be a little crazy but it also charges more than one device at a time and talks :) that has to be something worth 100$ bucks right ^_^
[Nexus 4 General] megapixle:
I had an unexpectedly good battery day yesterday. I've been mildly disappointed with battery but it's been getting better. I don't know if it's do do with the tweaks I've been making or if the battery itself is actually getting better/more efficient/whatever. I think two things were impacting my battery were HD widgets (thanks for the random reboots too), and inefficient Tasker profiles. I uninstalled HD widgets (no more random reboots) and re-did some location-based Tasker profiles.

Yesterday I had a total time off charger of 17 hours, and had 4 hours of screen time. Additionally about 45 minutes of podcasts/streaming music. Probably 13 hours I was connected to WiFi.
[Nexus 4 General] AssassinFuze:
I found the fix...

So my problem was that apparently my phone was wakelocking the entire time it was on because of the media server... soo Settings > App > All > Media Storage > Clear Data

I'm not sure if something I had was corrupt, but this worked very well. My battery life went from about 10 hours to roughly 17 hours... if this is already posted by someone then I didn't see it, and I posted it again.
[Nexus 4 General] raptir:
I just wanted to provide an update, as I think I've figured out my battery issue. Anything that uses the GSM radio is using more power than expected. I unfortunately can't post the pictures as I am not on my home computer right now, but here is what I found.

On Tuesday, I drained my phone to 3% throughout the day. This was with 1h50m of voice calls, ~2.5h of web browsing on WiFi and about a half hour of Netflix. The 1h50m of voice drained by phone 33% (confirmed both by the battery stats as well as my own observation of the battery level before and after each call), meaning the web browsing and netflix used the remaining 63%. That would estimate my WiFi browsing/netflix usage at 4.75h on a full charge, which beats my Galaxy Nexus that saw 4h with the same usage. However, the voice calls are concerning. The phone is rated for 15h of talk time (I know you'll never actually get that) but based on this usage would only get about 5.5h, a third of the rated level. This was with 5 bars (-83dB).

My HSPA web browsing shows a similar trend. With my Nexus 4 I am averaging 2-2.5h of HSPA+ web browsing, while I was seeing 3-3.5h on my Galaxy Nexus with the same browsing habits.

If this is the case, it may also explain why some people are quoting excellent battery life while others are quoting poor battery life. Those who spend most of their time on WIFi will see better battery life than other phones like the Gnex, while those who spend most of their time on HSPA+ may see worse battery life than the same phones.
[Nexus 4 General] redthunda69:
That msm_hsic_host wake lock is decimating my battery. Google needs to fix their kernel soon.
[Nexus 4 General] [hfm]:
Total was probably around 8 hours. 42% left after 3 hours of screen time is about right. It was mostly screen by a wide margin.
[Nexus 4 General] Nimche:
Has anyone here experienced when phone says its charging but nothing is connected? I think its crazy...
[Nexus 4 General] CMNein:
9 times out of 10 on other phones that's a borked/bent/dirty USB port/board.
[Nexus 4 General] AssassinFuze:
Go and clear the data in your Media Storage... Settings > App > All > Media Storage > Clear Data

I only had to do it once, and it fixed my problem. I guess it was a corrupt file or something. Idk.
[Nexus 4 General] Nimche:
You know, phone is brand new and it should do this right? I still feel there is some mis-charging associated with this phone. Things are weird by monitoring the battery behavior.
[Nexus 4 General] newcastle9:
A few screenshots of not using the phone at all stock rom and kernel with about 76 apps installed with google on sync
[Nexus 4 General] ntc3freak:
You spent almost 5 days without touching the phone? I can't even stand one hour without picking this thing up :D
[Nexus 4 General] megapixle:
What's the point of a smartphone if you only turn it on briefly 3 times in 4 days?

---------- Post added at 02:02 PM ---------- Previous post was at 02:01 PM ----------

What do I lose when I do this? All photos/videos/music/??
[Nexus 4 General] maxspen:
Sleep time

The phone certainly does have the best battery life when it's not in use. I've heard of people getting 4 or 5 hours on screen time though. Never gotten there myself, but i've been close. I usually don't use the phone that much, but i do have a hard time putting it down. I know it's day one, but is anyone else getting some battery drain from swiftkey flow beta?
[Nexus 4 General] redthunda69:
Just tried it. If that works, I'll love you forever.
[Nexus 4 General] CMNein:
There's definitely funky battery behaviour associated with this phone, but I'd be more worried if I had phantom charging.
[Nexus 4 General] schemeKC:
I switched to Faux's kernel last night. I've had my phone just sitting here with wifi with cellular data on, no location stuff for two hours and it hasn't fallen a single percentage point. His latest beta kernel seems to have fixed some issues with wakelocks that people are reporting on Nexus 4s.

As far as battery drain from SwiftKey Flow beta - some others have complained about it but I think it's just related to the setup of the app. Their servers have been getting hit hard from the US today and so it's taking a lot to get the US English packs. I would imagine that this is causing some issues for people. Also keep in mind that it's going to take some power if you're having it go through your emails/texts etc trying to learn your typing behavior. After restarting and using it to text some it's not even showing up on my battery stats. Perhaps restart also and see if it's still causing noticeable draining?
[Nexus 4 General] razball:
I can't seem to find the faux kernel can you link
[Nexus 4 General] tgyberg:
I love having my phone on while I'm in a coma! :laugh:
[Nexus 4 General] roughavoc:
So my battery life has been pretty terrible, managed to sort out the Media Server by just coping a bunch of music, leaving the phone for a bit, restarting then adding some more and doing it all over again.

One this this phone does really bad is battery life over Data! One YouTube video drops about 13% battery on stock ..

Managed around 2 and a half screen on max over the week I have had it
[Nexus 4 General] schemeKC:
http://xdaforums.com/showthread.php?t=2008222

I'm using the beta kernel and it seems quite good so far, but keep in mind that it's a beta and all that "you're on your own" junk that comes with it.
[Nexus 4 General] razball:
Is it much of a difference from the version 0001
[Nexus 4 General] manlisten:
Went all the way and disabled it. Phone has not imploded yet.

Seriously though what is that process?

Edit: Guess I just found out. Can't save s**t captain! Enabled.
[Nexus 4 General] Raikyure:
Decent battery life for me. Faux's kernel and undervolted -125mv. I'm surprised by the breakdown though. It was mostly web browsing with reddit sync and chrome but they're both on the bottom of the list.

http://imgur.com/a/eZ2xj
[Nexus 4 General] [hfm]:
That is definitely not normal. 2.5 hours of screen time on max brightness doesn't sound so far fetched if it was also stressing the CPU/GPU. But 13% for a YouTube video sounds horrible.
[Nexus 4 General] twomix9900:
Matrix v2.0 kernel

CM10.1 (project cold fusion)

25% brightness

All data syncing & GPS turned on

Few hours of listening to music
[Nexus 4 General] jspookss:
This is today. Excellent for me on T mobile. As you can see I use my phone throughout the day. Web surfing and phone calls.
[Nexus 4 General] schemeKC:
In terms of what? The changelog for the beta is on his post. Per it:

If you mean in terms of real-world performance - it's perfectly stable for me so far. The phone has no issues with deep sleep (had them prior to using this kernel). I've not noticed any increased touchscreen sensitivity despite his claims that it's improved (though I don't have much of an issue with the default sensitivity on the phone any way). I am using intellidemand as my governor.

Current battery stats are as follows: 7 hours on battery. 1 hour screen time. 72% battery life. 25% brightness or so. On wifi all day. As far as I can tell, the battery drains at well under 1% per hour while in deep sleep. Its battery life previously was not terribly great, but I also had the serious issues with Mediaserver and msm_hsic_host wakelocks. I completely wiped everything and reinstalled stock last night so the Mediaserver issue was likely fixed with that, but I am really impressed with the lack of msm_hsic_host wakelock fixes that this kernel has. It doesn't even appear on my battery stats any more.
[Nexus 4 General] Stadsport:
I'm not able to find Morfic's kernel anywhere. Do you have a link?

Edit: Disregard, it's over on morfic's own forums.
[Nexus 4 General] cellem:
http://www.derkernel.com/mako.php#

Here you are mate! If you are in Cyanogen go for the first option, second is for Aosp, Aokp, etc ;)

Been using it since this morning and it seems quite allright.. Those that manage to get 5-6 hours on screen time please let us know what is your rom and what is the brightness screen level you are using (auto, 25%, etc)
[Nexus 4 General] redthunda69:
Doesn't work for me either.
[Nexus 4 General] Stadsport:
Thanks. I gave it a shot, and it definitely gets better battery. But it was keeping the CPU at 384mhz almost all the time, and made everything noticeably laggy. :(
[Nexus 4 General] razball:
This kernel doesn't seem to go to sleep at all it has great battery life while I'm using it but doesn't sleep is there something I turn on to do that or what ?
[Nexus 4 General] Marshton:
I originally thought the battery life was merp, but I think I just got the best battery life yet out of the damn thing.

150 texts were sent, web browsing, gaming.

In my experience, GPS is what eats the battery. You can clearly see the fluctuations are due to the GPS. I was getting 2ish hours of battery life with Google's location reporting (latitude) enabled. I think that's the single biggest thing you can do to enhance battery life.

In addition, turning gmail and email to 1 hour update helps too (but is horrible in terms of usability)

Stock, unrooted.

On a normal day I can easily survive the schoolday with over 50% battery left (I just got home slightly after the massive drop in battery life, as I was using Maps to navigate home), so that's from 7:30am -> 3:30pm with over 50% battery left.
[Nexus 4 General] chrondroid:
after disabling google location I am loving the battery life, it's about the same as my SGS3 was
[Nexus 4 General] razball:
For anyone that us considering fauxs kernel I have had horrible time with it it drained my battery from 100% to 75 % in 3 hours with 8 min on screen I had been getting easily 3 hers in screen with 30% battery left and I'm back on matrix v2.0 and its unbelievably nice
[Nexus 4 General] ericshmerick:
So basically the solution is to disable all the smart phone features so it will last throughout the day. Makes sense.
[Nexus 4 General] Reynt:
Mh, well, I have problems with Matrix kernel. Drains my battery down to 80% with 15-20 minutes screen on time.
[Nexus 4 General] chrondroid:
Actually I have everything running except for constant location updates on google now (because I dont need it anyway why waste my battery on something i barely use)

Any phone will goble battery if you're running all services constantly. The only thing that would make a difference at that point is a larger battery (note 2)

(makes sense)
[Nexus 4 General] raptir:
I am currently using _motley's kernel undervolted an additional 100mv and I am seeing significantly better battery life than previously. I am looking at around 3 hours of HSPA+ web browsing. I have not yet had a chance to test WiFi browsing with the new kernel, but so far this is an improvement of 30 minutes to an hour of screen time. My idle battery life, even with the Google Location function enabled, has been decent.
[Nexus 4 General] ericshmerick:
The Galaxy Nexus lasted all day with no janky setting changes.

(doesn't make sense)

Yes more powerful processor, etc but still. This is frustrating.
[Nexus 4 General] alen1901:
Did you guys consider undervolting with underclock to 1.2 or 1.3ghz? Also, underclock GPU little bit, and there you go. Smooth phone with extra battery.

Sent from SpeedMachine i9023
[Nexus 4 General] razball:
I guess to each his own then weird
[Nexus 4 General] jhock:
Off charger time doubled

So I fixed my own battery issues and thought I would share in case it was helpful for others.

I was getting around 7 hours off charger with 2 hours of screen time (with Now, GPS, Wifi, NFC off and brightness at 1/4). It was very frustrating to read that people were getting around double with their N4s. So I installed GSam Battery monitor and paid attention to the "Others" graph which shows a little yellow line for anytime the GPS, Screen, Wifi is used. The bottommost line on this graph is labeled "Actviity." I noticed that the Activity line was pretty much solid, despite my screen line being a series of dots and dashes.

The apps list didn't show anything staying on for that long, so I went searching for what it could be. Someone on another post in this forum suggested turning of the "background location" reporting that is under Settings - Accounts - Google (your main account) - Maps & Latitude. There are a number of checkboxes there that are marked by default. Unmark them all (you'll still be able to use your location for google and third party apps) and restart the phone. When I unchecked them, I saw no difference until I restarted the phone.

After unchecking those background location services and rebooting, my battery life pretty much doubled. Looking at the GSam Battery Monitor I noticed that the Activity and Screen lines matched up almost perfectly. I had GPS and Now on all day plus increased the screen brightness to about half and got over 14 hours of off-charger time and over 3 hours of screen time. This totally makes the battery life livable for me!

I hope this helps someone else, because it made all the difference in the world for me.
[Nexus 4 General] lukesleepwalker:
Give the battery a week. I am at 55% remaining today and I am just shy of 9 hours off charger with almost three hours screen time. No major changes other than going to auto screen brightness.
[Nexus 4 General] dontdo_that:
I hope this is what I can expect...

Got my N4 yesterday. I have Google location on, but not really using Google Now (that I know of...)... I'm at 45% battery with > 2 hours of screen-on time and the screen using about 45% of battery so far. Hopefully as it gets broken in a bit I can see 55% battery life with 3 hours screen on time.
[Nexus 4 General] golfinggino:
I am usually getting over 6 hours screen on time, here is my results at 50 % battery will probably be under 6 hours today but still not bad, for those wondering ROM is jr3, kernel is motley build 29 undervolted by 50 MV, have run pimp my ROM , I have had lte running all day except for the last 1.5 hours which have been on WiFi, location services and google now turned off my nexus 7 is my GPS and Google now device
[Nexus 4 General] Jayrod1980:
Not happy with the device given the droid DNA gets similar life with a huge higher resolution display and less battery. 4.2 needs a fix ASAP and Google needs to seriously fix the volts on this. 800mv at idle is way too much even with design tolerances.

---------- Post added at 06:34 PM ---------- Previous post was at 06:32 PM ----------

Where in media storage did you clear out. Can't find that exact folder
[Nexus 4 General] Blinkenn:
Agreed, I love the battery life on my Nexus 7 its fantastic. Same 4.2.1 on both and pretty much same settings everywhere but my Nexus 4 will just get hot sitting there when its suppose to be sleeping. I'd guess like Ive read in other places, its the cpu/gsm radio that need the software tuned for them.
[Nexus 4 General] eliter1:
I haven't been using my phone a whole lot but I think this is still pretty impressive. My Note would not go a full day.
[Nexus 4 General] Uh60m Pilot:
I got my replacement nexus 4 last night. This battery seems much better than my last. This was day 1 with stock everything and using Google now. I am extremely happy. I streamed Netflix and watched YouTube too.

Sent from my Nexus 4
[Nexus 4 General] GC8Bunta:
Not sure if this is good or bad.

Unplugged charger at 8am.

I went to work. WiFi off all day of day. WiFi turned on at 730pm...

GPS off. Turned off google play books and magazines etc. Google now ON. Location settings ON. Screen display AUTO.

19% battery life left

12hrs 47mins off charger

2hrs 8mins screen time.

29% used by Screen

24% used by Android OS
[Nexus 4 General] xUniverse:
No google now and paranoidrom :)
[Nexus 4 General] manlisten:
Again, I've found that my battery is amazing on standby but drains pretty quickly when I have the screen on. Not even actively using the phone, just the screen on and swiping around my homescreens and I lose about 1 percent every 3-5 minutes. When it gets around 47% I start to lose 1% every 6-8 minutes.

Anyways, here's an example of my pretty good standby performance. This was with very light usage. About 30 minutes of music, texting, a 2 minute phone call and a few searches.

I feel like my display is using way too much power.
[Nexus 4 General] GC8Bunta:
Here is my usage with 2% left.

Again.. Unplugged at 8am... Went to work. Used on and off til 11:40pm. WiFi off all day. Wifi back On 830pm.

Display on AUTO.

Google Now ON.

GPS OFF.

Gmail sync ON.

Google Books/Mags sync OFF

Vibrating keyboard and soft keys OFF

STOCK Android 4.2.1
[Nexus 4 General] dwang:
9.5 hours off the charger

Almost 5 hours of screen time

Google sync enabled

Exchange sync every hour

Google now enabled

Maps location reporting disabled

Auto brightness

Mixture of Wi-Fi and hspa
[Nexus 4 General] dwang:
9.5 hours off the charger

Almost 5 hours of screen time

Google sync enabled

Exchange sync every hour

Google now enabled

Maps location reporting disabled

Mixture of Wi-Fi and hspa
[Nexus 4 General] Scoutamis:
I'm getting about 3 hours on screen time...by 9:40am (woke up at 6:30am) my battery went from 100% to 50%. Got home and charged it to 100% at 5pm and with almost no use, its at 20% by 10pm. The battery is HORRIBLE in my opinion. I will probably have to charge it 3 times a day.
[Nexus 4 General] Stadsport:
Something is wrong with your phone.
[Nexus 4 General] Scoutamis:
Ugh I really don't wanna wait to get this replaced...
[Nexus 4 General] PoisonWolf:
Tested it with HSPA only.

From a full-charge....now it's about 4 hours and 46 minutes off the charger....and I'm at 63% already (About 1 hour and 30 minutes of screen on time). Lol.

Is that good or bad?
[Nexus 4 General] shawnaye:
If it's on hspa all the time. I would say that's fairly decent considering I get only max 2 hours 30 mins on my gnex.
[Nexus 4 General] PhilipL:
Hi

Currently I'm see absolutely no Deep Sleep on the Nexus 4 (using CPU Spy), yet the Activity graph reports the phone is asleep and total keep awake time by applications is negligible and reflects my usage, so one of those is lying!

As my battery dropped 20% overnight even though it was in flight mode I suspect the activity chart is not an accurate reflection of the CPU/phone truly dropping into deep sleep, which is should be spending most of it's time in when the screen is off. It has been okay previously so something has changed. I've downloaded a couple of apps recently but none have permissions to hold a wake lock and if they did it would show in the activity graph. So it seems these battery drain issues are deeper ingrained into the kernel.

So according to CPU spy for my Nexus 4 currently, Deep Sleep state has never been dropped into, with 94% of CPU being at 384MHz, yes I have powered down and back up again to get a clean start. My HTC One X shows Deep Sleep at 95%, and my Nexus 7 at 98%.

Regards

Phil
[Nexus 4 General] newcastle9:
Just an update from previous post managed this without touching the phone the necus has excellent idle times
[Nexus 4 General] PhilipL:
Hi

Just an update.

I think when you get to the < 15% battery power the phone stops entering Deep Sleep, seems contradictory I know and might be a bug related to the low battery alert, or it might be the phone remains on to closely monitor the battery and react quickly to a shutdown. Once charged to above 15% it started logging Deep Sleep states.

It still doesn't explain the overnight drop in charge levels as it started out with a good level of charge.

Regards

Phil
[Nexus 4 General] phositadc:
Can some people post some stats from HSPA the entire time (no WiFi)? My initial impression of my nexus 4 is that it sleeps like a baby (even on HSPA) but burns through battery like crazy when using it on HSPA.

I'm on my first full charge cycle and plan to leave it on HSPA the entire time. I'm hoping for at least 3.5 hours screen on, because I could get that and more on GNex and GS3.
[Nexus 4 General] Uh60m Pilot:
Who does not touch their phone for 6 days?

sent from my perfect 32GB Nexus 7
[Nexus 4 General] manlisten:
Running CM 10.1 with faux123 kernel, uv -75mV

~10 hours on HSPA+, the rest on WiFi

Google Now/location turned off.

About 45 minutes of YouTube, an hour of music, 30 minutes gaming, 5 minute phone call
[Nexus 4 General] manlisten:
No one really, it's more a benchmark of standby performance. And that's pretty awesome.
[Nexus 4 General] gotzaDroid:
Here's mine. Heavy use (objectively of course), Google currents sync off, all latitude BS off and no instant photo uploads: