yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] x_justin:
That drain you guys used to have, I had it too once, but it never came back after a kernel reflash + wipe cache + wipe dalvik. Otherwise I would like to say, make a nandroid backup, format system, do a factory reset and refresh rom + kernel + gapps lite.

Then use nandroid manager to restore your apps from your nandroid backup. I'm no dev but it's easy to try. If you don't like the idea to restore all your stuff, just nandroid and install a clean Pengus rom with KK123. Is the problem still there? Post logs, and restore your nandroid backup. Problem gone? Then it's solved.

Do I have to say anything else? I've never experienced such results before! It used to be 4% to 5% an hour. It's without wifi, with bad 3g signal. Just a normal night, sync on. It's a prove that this drain is not neccesary. Maybe it's no drain you guys have but just a weird calibration?
[LG Optimus 2x] alexander555:
The brightness is codet in the 95kowalski .ini.

Read this for understanding...

http://xdaforums.com/showpost.php?p=41893581&postcount=5689
[LG Optimus 2x] joaopmsantos:
Regarding the auto-brightness settings in 95kowalski, Is there anyway I can tell wich step is active at a given moment?
[LG Optimus 2x] Anurag pandey:
Is there any app or terminal command using which i can check if both cores are in use. Cpu adjuster has a bug that forces single core mode so i have uninstalled it temporarily till the dev fixes it.
[LG Optimus 2x] besho2222:
Wow, your phone does sleep too much, you must have a firm policy about Greenify or your apps then
[LG Optimus 2x] tonyp:
pengus77 is suspecting that this is provider related. His and x_justin's provider don't support Fast Dormancy (FD) - same as all CM ROMs.

Lots of carriers (including mine) DO support FD, which might lead to a higher drain as the phone doesn't support it.

Another drain table:

CARRIER FD + ROM FD
<
CARRIER NO FD + ROM NO FD
<
CARRIER FD + ROM NO FD
<
CARRIER NO FD + ROM FD

Unfortunately it's extremely complex to port FD to CM.

Additionally some phones have the A04 SoC revision, which supports a better power saving mode than the A03 ones.

You can check your revision at the beginning of a kmsg log.

To sum it up: Some people will never be able to get the same battery life as others do.

Well then post it in his rom thread instead of into the kernel one.
[LG Optimus 2x] Firtecy:
Online Cores

You can navigate in Terminal to "/sys/devices/system/cpu/". There are the files online and offline, just get the "online" file with "cat online" and you get the cores that are online (the first core is 0, the second is 1)

So if only core 0 is online the second is turned off (like in single core mode)
[LG Optimus 2x] chp2:
Same Here.

