yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Jeremy:
Hello.

It is my understanding that during deep sleep, the CPU is "turned off" and thus governor plays no effect on the battery life for deep sleep.

However, overnight, there will be times where deep sleep will be broken during app sync, etc. So, my question is, which governor is most kind to battery life for the times when the phone is woken up from deep sleep to sync, assuming all other settings are left at default?

I am getting about 1%/hr drain overnight (wifi, sync, data all on). I know that isn't bad, but I know it could be better. Do you guys have any other advice on how to improve this without having to disable sync etc? I hardly have any wakelocks (95% deep sleep).
[Nexus 4 Original Android Development] deltatux:
interactive is the best governor, and having the suspend frequency at 702000 (702 MHz) does the job. You can maybe try dropping it to 594000 (594 Mhz), not sure if it's really going to help.

What's going to help more is to undervolt the Qualcomm SoC instead. Attached is a screenshot of the voltages I have for my device. Each SoC behaves differently so you might not be able to hit stable on yours. Play around with it.

deltatux
[Nexus 4 Original Android Development] Jeremy:
Your helpfulness warms the cockles of my heart

---------- Post added at 12:53 PM ---------- Previous post was at 12:50 PM ----------

But anyway yeah, I've already undervolted to actually 25mv lower than yours. I'll try changing the suspend freq and see how it goes. Thanks again.
[Nexus 4 Original Android Development] gtanner00:
Install the xda version of better battery stats if you haven't already and leave it overnight. Even if you are getting great battery life there is almost always at least one large wakelock that can be easily managed. The truth is that unless you have a wakelock that is lasting for hours on end, the governor is not going to make a difference when it comes to a period of a tenth of a second over and over again.

Hope this helps and im not just telling you stuff you've already heard.

GT
[Nexus 4 Original Android Development] Jeremy:
Thanks GT

I've already got BBS installed and I've been observing. It has reported an average of 98% deep sleep. However, I still drain 1%/hr so it's a little disappointing. The drain is not only for franco, but practically for all kernels/ROMs I've tried.

There aren't any major wakelocks except maybe for Google+ syncing for 30s and perhaps whatsapp backup up for another minute. Kernel wakelocks are about a minute of msim_hsic_wakelock which can't really be helped.

However, none of these seem to warrant 1%/hr of drain, and that's what bugs me.

Sorry Franco for using your thread. Lovin' FKU app though :D The most intuitive kernel app by far!
[Nexus 4 Original Android Development] deltatux:
Personally 700mV for 384 MHz (and assuming you dropped the voltage in unison), wasn't too stable for me. Hopefully your SoC lets you go that low.

deltatux
[Nexus 4 Original Android Development] sga999:
Sorry if this is right before my eyes and I'm just missing it. In the FKU, what happened to the selection of various themes that were called something like Orange Holo, Green Holo, etc?
[Nexus 4 Original Android Development] juan_carlos__007:
Which franco kernel work on Paranoid 3.99?

If anybody can please help me I'm kinda obsessed with paranoid android for my nexus 4 and the latest stable version release was 3.99 does anybody know exactly which franco kernel can be installed for it? I already tried 193, 193jss, and 194 and none of those work, my device just gets stuck in a boot loop.
[Nexus 4 Original Android Development] inculto:
i think u should use r193
[Nexus 4 Original Android Development] XsceneXhippieX:
I don't know if it's this kernel or kitkat, but my psp emulator plays kingdom Hearts flawlessly for the first time ever in any rom I've ever tried after installing slimkat 1.4 with this Kernel, slight uv, awesome battery life, best performance I've ever had, using ART btw.
[Nexus 4 Original Android Development] juan_carlos__007:
Thanks man I tried 176JSS I downloaded all of them was ready to start to try all of them from bottom to top but I remember somewhere on franco's post saying on latest 3.99 you had to use jss and tied176 before r172,r173, and r174. but thanks for the input I'll try that one later to see if it works too.
[Nexus 4 Original Android Development] gtanner00:
I would think that all of this is down to the limitations of your hardware then. Since deep sleep is the lowest state achieved without power off. I think that you either have a battery that no longer the same capacity it was when you bought it. (Would make sense if you bought the phone when it came out)

