yashsingh1/xdaforums huggingface dataset:
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=7064381]jonathansmith[/MENTION]

Battery settings.

Wysłano z telefonu.
[LG Spirit Guides, News, & Discussion] Tomo123:
To be honest, Qualcomm did good by setting the Interactive governor like it did. Default settings, I mean. But, timers and delays were a bit off. They've used 25000 and 30000 where they should've used 20000. Same with 50000. It should be 40000.

Most of the battery saving comes from 1094400:85. It prevents frequent jumps to higher frequencies, while 1094400:80 allows it.

True, the processor we have is a bit underpowered. That's why Qualcomm set it up the way they did.

Can someone REALLY test these settings for a few days and post a Gsam screenshot with battery life? They are EXTREMELY close to default ones, but with timer and a few important changes that Qualcomm messed up in applying. They used min_sample_time, instead of max_freq_hysteresis.

Max frequency hysteresis is the amount of time cpu will spend on max, and timer slack combines wake-up timers to lower the possibility for the cpu to wake up on meaningless loads. I never tested that on near default settings.

If any of you have the time, I'd appreciate it.

CPU Governor Tunables subsection:

above_hispeed_delay: 20000 1094400:40000

go_hispeed_load: 90

hispeed_freq: 998400

min_sample_time: 40000

timer_slack: 80000

target_loads: 1 800000:85 998400:90 1094400:80

timer_rate: 20000

max_freq_hysteresis: 40000
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=5043095]Tomo123[/MENTION]

Values applied already. After few days I will report results.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
I will try them too ... as soon as i get free time.
[LG Spirit Guides, News, & Discussion] :
Gonna try them, thanks tomo.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
[MENTION=5043095]Tomo123[/MENTION], mate - timer_slack: 80000. From -1 to 80000? Could it be a mistake?
[LG Spirit Guides, News, & Discussion] polfrank:
Would this help our device save some battery too?

http://xdaforums.com/g4/help/guide-disable-logd-process-battery-drain-t3308921
[LG Spirit Guides, News, & Discussion] :
On my device it doesn't even appear in the processes (the section of BBS), so I don't think it's a problem.
[LG Spirit Guides, News, & Discussion] Tomo123:
Nope. It's basically this:

https://en.m.wikipedia.org/wiki/Timer_coalescing
[LG Spirit Guides, News, & Discussion] FalconRider:
My biggest issue before and after the performance tweaks is the phone hangs when a call comes in and struggles to load up the answering interface. Opening the phone app also hangs more than any other app I have.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Here it is. The feedback on the latest testing settings [MENTION=5043095]Tomo123[/MENTION] suggested a few days ago in post #636. Gotta say that I didn't have the chance to fully charge up to 100% .. only up to 86% so take that in mind. Also, I couldn't really test in the sense that I couldn't use the phone straight. That means that it was left idle for maybe 50% of the time. So the battery it lost during that time could have instead been used on SoT ... meaning that the current 4+ hours SoT the screenshot shows could easily have been 5+ hours. ... other than that I used Wifi moderately ... not too much, not too little either. Played tracks on SoundCloud for maybe up to 1 or 1.5h all in all ... what else... the stats speak for themselves, really. Wifi was on for 5.5h as you see .. so that's nice. Used Data for a bit, but not too much .. don't know why GSam does not show that. A note has to be made here .. make sure you used a proper GSam app, cos readings ARE different/misleading if you don't.

EDIT: the bottom line is that I think those settings are alright, but not best for performance. For battery they are quite ok. But the latest final settings we have are not worse for battery but are better for performance. Even some older settings from very early January that we have are even better for performance, without compromising battery. That's my take on it guys. Hope that helps. Have a nice day! :)
[LG Spirit Guides, News, & Discussion] Tomo123:
4-5 hours is expected under moderate use with these settings. You can stretch it to 6 sometimes. I tried to keep them as close to factory values. Well, it's an option.

[MENTION=6512144]FalconRider[/MENTION] You really need to flash updated firmware. That v10d you're running is seriously buggy. If a firmware blows a$$, no tweaks can help it. And those problems you have are firmware issues.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
It's an option indeed, mate! Thank for providing it. For now I'll continue testing the latest final settings on performance and will compare them with 1 or 2 sets of settings from early January in order to find what works best for me. Cheers!