I had these problems since kk _120 and I wasn't able to say if it was BT or 3G. Sometime the temps rises to 40°c. Right now it's @36°c (damn hot).
[LG Optimus 2x] besho2222:
Thanks Tony, great info., that explains alot of the fluctuation in battery juice, I have the A04 SoC rev. (Which I believe I'm one of the lucky few), but I don't know whether my network supports FD or not, when I asked their customer service, they acted as if I'm talking about rocket science :D, is there a way to know if the carrier supports FD or not?

Edit: google didn't mention a thing about mobinil Egypt
[LG Optimus 2x] Escobarretje:
A quick google search answered my question, dutch providers are using FD!
[LG Optimus 2x] lucfig:
Today my phone screen did't turn on at morning and I had to pull the battery off.

I can't remember the last time I had to do that.

Phone was charging and removing the harger didn´t help.

ROM: tonyp - T-Build 03

Kernel. latest exp 123

CPU: 1300Mhz dynint - 608Mhz screen off - DynSync off

Tasker and Pebble app running on background (Pebble connected)

EDIT: Sorry, forgot to link the log. Here it is http://db.tt/xI0A3j82
[LG Optimus 2x] x_justin:
Nice table, however, to make my post more unbelievable...

Even more:

- I had bad signal that whole night

- My provider is actually supporting FD (vodafone NL) but my rom not (always enjoyed that on DMX, but now it's not needed anymore!)

- A03, the little more juicy soc

- I made a custom ref at a lower percentage, testing from 100% to xx% is not fair because the first percent drain from 100% lasts longer

- 0,3% drain per hour when I woke, but then I opened up facebook and a few percentages drained it down to an average of 0,7% per hour

I have really that less drain! And I am sure it's due tue the latest PM-IRQ fix, because I had a bit higher drain on exp 122 and did not change or wipe anything, not even cache.
[LG Optimus 2x] chp2:
Very interesting indeed....

I've done some research and it mean none of the French providers support FD.

I tried with 2 of them (Orange & Free Mobile) so I have no reference point. With both I experience high temps and power drain.
[LG Optimus 2x] calav3ra_de:
Just my two cents here: I'm sure i have read somewhere on xda that FD is even different amongst ONE provider and his multiple cells distributed over the country. Dont know exactly which article or thread it was, but here is one: http://www.xda-developers.com/xda-tv-2/fast-dormancy-the-whole-story-xda-developer-tv/)
[LG Optimus 2x] punyategar:
Edit: i think its cpua. Making profiles doesnt change anything. Im using performance control from tonyp pa rom to change freqs and governor.
[LG Optimus 2x] pengus77:
Ok guys. Being "phoneless", i spent the last hour studying a way to implement FD in CM/AOSP roms. I think i can do it in about a week of coding+testing, but i'll have to start when i get back my phone to life. I can't guarantee anything and what i'm saying is mostly based on what i know about FD and the 3g states... and from the ics code i kinda decompiled :p

Anyway i'm planning to add a nice, big, juicy entry in settings to enable/disable it. Enabling it will give a go to a state machine with a couple timers that will manage the transition of the ril into the different states (dch -> fach -> pch -> idle). This will cause some wakeups due to the necessity of placing a wakelock to check when the phone is asleep. Won't impact on battery if FD is supported by the provider. It will heavily if it's not.

Unfortunately i won't be able to test it here. My provider doesn't support FD, so i'll need a couple testers on providers that support it, and when i'll have the code done i'll shout for help :)
[LG Optimus 2x] MinoochX:
LOL SHOUT XD My carrier supports FD. :)
[LG Optimus 2x] franky_z:
This is A-M-A-Z-I-NG!!! :):thumbup:
[LG Optimus 2x] Crazy32:
Sorry, what is "FD"? And how can i found out, if Telekom Germany support tihs?
[LG Optimus 2x] ron_gangte:
Fast Dormancy.

Google helps. So I've heard.
[LG Optimus 2x] alexander555:
See:

http://xdaforums.com/showthread.php?t=1802028

and yes, telekom germany use NCFD (Network Controlled Fast Dormancy)
[LG Optimus 2x] x_justin:
Very very nice! Its amazing what kind of work you do for our phone!

If you need me as tester, here I am. We pmed about fd already, if u need something to know, I will install an ics + fd rom.

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] Crazy32:
Hi Pengus,

my phone has the A04 SoC revision too. If you need someone to test your kernel, here I am.
[LG Optimus 2x] aigaming:
Unfortunately most of the people have a03 like me,there are not many users with a04 revision :(
[LG Optimus 2x] besho2222:
Dear Pengus, yesterday my phone didn't go to deep sleep at all, and I found in bbs that this is due to torch kernel lock!, so if course I had battery drain, attached the log if you could kindly look at it :), thanks

Edit: just if it would help, yesterday before sleeping I let the torch on so I can go to my room in dark and closed it after that, in the morning when i found that at bbs, I just opened the torch and closed it again...

Edit2: sorry logs http://db.tt/ZkB2xhXy
[LG Optimus 2x] pengus77:
Wow, that's bad ! Thanks for pointing it out. I'll look into it right away :)
[LG Optimus 2x] besho2222:
Sorry, I forgot to attach the logs, I'll attach them in the post :), thanks for the fast reply :)
[LG Optimus 2x] pengus77:
You have a pm ;)
[LG Optimus 2x] rlees85:
Just to confirm