The other option in my opinion is that you have some sort of "leaky battery" that just won't hold charge very long.
[Nexus 4 Original Android Development] killswitch11:
So, coming back to this kernel after flashing 4.4. I noticed the FKU app has seen quite the overhaul. I'm a little confused by how everything must now be manually input though. Some things I can figure out, but what do I put for a numerical value for things like enabling USB Fast Charge? Is it just 0=off, 1=on?
[Nexus 4 Original Android Development] Jeremy:
That's what I think but refuse to accept :(
[Nexus 4 Original Android Development] giovaorama:
Long press on every options and the help will magically come out

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] killswitch11:
Ah, I guessed right! Didn't know about the long-press though. Thanks for the tip!
[Nexus 4 Original Android Development] badaas:
What are you using as CPU manager please? Thanks ?

sent from a phone etc.
[Nexus 4 Original Android Development] ImSherlocked:
Guys, chosen color profile is lost on reboot. How do I make it persist across reboots?
[Nexus 4 Original Android Development] chazall1:
Ah, Didn't know about the long-press though.

I have been searching for a value guide? Wow LOL

Thanks for the tip!
[Nexus 4 Original Android Development] deltatux:
There's an on/off switch under the RGB/GAMMA tabs. Make sure you set the colour profile and press the ON switch.

deltatux
[Nexus 4 Original Android Development] yochananmarqos:
He's referencing the franco.kernel updater. Highly recommended if you're not already using it.
[Nexus 4 Original Android Development] DesertVelo:
I am using Franco Kernel Updater (FKU) from the Play Store. There are others (Trickster Mod) but I like to support Franco for his hard work by purchasing his app. I have other devices running his kernel store so it is definitely worth it. Also these are many others who use FKU which makes it easier for everyone to share the experience and help each other.

Sent from the singletrack....
[Nexus 4 Original Android Development] elderap:
where is the "doble tap 2 wake" function in FKU? only seen in trickster

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] moneyolo:
Its in a beta stage. It won't be in fku until its stable. Please search. Many people asked this already.
[Nexus 4 Original Android Development] nvillamob:
You suck for making me think for a split second that I was getting a virus when I flashed this kernel ;)

Works great on PA 4.4.

Sent from my Nexus 4
[Nexus 4 Original Android Development] farmerbb:
That switch only seems to work for the gamma values though, the RGB values are lost on reboot. That's my experience, at least. I've since switched to using Tasker to set RGB/gamma on boot.

Maybe [MENTION=3292224]franciscofranco[/MENTION] can look into this in the app once he's back from his vacation? ;)
[Nexus 4 Original Android Development] badaas:
Does it allow under volt on n4?

The store blurb is a little unclear...

sent from a phone etc.
[Nexus 4 Original Android Development] sordna:
Absolutely, you can undervolt, choose color profiles, etc. I use Franco.kernel updater to undervolt my Nexus 4 by 100mv and it works much cooler.
[Nexus 4 Original Android Development] deltatux:
Works perfectly for me, try to reset the app and retry.

delltatux
[Nexus 4 Original Android Development] DesertVelo:
Yes, FKU will allow you to undervolt your N4 (as well as the N5). Depending on the "binning" of your CPU (http://xdaforums.com/showthread.php?t=2052496), your ability to how far you can undervolt will vary. Slow CPU's can sometimes get away with -50 (typically -25) while faster CPU's can be undervolted to -100+. I have a fastest CPU and I typically undervolt -75.

Remember, undervolting may have a slight impact in battery savings; however, one of the main reasons is to manage the amount of heat the CPU will generate.

When you undervolt, make sure that you do not set it to start on boot until you have a stable value. You will encounter unexpected reboots and strange artifacts in your photos. Once you have a stable voltage, then set it to "boot". If you happen to get into a bootloop while undervolted, just flash the stock kernel and all is well. There are many instructions on XDA to flash the stock. Shout out if you need help on the stock kernel - there are a lot of experience users in the thread.
[Nexus 4 Original Android Development] ImSherlocked:
Guys, could you please suggest a color profile that doesn't make white look like grey?
[Nexus 4 Original Android Development] DesertVelo:
Try the following:

Grays: 0 0 0

Mids: 39 39 39

Blacks: 119 119 119

Whites: 0 0 0

Contrast: 6

Brightness: 0

Saturation: 2

Running 15% - 25% brightness
[Nexus 4 Original Android Development] Devilman539:
For some reason when I use fku to reduce my cpu frequencies, it's not sticking. Every time I go back in, fku shows stock cpu frequencies. Am I doing something wrong?
[Nexus 4 Original Android Development] Luigiesin:
Long press the option... Then set on boot...
[Nexus 4 Original Android Development] Sauveur:
I'm sorry for the newbish question, but I've searched the forum and haven't found an answer.

What is a deadlock?
[Nexus 4 Original Android Development] ramkumar2000:
Deadlock is when screen freezes for some seconds...for example you are typing and suddenly ur screen wiill freeze and you wont be able to do anything for 1-2 seconds, it used to occur in 4.3 but i guess that is in past now...:)
[Nexus 4 Original Android Development] nokiagye:
Hi exist anyway to keep my ROMs builded super user?
[Nexus 4 Original Android Development] Sauveur:
Thanks. One more question. How do I set "halfbreed" color values with Trickster Mod?
[Nexus 4 Original Android Development] ramkumar2000:
Sorry have no idea about that coz i never used trickster mod but on FKU u can just select the colour profile you want.
[Nexus 4 Original Android Development] Whhoesj:
On the screen page, set the gamma values to