And as far as I remember flashing new firmware would mean losing root access and then having to attempt to regain it anew, right?
[LG Spirit Guides, News, & Discussion] :
[MENTION=5043095]Tomo123[/MENTION] here you are.

That ~5 h of SOT are mostly gaming and browsing. (yeah I had a very boring day)

I agree with [MENTION=7064381]jonathansmith[/MENTION], battery is not worse, performance is. Sorry battery is at 17%, not at 10% but I hate receiving that notification "low battery".
[LG Spirit Guides, News, & Discussion] FalconRider:
Thanks. I will try get it done this week. Trying to download the kdz currently.
[LG Spirit Guides, News, & Discussion] :
Yes, and with latest versions of kingroot the script doesn't work, so you have to root with some older one.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
yep, back then I managed to root just when v10h had been released and I had just upgraded to it ... so I was fresh with it and luckily it worked and i managed to root it. Since then I received only 1 prompt for fw upgrade and that happened recently. That was the v10i-nov-24-2015 but I haven't upgraded to it.
[LG Spirit Guides, News, & Discussion] midzan21:
I wouldn't agree with that... I had v10h (non rooted, clean install after almost a 2 months), upgraded do v10i using OTA (after install of OS, no additional apps), rooted with KingRoot 4.6 (or 4.6.1 IDK, removed apk from phone) and changed from KingRoot to SuperSU (Pro, paid for it) and it works fine...

Also on v10i, clean install on neighbours H440N it rooted fine with KingRoot (same version as on mine phone, had apk on SD Card and did it same day in difference of 20 minutes)

EDIT: [MENTION=5043095]Tomo123[/MENTION] I would check latest config this weekend, but I would say that 7+h SOT works fine (yesterday got almost 7h of SOT, proof is below) with almost 2 days of heavier usage (a lot of SOT was at college before exam time and during exam to look at documents)

Proof (after phone turned on again, it shut down itself at 1% few seconds before it was on charger):
[LG Spirit Guides, News, & Discussion] ivanlaki:
what firmware is the best, most stable and fastest?
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=7061627]ivanlaki[/MENTION]

:facepalm:

The latest one.

Wysłano z telefonu.
[LG Spirit Guides, News, & Discussion] ivanlaki:
Thank you, the smartest man on the world. Im asking what is the name of it.

And i am asking in a way, cause they didn't do such a great job with optimization of this phone in a first place, so maybe some update that is older may be better in some ways..
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=7061627]ivanlaki[/MENTION]

Latest software is v10k. Im using v10i and it's good too.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
You have a good point there. Latest does not necessarily always mean best and fastest and most optimized ... Unfortunately I cannot tell you which one is best. I'm not using the latest one and Tomo was telling me he's using even an older one than mine. Both are fine. Mine is v10h and with kingroot it can be rooted.
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=7061627]ivanlaki[/MENTION]

I know it right, but on our phone in my opinion is best v10k, so I said the latest one. [MENTION=5043095]Tomo123[/MENTION]

I feel no performance drop, but battery is little bit better.

Screen from today:

Wysłano z telefonu.
[LG Spirit Guides, News, & Discussion] :
[MENTION=7061627]ivanlaki[/MENTION] [MENTION=6093642]kamil79123[/MENTION] [MENTION=7064381]jonathansmith[/MENTION] lol guys, I'm on v10c cause I'm too lazy to download newer kdz :)
[LG Spirit Guides, News, & Discussion] polfrank:
Did you have mobile data turned on or only WiFi? With mobile data turned on I get around 4 hours of SoT, and no more. Also, I can't get 3g in the place that I am so its constantly connected on full-signal 2g. I don't know if this has something to do with the battery. (Setting 2g/3g auto)
[LG Spirit Guides, News, & Discussion] ivanlaki:
So, this is with standard "fast" settings from first post, i think it cant get much bezter than this, i have 0% lags, literally, i use snapchat without problems, snapchat!! I even started using chrome again, which i taught ill never use again, and with that smoothness i still get at least 5 hours SOT, very happy :)
[LG Spirit Guides, News, & Discussion] midzan21:
It is only on WiFi in that 2 days... there was about 3 hours without WiFi, and also had to use GPS for about 30 minutes (Low accuracy mode) because of WolframAlpha (yup, that app need it)... About can't connect to 3G, that is maybe something with your place and connection because I today used phone for about 30 minutes on 4G (3G down fall in house, damn it) and didn't had issue regarding this.