<4>[ 6.845818] Chip Id: 0x20 (Handheld SOC) Major: 0x1 Minor: 0x3 SKU: 0xf

This translates loosely to "A03" soc? or am I looking in the wrong area completely :rolleyes:

This is CM7/Standard Kernel so it might not output the same as Pengus kernel
[LG Optimus 2x] humandroide:
Hy

I have a problem with battery life, con you tell me why?

ROM t3 kernel kowalski 123.

Thanks and sorry for the bad english
[LG Optimus 2x] darkrulerz:
Have you played any games?

I see that your current 3g signal strength is very poor, this causes a higher drain.

Perhaps you've been having a bad signal most of the time?

The "Partial wakelocks" seem fine, nothing out of the ordinary there.
[LG Optimus 2x] humandroide:
No, no games. It's probably just due to bad signal.
[LG Optimus 2x] pengus77:
Most probably. And the apps you keep in background. Try disabling the location services and freeze Facebook, Maps and all the app that tend to wake your phone constantly with Greenify... you'll notice a huge boost ;)

Btw, those readings lead to 15 hours uptime... which ain't really bad imho...

P.S. Se sei italiano, scrivimi in pm (if you're italian, write me in pm) ;)
[LG Optimus 2x] proyatzu:
I noticed that using 3g+data still drain a LOT of battery, even with screen off, maybe its due to baseband or fast dormancy stuffs, ya for example im in italy but i have v30b, when im on 3g +data i drain like 35% / 2,30h with screen off.

I should put v30a when i have time :D

Additionaly i could try disabling fast dormancy.. Maybe my provider TIM (italy) doesnt support it (yeah if anyone knows if TIM supports fast dormancy please tell me:D)

Or maybe its just this rom/kernel that drains a lot on 3g+data cause i remember a drain of 6% / 3h on latest dmx and kob

Regards:rolleyes:
[LG Optimus 2x] pengus77:
TIM supports FD partially. Wind doesn't, as Vodafone. Tre is the only italian provider that supports it fully. Anyway those readings you have are insane. I'm on Wind and have roughly 2.5% hour in standby with 3g and data on. Of course lots of things are greenified aside whatsapp, fb messenger, gtalk, gmail and a couple more services i need active all the time. And yeah, use v30a... it's the bb shipped in Italy with ics and it's the one i use.

And once again, CM doesn't support fast dormancy !!!! :D
[LG Optimus 2x] imayoda81:
Found why there was such a huge battery drain.. faulty original battery.. it suffered sudden damage reducing to 20% circa it's capacity.. tested it with a discharge meter and gived out only 300mAh

what a shame such a sudden death
[LG Optimus 2x] Z00ny:
How to check if my provider supports fast dormancy? I tried to Google it but I couldn't find anything. Provider: orange County: Poland.
[LG Optimus 2x] Gonox:
How can I check if i have a03 or a04 SoC?
[LG Optimus 2x] antec123:
please use search, already discussed

what rom are you using? if you use CM don't hope it wont support FD
[LG Optimus 2x] tr@p:
Are you ready for some battery awesomeness? :cool:
[LG Optimus 2x] pengus77:
After this one... the next one who posts that 123 drains battery faster will be fish slapped by the above poster and will be silenced for good :cowboy:
[LG Optimus 2x] LarsPT:
2h+ screen on time and 14% battery drain?? I'm sorry but I just don't believe it!!!

Not even with airplane mode I could get results like that... what kind of battery do you have in there??? :)
[LG Optimus 2x] Z00ny:
I'm using t-build 3 by tonyp but it doesn't matter. I can easily move to an another rom if I would find out if orange supports FD.
[LG Optimus 2x] pengus77:
As i said two pages ago (jeez, why don't you people read the thread...) i will try to implement FD support for CM as soon as i revive my phone.
[LG Optimus 2x] tr@p:
Sadly it didn't live up to the expectations... Phone died not long ago. I guess it was some false battery readings. From those screens it would be expected 10+ hours screen on time and 2 days standby+wifi. But it was good run though, don't know exact numbers as phone died without warning, but from my last check I guess it was about 12h standby+wifi with cca 4h screen on time (web browsing, facebook, playing games - hard use). Pretty good if you ask me. I didn't notice higher battery drain over 122.

OK 3g does drain the battery more then wifi, but that's normal, and it isn't that high (much less then it was in beginning...
[LG Optimus 2x] head_banger:
Get this day in day out

Pengus latest rom, kk123 new bl
[LG Optimus 2x] cabral.bh:
I had a similar problem a few times.

The display battery became at a fixed value. However I could not generate a log or because cel freeze or restarted quickly.

Still trying to generate a log of these problems.

Issues:

Cel freezes. only removing the battery.

Cel reboots. without warning. simply turn the screen white LG logo.

Any idea how to generate logs in these conditions?

P990H - tonyp build3 - kernel 123.
[LG Optimus 2x] BTW lover:
Really dont want to complain but I really got a much better battery life with earlier versions of the kernel and tony p jb. Used to be about two days with light use. Up to 122 it decreased considerably with 123 it has improved though. But might also be some changes in tonys rom, you cant blame everything on the kernel I guess.

And once again this is not meant as criticism against pengus or tony, you guys have made not buy a new phone for quite some time now
[LG Optimus 2x] Luk_Optimus:
Disconnection

Hey Pengus,

first of all, espacialy the KK123 runs great.

Now I have a strange bug, it does not happen very often, but it also happend with the previous versions of the kernel. So the bug is: somehow the network conection breaks, but there are still 3 bars shown. I tried airplane mode or switching to 2g, but only a reboot could solve this. As I have very good signal at home, it couldn't be a carrier problem. Maybe you want to take a look at the log. Thank you for your hard work!!

https://docs.google.com/file/d/0BwnAzQmV_2BIcmd2ME9RMFA1elk/edit?usp=sharing
[LG Optimus 2x] DcR-Nl:
[MENTION=4404095]Luk_Optimus[/MENTION] Same issue here yesterday with kk123 some time after flashing. Made me switch from v20l BB to v30a, because even a reboot didn't fix it for me. Haven't experienced it again, but it only have been one day.

Sent from my O2x with Tapatalk
[LG Optimus 2x] SWTR:
Please, Pengus said it very often its a ROM problem and not Kernel releated.

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] Luk_Optimus:
I'am sorry, didn't read carefull enough then :silly:

Will look in the Rom thread if it allready had been reported.
[LG Optimus 2x] drakodga:
Hi!

I think i found a bug that eat some battery and maybe it is kernel related. If we list the current process with top we can see one named system_server. Well, if we have screen auto-rotate on, thats process have ~8%cpu usage and cpua show middle frequencies of cpu. In the other hand, if we put screen auto-rotate off, system_server consume ~0%cpu usage and cpua show low frequencies(216 mhz).

[MENTION=3783116]pengus77[/MENTION] did you noticed that? Its normal?

Pd: sorry for bad english.
[LG Optimus 2x] forforce:
I found out that after I installed v123 , I have problems with camera , it`s closing automatically. On [ROM][old|newbl] CM10.1 - tonyp - T-Build 03 . With v122 it worked perfectly. Strange.
[LG Optimus 2x] CVonV:
This is interesting.. Left my phone on overnight from 100%, accepted a call after about 3.5 hours, unfortunately I was too zombied to notice the battery level at that time.. Woke up 4.5 hours later to find battery on 1%.. all power management options on in kowalski manager.. CPUA suggested that my default profile was active for longer than my screen off profile.. tonyp build 3 old, #123
[LG Optimus 2x] x_justin:
Interesting finding! That could be a rom problem... What rom are you using? I can confirm that I can't reproduce that on Pengus CM10. It's a very wild guess, but you never know. If it's rom related you can post some logs in the rom thread, maybe after toggling rotation on and off.
[LG Optimus 2x] wakata:
happened to me too:)

simply set higher cpu frequency... for me works...
[LG Optimus 2x] drakodga:
Well, I'm on amazing Pengus CM10 with great kk123.

It's very easy reproduce it: you just have to make a top and see how the value of system_server change when enable and disable the autorotation option. I attached some screenshots that show it. Note that enabling auto rotate alone does not do anything, you have to have it enabled and rotate at least one time to trigger the bug.

searching the web I found this link that explains the same: https://code.google.com/p/android/issues/detail?id=29965
[LG Optimus 2x] UserMe1:
123exp

something eats battery on 123exp when phone is on wifi.

this is not happening with 121exp,the battery life for me is almost double with 121exp same rom.
[LG Optimus 2x] Escobarretje:
Like this it's not interesting. You can see the PowermanagerService on top which means an app you installed is keeping a wakelock. Check the Partial Wakelocks tab to get more info on which app it was.
[LG Optimus 2x] CVonV:
i did.. nothing in the partial wakelocks was even on for longer than a minute..
[LG Optimus 2x] tonyp:
I would suggest to use htop instead of top. It's easier to use.

Just open the terminal explorer and type htop. To get to the process names use the arrow keys of your keyboard to scroll right. (or just assume the system process is the system_server).

In the bug report mentioned above you'll see an app recommendation which disables auto rotation on screen off.

https://play.google.com/store/apps/details?id=auto.rotate.auto.lock

I think I can confirm the issue, need to test it for a bit longer.

I never have auto rotation enabled, the only time I'm using my phone in landscape is in the car with Google maps - and then I lock the landscape rotation hehe.
[LG Optimus 2x] pengus77:
grrrrrr... i want my phone back !!!!!! :D
[LG Optimus 2x] drakodga:
Thanks for htop! It's more confortable! Now, the bug is more evident using it: with autorotate active my cpu jump +8/15%. It's crazy. I'm trying to manage it with Automateit (It's an amazing program!!) but i don't want another service in memory. If i find a solution, i will announce it.

Thanks anyway! :)

---------- Post added at 03:56 PM ---------- Previous post was at 03:54 PM ----------

Jejej, [MENTION=3783116]pengus77[/MENTION], all here wants your phone back :laugh:

EDITED:

Another strange thing. Try to do the following:

1. Enable htop in console with autorotate on -> cpu 20% (only consumes some htop, term and system_server)

2. Now, enable in the console the keyboard -> cpu 70%

3. disable the keyboard with back button -> cpu 70%

4. Spin the screen 2 times -> cpu to 20% (?!?!)

5. Now disable autorotate -> cpu 0% (wtf)

is crazy! autorotate do things very very stange...
[LG Optimus 2x] antec123:
hahahaha, be patient my friend
[LG Optimus 2x] DrummerMuppet:
Sounds like you found something interesting to test / implement? :p
[LG Optimus 2x] wfd:
Kowalski Manager app 018

Hi all!

Finally i found some time to update Kowalski manager, and while we are waiting for fix of [MENTION=3783116]pengus77[/MENTION] phone, let me introduce 018 version of manager:

018 - 2013/05/28

*Added switch to sound tab for on/off restore sound settings after call

*Added radio buttons to switch MultiCore Sched PM modes

*Added possibility to set brightness settings as custom defaults and reset to them

*Added Backlight settings tab
​

As usual, you can download app from this post

Have fun and enjoy! :)
[LG Optimus 2x] BS86:
Thx for the update :)

What does the quoted thing do?
[LG Optimus 2x] pengus77:
Oh for now it's active by default via 95kowalski. It's a lovely pm mode i enabled in the kernel and finally you can decide if keeping it on or off. It packs the threads and tasks in nicer ways to keep the cpu lighter. You can read more info in 122 release post and in 95kowalski ;)
[LG Optimus 2x] KiRAdot47:
[MENTION=3838586]wfd[/MENTION] could you please add the actual reading of lux from the sensor, in the brightness table to not adjust the brightness blindingly?

THANK YOU!
[LG Optimus 2x] wfd:
I will look into it :)
[LG Optimus 2x] Escobarretje:
Thanks for the update wfd, working great here. The current reading would be quite handy. What might be handy too is a 'all +1 and -1' button. Now the lowest values are so close together that I have a hard time configuring them right and keeping them in order.

But again, thank you very much!! :laugh: :good:
[LG Optimus 2x] tonyp:
A quick warning:

Be extremely careful with dynamic fsync on low battery.

I love the increased speed it gives - but as the battery driver currently doesn't shut down the phone properly you should disable it below 5%. I forgot it today and lost lots of apps data when the phone turned off. Additionaly it seems like I have a corrupt partition as I can't install new apps and get random hot reboots.

Need to reformat everything now :(

So keep that in mind!
[LG Optimus 2x] JUMPhil:
What is dynamic fsync anyway and what does it exactly do?
[LG Optimus 2x] svein01:
http://www.google.com/search?safe=off&q=dynamic+fsync+android
[LG Optimus 2x] Diskb0x:
[MENTION=3605868]tonyp[/MENTION] your not being able to install apps, does it manifest its self by saying Insufficient space to install app? I've been getting this for about a week now but only for CPU Adjuster when there's an update. Strangely I can still install new apps just fine.
[LG Optimus 2x] DcR-Nl:
[MENTION=2425544]Diskb0x[/MENTION] Sounds like a file corruption indeed. Had the same error before when there was the fsync bug in one of the KK releases.

Sent from my O2x with Tapatalk
[LG Optimus 2x] Peppe91:
Head Phones control in sound tab of kowalski manager still not working. I'm the only one? it resets as soon as I set the value. thanks
[LG Optimus 2x] pengus77:
What rom are you using ? I don't see that on CM10...
[LG Optimus 2x] pengus77:
Don't worry about the "free" result. Linux uses all the ram available as soon as it can, but it's ok. If you feel it's a bit sluggish, enable zram from the performance settings in CM and set it to 10% or 18%. Or maybe check how many apps are in background...

Btw guys this is a kernel thread. Free ram, apps problems, etc are related to the rom you're using...
[LG Optimus 2x] silverkin:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

On New kernel i have a slow charge bug...

I never had it before.

tapatalked with LG P990
[LG Optimus 2x] pengus77:
Old bootloader right ?
[LG Optimus 2x] da1likew00t:
Seems sometimes I need to toggle the power button more than 2 times to get these errors.

It only occurs when after toggling the screen is off.

Googling around shows that the same error also shows on other devices (e.g. the Atrix) .

For more details see about screen and logcat.

Phone is in airplane mode cause I use 2 simcards with the same number.
[LG Optimus 2x] silverkin:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

New.

tapatalked with LG P990
[LG Optimus 2x] pengus77:
Please bring this problem to your rom cook... this is rom-related.
[LG Optimus 2x] pengus77:
Looking for Testers

Hi guys, i need a couple testers for a small wifi experiment. Also i need that one is on ICS and the other on CM10.1... this means only flashing a small zip and checking if wifi works fine. If you can/want to help the correct development of this kernel and feel like helping out a bit, please PM me :)

Update: Test closed. Victory achieved ! :D
[LG Optimus 2x] silverkin:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

So what with this charge bug?

10% battery gain after 40 minutes...

tapatalked with LG P990
[LG Optimus 2x] Rayman96:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

try rebooting...

Sent from LG 2X using Tapatalk 3 Beta
[LG Optimus 2x] pengus77:
Or change cable...
[LG Optimus 2x] silverkin:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Tried this, but zero effects :(.

Yesterday it was charging normally. Hmm, maybe it will repair by self :p.

tapatalked with LG P990