brightness 4

contrast 25

saturation 66

And set red, green and blue to

black 118

greys 32

mids 68

white 64

Don't forget to save the profile at the top of the page and to hit apply.
[Nexus 4 Original Android Development] richteralan:
Binning does not have direct impact on how much you can UV. My Slow binned N4 can do -125mV without any stability problems.
[Nexus 4 Original Android Development] fario78:
No works better battery stats app, any solution?

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] Jeremy:
it works. Go to the official BBS thread and download the latest XDA version
[Nexus 4 Original Android Development] fario78:
Not working

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] tongjia19:
I have some issues with LMT 1.912. The menu key and back key doesn't work. I'm on r194. Anyone know a fix? Tried searching in lmt thread and this thread but couldn't find a fix..
[Nexus 4 Original Android Development] jpde:
Maybe you should give BetterBatteryStats root access then?

It works perfectly fine for me on r194.
[Nexus 4 Original Android Development] rzrv8:
Have faced 6 random reboots yet. Didnt think of it to be a big problem till it happened between a span of 10 minutes. What should I do if it happens again? Btw, running r194 with stock KRT16S.
[Nexus 4 Original Android Development] shengovind:
+1 mine is faster and I can't undervolt below 125mv...

150mv and it freezes..

Binning doesn't affect uving...
[Nexus 4 Original Android Development] fozzie:
That's right; binning doesn't "affect" UVing because it's just a classification of the CPU by the manufacturer.

However, it does give an indication of the CPUs clock & voltage capabilities.
[Nexus 4 Original Android Development] richteralan:
What it really indicates is the default voltage table. The clock frequency is the same.
[Nexus 4 Original Android Development] fozzie:
I think you'll find CPU binning is based on the voltage and frequency (and thermal) properties of the chip.

The voltage table is set after binning not the other way around.
[Nexus 4 Original Android Development] richteralan:
I know what you are talking about. I was saying from an end user point of view. Let's not get this into a discussion of fabrication, yields, and marketing.
[Nexus 4 Original Android Development] fozzie:
No, please don't! Lets just leave it that a CPU's binning is based on a number of factors, not just voltage, which is why slower binned ones can sometimes be UV'd more than faster binned ones.
[Nexus 4 Original Android Development] sordna:
I had random reboots even with stock kernel, especially when using the camera. I downgraded back to 4.3 and r193. Try the stock kernel and see if it helps. Its likely not kernel related. In my case I decided to wait for 4.4.1 before I try KitKat again.
[Nexus 4 Original Android Development] DesertVelo:
You are correct, the binning of CPU's do not have a finite correlation to the absolute ability to undervolt a processor. However, it provides a qualitative value for some to determine the capability of CPU to handle higher speeds and heat. Since the kernel does not have an overclock feature, some heating issues can be managed with some undervolting changes. I agree, undervolting can be all over the board - my "fastest" CPU does not like to be UV'd past -125.

Sent from the singletrack....
[Nexus 4 Original Android Development] Cantacid:
Did Franco say, when he'd be back. Missing flashing new builds every week.
[Nexus 4 Original Android Development] dapsANDpoundz:
Even when he does come back, I doubt that'll be the case for the N4 anymore. He's already more or less perfected it for the N4, not much else needs to be done. Seems a lot of ppl are pretty satisfied with it. There'll be tweaks but nothing major.
[Nexus 4 Original Android Development] The1Shark:
Amazing work (r194)

Very happy with it.