Edit: [MENTION=7061627]ivanlaki[/MENTION] that is great expirience about "performance" profile... I'm still with 7+h SOT profile (aka battery saver profile) but if it can take about 4+h of SOT on WiFi only then it is great
[LG Spirit Guides, News, & Discussion] ivanlaki:
Yes it is a great experience,ofcourse i was only on wifi, on data connection i get around 3 hours, maybe 4:)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
LOL! :) Prolly you're doing the right thing! [MENTION=5043095]Tomo123[/MENTION], any idea which firmware is best for our phone?

PS - [MENTION=7061627]ivanlaki[/MENTION] what fw are you on?
[LG Spirit Guides, News, & Discussion] ivanlaki:
Im probably a lot of upgrades behind all of you,but i dont really have problems with it,maybe sometimes camera is a problem(up to 5 sec to open)
[LG Spirit Guides, News, & Discussion] :
I'm on v10c-222-01.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Would be interesting for me to find out which firmware runs best.
[LG Spirit Guides, News, & Discussion] kamil79123:
Look guys.
[LG Spirit Guides, News, & Discussion] jonixas:
Tl;dr : We know jack **** about updates in general
[LG Spirit Guides, News, & Discussion] kamil79123:
Damn sorry, not this thread, I wanted to send it in another thread about Marshallow.
[LG Spirit Guides, News, & Discussion] FalconRider:
I am amazed on how you are getting this. I am running the 7SoT settings, minus freezing all the bloatware (haven't had a chance yet) and I can barely get 3 hour of SoT. I generally have to charge my phone twice a day. 100% at 9am. At about 4pm I was on 39% and 11% by 6:30pm which is when I usually start my second charge. My screen on time for the whole day is 3 hours. Which is from 9am-10pm. Maybe my battery stats are wrong or something but this seems very weird.

My usuage is essentially playing music via Google play for maybe 1-2 hours, either streaming or offline. Using WiFi for a couple of hours during which front runs (proxy). Otherwise just being on LTE, messaging on telegram and WhatsApp and playing ingress for 15 minutes. My location services are set to high accuracy mode 24/7 so that might be it and my screen brightness is usually 35-50%. My average usage is 10% battery life an hour.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
well .. then do freeze the crap .. otherwise no surprise that you can't get to 6 or 7 SoT. Besides, for me the performance settings save more battery than the battery settings... don't know why. I guess it also depends on how old your battery is and how much of it's original capacity it still has. That can be checked with an app or from within Android ... see screenshot. In my case ... my battery is like half-a-year old and it has over 80% of its original capacity, so I guess that's ok. .. dunno, those are just some things that came to mind regarding your case.

PS ... i think the phone was released in March 2015, so ... in any event, the battery prolly can't be older than a year, so .. yeah

PS ... the way you are draining you battery is wrong and you are recharging it way too seldom. See Tomo's link in #1 post. It shows that if you want a good battery you need the DoD [depth of discharge] to be as little as possible. So if u do small recharges for every 10-20% battery lost, then you're doing you battery a favour. If the DoD is really big then you're not doing your battery a favour. Read up on the stuff provided by BatteryUniversity and you won't be sorry. In my case I charge my battery twice a day also, BUT that is cos i charge it up to 80 and let it go down to ...65-70 ... then the 2nd charge of the day is the same. My use is just normal... WiFi is on for quite a bit, playing some music now and then on SoundCloud ... and stuff like that.
[LG Spirit Guides, News, & Discussion] simulatorf:
This is my batter life today - I think the battery is pretty good considering I've spent 12 hours moderately browsing through the phone on breaks and I don't obsessively use it but for my needs after a day I've got 60% left.

I was using like maybe 50% wifi 50% 4g or something like that and I don't think it's able to go to 7hrs SOT. At least not mine, and I bought it a month ago, so battery is pretty much new.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
I know for myself that if I drain from 100% to 10% I can do sth like 6h SoT .... maybe even 6.5h ... but that's just for testing. Don't have a DoD of 90% on a daily basis ...
[LG Spirit Guides, News, & Discussion] :
Me too, performance settings seems to save more battery than default ones. I usually get from 5 to 6 hours of SOT and still have something like 20% at around 22.

[MENTION=6512144]FalconRider[/MENTION] Google play music is a BIG piece of crap, IMO. It uses a lot of battery and if you accidentally remove it from the recent apps it stops playing. I use stock music app. It's fine. And gps too, high accuracy use pretty much battery, but yeah you may need this. My DoD is usually around 70%, but I can't charge the phone till 22 so...
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Good point there! Google play ANYTHING is a BIG piece of crap and wastes resources ... I think in #1 post as well as all throughout the thread it has been discussed very well what is needed and what is not ... so, unless bull**** is disabled, I don't see how anyone can see good performance or battery gains.

Yeah .. i guess nothing to do in your case, but in general ... avoid big DoD.

---------- Post added at 11:35 PM ---------- Previous post was at 11:25 PM ----------

Sorry .. didn't read through your whole post. Now that I read the 2nd paragraph i gotta say ... you're lucky you even got 3h SoT based on what the 2nd paragraph shows. With the type of use described there it totally makes sense that you'll never reach 7h SoT, IMO.
[LG Spirit Guides, News, & Discussion] FalconRider:
Thanks everybody. I can my depth of discharge to 10% very easily. In fact I was letting it drain as I thought that tiny charges ruin the battery. [MENTION=7064381]jonathansmith[/MENTION] Can you please tell me what app you used, or how to check how much of my battery capacity is left.

I use Google play as its the only unlimited music subscription service available in my region. If Spotify becomes available I will swap to it. I know its a piece of crap though and I am on the look out for apps that allow me to stream my Google play music or play offline but haven't seemed to find one.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Yep, you were doing the mistake a lot of others, incl. myself were/are doing. Read up on the #1 post from Tomo and pay attention to the link he placed there to BatteryUniversity. Those guys are explaining pretty wells the do's and dont's of li-ion. Other than that article they have loads of other nice ones ... I'm sure many apps allow you to check the battery capacity, but I am not using one for that, because I'm using lollipop's built-in option to check that. See my post #442 .. which is here. You need to use Nova launcher to do that. Other launchers and apps also have similar functionality where they allow hidden options/activities to be accessed.

Hm ... Google play music and Spotify ... personally I dislike both of them. SoundCloud is free. Not sure how Spotify is different from SoundCloud since I've never used Spotify and am never likely to do. Prolly SoundCloud only has a limited amount of stuff users uploaded, whereas Spotify (being paid, as I recall) has basically everything out there. For my needs, SoundCloud also has everything I need. Maybe it doesn't have absolutely all the stuff that comes out ... depending on what users upload, but loads of music is there anyway.
[LG Spirit Guides, News, & Discussion] ivanlaki:
6hours 15 min SOT and 15% left, with performance settings, i really think this is sick!!:)

Long story short, mostly using whatsapp, instagram, browser(i use naked browser pro, it really consumes a lot less battery than chrome in my experience), few snapchat pictures, brightness between 30 and 60%, 30 min of data connection, other is wifi, all apps greenified with greenify after using, except whatsapp, instagram and browser, a lot of crap frozen. :)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Told you the performance settings work actually better for battery ... the battery settings don't save as much settings as the performance ones, at least IMO. Naked browser pro is one of the best out there, if you ask me.

[MENTION=7061627]ivanlaki[/MENTION] - i've applied all stuff mention in #1 post and have disabled all unnecessary ****. Then I blocked what I mentioned in my post #611 and guess what ... Greenify is silent ... it says there's nothing that needs greenifying/hibernating ...
[LG Spirit Guides, News, & Discussion] Fobos531:
[MENTION=5043095]Tomo123[/MENTION] is it necessary to turn off animation scale values?
[LG Spirit Guides, News, & Discussion] Tomo123:
If you prefer. I have mine turned off.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Swappiness 60, instead of 80 or 100, gives better performance, right?
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=7064381]jonathansmith[/MENTION]

I see no perfomance difference between swapiness 60, 80 or 100.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Interesting point there! You could be right. I just asked, cos I thought it was once mentioned that 60 gives more performance whereas 100 is more for freeing up some memory. I could be mistaken. That's why I asked. [MENTION=5043095]Tomo123[/MENTION]?
[LG Spirit Guides, News, & Discussion] ivanlaki:
I use 100, inmy expeeience better than 80, dont know for 60
[LG Spirit Guides, News, & Discussion] :
Swappiness is a value that indicate how often phone should use swap. So, lower values means less often, thus more apps on ram, which is faster than swap. Swappiness to 100 means that swap will be used very often, so more free ram but (possibly) slower apps. On my device I don't feel the difference anyway.
[LG Spirit Guides, News, & Discussion] Tomo123:
Swappiness set to 100 gives more free memory at a slight expense of battery, since the phone will compress more dirty data into zram. And it will do it more often.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Thanks for the reply, guys. So is any of the 3 values 60, 80, or 100 better for performance (guglicap had a point there in his last post)? At the moment I cannot tell cos I'm playing with other settings as well and can't be sure if performance changes are due to swappiness or sth else.