Thank you very much.
[Nexus 4 Original Android Development] deltatux:
Really? There's a lot of us still having trouble listening to music with the screen off, it constantly skips. It's personally driving me bat**** insane. I have a feeling that Android 4.4 did something to franco's hotplug driver because it's still haywires from time to time.

deltatux
[Nexus 4 Original Android Development] fabrizziop:
What player are you using?. People complain about skipping on play music on stock kernel.
[Nexus 4 Original Android Development] deltatux:
Hell's Core kernel seems stable, haven't had much issues, 'cept it drains battery faster than franco.Kernel. I'm using Google Play Music and PowerAMP. Both are skipping and driving me insane.

deltatux
[Nexus 4 Original Android Development] svnhvn:
No skipping on my device though. Also using google play music.
[Nexus 4 Original Android Development] Akath19:
I'm hearing massive skipping in Google Play Music, I'm trying to listen to some flac 96kHz files and it skips like crazy.

Setting suspend_frequency to 1512000 helps but it still skips, keep in mind that I had the exact same setup in r193 and it didn't skip once, also I didn't have to raise suspend_frequency at all.
[Nexus 4 Original Android Development] deltatux:
Would it help to say that most if not all my music is 256kbps AAC files?

EDIT: I found some logcat issues that may pertain to the audio skipping, posted here: http://xdaforums.com/showpost.php?p=47847233&postcount=1687

deltatux
[Nexus 4 Original Android Development] 1ceb0x:
kernel repo is updating every now and then so he will have stuff to update and improve. he just merged 4.4 kernel on top so there sure are things to polish, improve or even fix.
[Nexus 4 Original Android Development] Luigiesin:
I don't have any issues with music skipping... But my notification bar is laggy as hell... Everything else is smooth since I'm using ART... I just wish I could get rid of the notification bar lag.. Drives me crazy.. LOL

I swipe down ad takes about half a second to respond.. Doesn't matter If i'm on the home screen or any other app as light as it is...

I think Franco hasn't merged all the goodies from 4.3 yet because I didn't have that issue before..
[Nexus 4 Original Android Development] jmudrick:
Instantaneous here....
[Nexus 4 Original Android Development] jimbohurt:
I flashed that moto x optimized dalvik library thing that everyones on about and I have no lag when I pull it down now!
[Nexus 4 Original Android Development] Cantacid:
A lot of devs are pointing out that the motox sources are not meant for our devices and should not be used. They know it better i guess.
[Nexus 4 Original Android Development] Luigiesin:
I'm using ART though... Everything is super smooth.. Even XDA app and Facebook... In fact ever app I use is silky smooth... But the notification bar lag on ART and Dalvik for me...

I had that issue on 4.3 until the last kernel Franco released... I think it has to do with the touch speed tweaks he had that fixed it for me.. Don't think he merged that yet on this revision of 4.4 because it definitely feels different... Not as sensitive as 4.3.

Franco.. Can't wait for you to come back man.. We're feeling lonely here! LOL... Kidding! Enjoy your trip brotha.. We just miss you ;)

Lu
[Nexus 4 Original Android Development] XsceneXhippieX:
The new dalvik optimizations have no effect on your smoothness whatsoever if you're using ART, because it optimizes the runtime you aren't currently using, ART =/= dalvik
[Nexus 4 Original Android Development] xboxfanj:
Correct. Qualcomm's optimizations are in libdvm, which is only used in dalvik mode (it's used instead of libart for dalvik).
[Nexus 4 Original Android Development] Luigiesin:
Happened to me on Dalvik... That's why I switched... But still have it on ART.
[Nexus 4 Original Android Development] MMeester:
Try LMT RC6. It can be found in the LMT thread. That's also the place for further questions about LMT.

N7(flo)-PA3.99-franco.kernel

N4(mako)-PKK4.4-franco.kernel
[Nexus 4 Original Android Development] RohanM:
FKU (free ver ) is still showing as r193 the latest ver..
[Nexus 4 Original Android Development] shahabk818:
Very short battery life
[Nexus 4 Original Android Development] kancrutt:
not bad at all for me, my device is sleeping beauty ?

typing...from Nexus⁴
[Nexus 4 Original Android Development] kancrutt:
missing attachment

typing...from Nexus⁴
[Nexus 4 Original Android Development] zoym:
stupid question, how to save settings? after reboot all customized settings are just gone. 4.4 stock with franco 194.

thx.
[Nexus 4 Original Android Development] mdaamir1989:
Did you make an effort to read out a few pages back to see how to do it ?