PS - do we need to reboot/power cycle phone when we apply different Kernel Adiutor profiles?
[LG Spirit Guides, News, & Discussion] Tomo123:
Just to mention, here's my SOT screenshot from last night, with factory cpu values. I only changed the timers to 20000 and 40000 respectively. It was mentioned in one of my previous posts. All other tweaks are as explained in first post.

I was up late and wanted to check my battery life since I used the phone a lot. Imagine my surprise :) And Gsam predicted 2 hours more. Damn!
[LG Spirit Guides, News, & Discussion] :
Are you f****** kidding me? :) Very good man, very good... Do you mind posting them? (still wondering how your phone had been awake for only 3 minutes in 10h...)
[LG Spirit Guides, News, & Discussion] Tomo123:
Here they are:

http://xdaforums.com/showpost.php?p=65184071&postcount=636

About the low Held Awake... I am REALLY careful, finnicky and choosy about the apps I have on my phone. If any of those apps causes unwanted wakelocks, uses data when I don't want it to, or has permissions I cannot stand, it's out.

On the other hand, if there's no better alternative to a problematic app, I use MyAndroidTools and put it in it's place.

99 percent of my apps are firewalled and with modified services/broadcast receivers.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Wow .. nice stuff, [MENTION=5043095]Tomo123[/MENTION]. And could you give any opinion regarding the swappiness 60 80 100 in terms of performance?

PS - do we need to reboot/power cycle phone when we apply different Kernel Adiutor profiles?

EDIT: was that the right link for the settings?
[LG Spirit Guides, News, & Discussion] Tomo123:
I have swappiness at 100. For KA profiles, you don't need to reboot when testing, but you have to give the kernel some time to settle with the new settings.

And yep, that was the right link.
[LG Spirit Guides, News, & Discussion] kamil79123:
[MENTION=5043095]Tomo123[/MENTION]

What do you think? Can we do something with GPU like OC or changing it's values or governor to increase perfomance in 3D games?

Wysłano z telefonu.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Alright, then I must be missing something here, cos I though he was asking you for the settings ... that is, which setting you used to get those crazy nice values in GSam (that's what I am interested in, at least). Was expecting to see a KA screenshot with the factory cpu values, that you mentioned, but the link actually shows a discussion in Russian. That's why I asked if that was the right link. Still puzzled, though :)
[LG Spirit Guides, News, & Discussion] Tomo123:
crap, you're right. cliptray at it again. fixed the link.

I was browsing through something on 4pda, and accidentaly pasted it here. My bad, guys.
[LG Spirit Guides, News, & Discussion] Tomo123:
I also messed a bit with the gpu. Default governor is good and fast when needed. No need to change it.
[LG Spirit Guides, News, & Discussion] polfrank:
Do you happen to have any idea why mediaserver is draining my battery? It's here 2 days now...
[LG Spirit Guides, News, & Discussion] kristijan_m75:
Did you try to restart your phone
[LG Spirit Guides, News, & Discussion] :
On my phone it's draining smth like 1%...

I'm not sure but, three or two days ago, I found that "Ok Google" used mediaserver... I was running top (I don't remember why though) try to check, even if I don't think that's the problem.

EDIT: It was the Fast Mixer thread. Google is innocent (this time)