Read the description provided in the app . That's the reason it was added .

Anyways , long press any menu item. U will get a "Set on boot" checkbox .
[Nexus 4 Original Android Development] Mihnea1996:
Long press on any option and a popup window will appear . Check set on boot. After that it should look like this.

Voltage control in that case.

Trimis de pe Nexus 4
[Nexus 4 Original Android Development] schizophrenia:
just usual wakelocks i have checked

location history (for Google Now), messengers, nothing that is waking a lot

and also quite a lot of msm_hsic_host wakelock.. maybe an hour

I have so far never got longer than 2:30hrs of screen on time since the 10 days I got my Nexus 4.

In fact those screen on time battery drain I dont think it's done by any wakelock as wakelock should cause only screen off drain (correct me if I am wrong)

there must be something that drains battery so badly when the screen is on. Widgets? possible?

I have these widgets on home:

Flighttrack

Pure Grid Calender

Zooper Widget

CircleLauncher

PlayerPro

Data Counter (refresh every 10 minutes)

SwitchPro Widget

System Info widget (refresh every 2 minutes)

Feedr (refresh only on Wifi every 3 hours)

aCurrency (refresh every 12 hours)

Any expert opinion? these battery drains are killing me
[Nexus 4 Original Android Development] Testraindrop:
Use cool tool app and see what cpu speed you have on the homescreen while doing nothing, should be the lowest possible, also you can set it to show the most cpu intensive process.

http://img.tapatalk.com/d/13/01/07/ypa6even.jpg
[Nexus 4 Original Android Development] stuart0001:
Try a factory reset to rule out rogue apps. If you still get that bad endurance then its almost certainly a faulty phone. My replacement lasts almost double my original which was similar to your stats. Another sign would be if it gets very warm when not doing much. Again, my previous did this too.
[Nexus 4 Original Android Development] schizophrenia:
I have checked such using a different app and yes it mostly stays at lowest 384 if i am not doing anything but with screen on.

I really really wish that's not the case as I am no longer in US and returning the phone for a replacement is not an option anymore. damn
[Nexus 4 Original Android Development] Luigiesin:
Widgets not only use a lot of RAM, but it also drains battery... Especially widgets that are updating information regular because it wakes up the phone constantly connecting to he Internet to download the data... Even with screen on...

Everything that syncs uses battery.... If you don't need all of those widgets, then I suggest you take them out of your home screens... Only use widgets of apps you really need... The rest you can always open the actual app when needed...

I only have two real widgets on my screens... Evernote and calendar because I use them consistently...

If I were you, I would sacrifice those widgets and enable Google Now and other cool features from Google (if you use them of course)... A lot of those app widgets are badly optimized.. And doesn't matter how well coded the kernel and ROM are, those widgets will kill your battery regardless...

Lu
[Nexus 4 Original Android Development] iGoogleNexus:
I think USB debugging needs to be turned off no? Try it ... When you turn off the Debug ... Unplug then plug back in =]

Also turn off fast charge =)

#Team MiNCO

**G1→N1→NS→GN→N⁴**
[Nexus 4 Original Android Development] ayamary:
This phone has 2gb of ram... nobody needs to worry about memory usage. Also connecting once or twice an hour isn't constantly, that's assuming it even uses your internet connection.
[Nexus 4 Original Android Development] jack1984:
I agree, the time widget isn't of much use because of the time in the status bar, and weather is a simple swipe up for Google now or can be configured to appear in the notification bar if all you want is current conditions. I'd rather Google now use battery updating things I let it know I need than widgets that serve only an aesthetic purpose. But to each his own.
[Nexus 4 Original Android Development] Luigiesin:
That's true, but if you have 300 widgets updating every 10 minutes, then expect some massive battery drain... Like I said, if it's not necessary then avoid them, or keep them and don't complain with battery drain...

In my Nexus 7 I have everything enabled.. Tons of widgets and such... Because the battery is huge and that's what I use my tablet for... I just don't want to run out of juice while I'm out in the streets... But I still have all my Google services enabled...

Yes we have tons of RAM, so perhaps ram isn't a issue here..
[Nexus 4 Original Android Development] jack1984:
USB debugging does not have to be turned off. Try other USB ports. My nexus 7 would only charge if I used a USB port that doubled as a FireWire port, but plugging into my USB 3.0 slots it read it fine.
[Nexus 4 Original Android Development] cpom1:
Is anyone having an issue with Bluetooth?

Sent from my Nexus 4