yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 General] bendirkss:
Lmao. Very true. Thanks man! Will report back tomorrow night with results

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
So far what I have noticed is that my whatsapp messages don't come in with my phone sleeping. Once I wake it up they come in

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Process gets killed to save more memory. But if it didn't use to happen before, why should it be happening now? Weird. Same thing happens to me actually. But I don't really use WA much do I don't mind.

If you think about it, it kind of makes sense. Killing off stuff that can't be processed in order to stay at a process able level. That's what I think.
[Galaxy Ace S5830 General] bendirkss:
Ya its all working now though. Min 100 Max 200 smartassv2. Do you think raising all the volts by 25 will kill my battery more?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Lmfao dude, I don't even know HOW or WHAT raising volts is. Can you explain it to me?
[Galaxy Ace S5830 General] bendirkss:
Lol in setcpu there's a voltage tab. Man I don't even know much about it. I'm just assuming its how much power goes into the processor ? I still have some lag on my lock screen for a second but everything else is fine

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
Undervolting or 'Dynamic Voltage Scaling' - a CPU has nodes that require energy to operate, the more energy the quicker, so undervolting is about reducing the amount of energy the CPU draws when processing certain tasks. So in essence undervolting should reduce battery drain fractionally.

Overvolting would be chucking as much energy as possible into the processor to push it to the limit (which would ultimately reduce the lifespan of the processor).
[Galaxy Ace S5830 General] SuperAce609:
I can't find the voltage tab. There's only Main, Profiles, Advanced, Info and About :/
[Galaxy Ace S5830 General] SuperAce609:
So you can set a profile to screen off and undervolt at the same time? Or can you just undervolt in general? I'm looking around setcpu and can't find any voltage options. I'm guessing the settings are somewhere else.
[Galaxy Ace S5830 General] bendirkss:
You need to update to the latest set CPU app. And you can just under volt in general. What I did was put all the volts back to normal but I kept 100 and 200 up 25 extra. I think that'd make more sense that boost all of them up when my only issue is my phone basically quitting when going into sleep. I just need the extra volts there to keep it up. Makes sense ?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Yeah. It makes sense. But make sure you don't volt it too high. Remember the point here is to save battery :)
[Galaxy Ace S5830 General] bendirkss:
Ya like I said I put all the volts back to default except for 100 and 200. Which I only raised by 25 and may lower to 15. Idk if I like the lockscren lag:s wish I could go to 300 instead of 400 max

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Well, the lock screen lag is a good thing. You can edit your settings to avoid it yeah, but it won't save as much battery.

You know what? You finally know how it works. Mess with the settings and find one that suits you and share it here so we have more ideas of cpu mixtures :D
[Galaxy Ace S5830 General] bendirkss:
I'm using on demand for main and screen off. Main is 200-800, screen off is 100-400(400 to avoid the lag). Raised 100 and 200 voltages up by 25

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Ondemand for both profiles, huh? Not too sure about that. But okay, if you find it working for you, then its all good.
[Galaxy Ace S5830 General] bendirkss:
What governor would you say to use then ?

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
SuperAce is right, 'ondemand' is probably going to be a little counterproductive for your 'screen-off' settings, I'd have that as 'conservative'. Remember to check the 'time in state' option in the 'info' tab of SetCpu, that will give you an idea of what frequencies your governor is putting your phone into. Having the upper parameter at 400 should be enough to ward off some of the wake-lag.

SetCPU only has undervolt option on kernels that support undervolting, so a Nexus, but not an Ace. But yes, you could undervolt any way you liked in a similarly customizable manner to Underclocking or I/O scheduling.
[Galaxy Ace S5830 General] chrcol:
I did set conservative governor in the cf-root but according to setcpu after every boot its using "ondemand" so now I switch to conservative in set cpu after booting the phone.

I played with using powersaver which locks the cpu speed down to min but the phone was extremely laggy :D so for now am using conservative, I think I will do more later tho like you guys have done in restricting the max clock speeds for certian situations.

Also my brightness is min which I actually prefer as a bonus to the power saving, and I rigourisly disable extra functions when not in use which is wifi and background data.

auto sync, 3g, data mode are pretty much off 24/7.

Sadly I have found not a single app which can fast toggle "background data" which I have to enable for the market.
[Galaxy Ace S5830 General] SuperAce609:
Yeah. What bakuron said. Conservative hands down. And oh well. No undervolting for my ace. Not like I really need it anyway :)
[Galaxy Ace S5830 General] SuperAce609:
I used powersaver before. But it doesn't let you customize anything and just randomly clocks down. Did you check the "set on boot" box? Also make sure setcpu isn't installed on your SD.
[Galaxy Ace S5830 General] bendirkss:
Max at 400 did fix my lag very well. But would it be worse for my battery having it switch from conservative to ondemand whenever I unlock my phone or am I just dumb thinking that takes battery, or maybe cause lag or something? Should I have main set to conservative as well?

Side note: this is my battery life so far today, pretty bug improvement but not as good as other people, I always have gps, syncs, 3G on.

Screenshot isn't posting so its 63% after about 7 hours

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Lmfao!! Obviously you won't get anything if you keep all that stuff on. And specially since you're not clocking down much when the screen is off. It doesn't matter if it switches governors. That's the point of having different profiles. Lol.
[Galaxy Ace S5830 General] bendirkss:
I know... I wasn't expecting 2 days like most people. With all that stuff on I was going for around 15 hours approx. And so far today it looks like I may get that. So this did help a lot. I understand I'm not gonna get an insane battery life with all that stuff on. I never expected to lol.

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
And also, would that explain why my OS is on top if the killing list?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Congratulations on graduating from UnderClocking school!

....and I still have no idea why your OS sucks up so much.
[Galaxy Ace S5830 General] Bakuron:
@bendirkss 'On Demand' will basically jump to your highest parameter whenever a task requires processing power, whereas 'conservative' won't. That means 'conservative' is better for battery, whereas 'on demand' is better for performance. If you don't mind a little lag here or there, use 'Conservative'. If you can't stand lag, use 'On Demand', or investigate 'Smartass' and some of the other modded schedulers that have been linked throughout the thread.

Tbh 15 hours with all the stuff you have on is very good, by ANY standard. That's essentially an entire day, where some people would struggle to get through 8 hours with that stuff on.

The way technology is going in 12 months time, you will probably have a new device and it will have a battery twice as big with 2x the efficiency and a CPU that requires far less juice whilst having twice as much power. All of a sudden people will moan that they can't get any more than 72 hours 3g browsing! ;D

You raise an important point, toggling 'run at boot' for the setting one wants for general usage. When you say 'fast toggle' do you mean 'automatically' when Market starts? That sounds like the sort of thing a script could be written for. But other than that I'd just hold down the power button and toggle data in the menu from there.
[Galaxy Ace S5830 General] bendirkss:
I have been using smartassv2 for a long time. I think ondemand did give me a little less lag when unlocking but not enough to switch it. With my max at 200 there was to much lag and I can only go to 400 from there so I'll leave it. I never need my phone for more than around 14 hours a day. So I'm very happy with 15.

Sent from my Nexus S
[Galaxy Ace S5830 General] chrcol:
yep for now didnt tick the on boot box but I think conservative is fine, it seems to add slight lag occasionally but otherwise fine. so will enable so it auto sets on boot. powersaver I guessed wouldnt be practical so I was just toying with the setting to see the effect :)

set cpu is on sd-ext via dt-apps2sd is that a problem?

---------- Post added at 03:31 AM ---------- Previous post was at 03:26 AM ----------

Sadly what you said about new phones lasting longer I will probably be using my ace for 2-3 years I expect :) had my last phone for 2 and half years.

By fast toggle I mean something like a widget on the home screen to change it on and off fast like I can with wifi. Having it go on auto for the market and off auto again when closing the market would also be good enough.

Numerous apps exist to toggle settings however for sync they only support toggling the auto sync feature and not the background data setting.
[Galaxy Ace S5830 General] bendirkss:
I have been using ondemand all day 1:30-10:30 and this is what the CPU has been using

Battery

Battery Temp: 27.0° C (80.6° F)

Battery Level: 46%

Time in State

1460000 | 0 | 0%

1300000 | 0 | 0%

1200000 | 0 | 0%

1000000 | 16405 | 0.91%

800000 | 706124 | 39.27%

400000 | 254937 | 14.18%

200000 | 642221 | 35.71%

100000 | 178517 | 9.93%

Strange how time was spent in 1ghz when my max is 800mhz...

Would you say using smartassv2 on screen off profile would be a bad idea? I think I'll go back to it as my maim and see what thats like

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
Perhaps try making a shortcut? https://market.android.com/details?id=com.appdroid.anycut&hl=en

I will have my Ace till one of us dies :D

---------- Post added at 04:48 AM ---------- Previous post was at 04:45 AM ----------

Have you rebooted since adding profiles?
[Galaxy Ace S5830 General] bendirkss:
Yes I have

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
Conservative, imo, is the best for screen off. That will put you at 100mhz for a higher percentage for sure. But apart from a tiny anomaly those stats seem fine. Well done.
[Galaxy Ace S5830 General] SuperAce609:
Lol yes that is a problem. It means its installed in your SD. An important system application like that should be in the internal memory. And I say its a system application because it controls the CPU more than CM settings themselves.
[Galaxy Ace S5830 General] bendirkss:
Ya I definitely see a huge improvement today with my battery. Thanks guys for the help! Very appreciated :) Maybe I'll report back tomorrow with tomorrows stats ;) if you guys care

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
Actually, I've noticed a lot heavier green screen flashing. Is there s fix for this yet

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Green screen flashing? What's that? When does it happen? Has it happened before?
[Galaxy Ace S5830 General] Akumetsu:
I saw only now this topic and...ahaha wow, i was talking about that with a friend. Underclock is sure a good thing but i think 480 is a bit low (for me of course XD)

For those who have CM7 i suggest to use that kernel : http://xdaforums.com/showthread.php?t=1292200

It's put 10 frequency instead the 5 only avaible and put some new governor (like smartassV2), making a better scalable setting (for example i think that would be better to stay on 600mhz to mantain the whole device capability and then try 160mhz to see if the lag issues appear again)

I'ven't yet tryed to underclock, but i was wondering about that...so maybe i'll do some test and then report there :P. Hope to had given a good idea XD
[Galaxy Ace S5830 General] SuperAce609:
Lol, well 480 is the next step below 787 and 787 is too high and close to the original 800Mhz. Unless you can install that other kernel that allows you to clock at other numbers like 600, then if that works for you too by any means leave it like that. I leave it at 480 because everything works fine for me and I know that any heavy apps that I run won't go past that resulting in the same battery saving whether I'm running big apps or not.

But please report anything new or interesting you might find here to give us all an idea of how people alternate the settings to their needs.
[Galaxy Ace S5830 General] dylan_ace:
lmao all I did was remove bloating apps and deleted tweaks in init.d ...

and my battery LAST ALOT longer.
[Galaxy Ace S5830 General] bendirkss:
When I lock and unlock my phone the screen will have a green flash

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
You just deleted them? Lol you don't have setcpu installed? Haha! You're missing out on a lot :P
[Galaxy Ace S5830 General] SuperAce609:
Hm. That sounds weird and unhealthy. Did it happen before? Maybe it has to do with the volting or something?
[Galaxy Ace S5830 General] bendirkss:
I restored my phone and kept the volts normal with my screen off set with 100-400 conservative. Volts don't need raising when its at 400 max. Green screen is an issue with almost all nexus s ics roms.

Sent from my Nexus S
[Galaxy Ace S5830 General] chrcol:
I activated profiles in setcpu and set a profile for sleep and one for awake battery < 100%.

Then went to bed.

Woke up and battery drain 3-4x speed.

I see 2 things happened.

1 - the phone was in wake mode all the time the screen was off.

2 - there was constant cpu usage not attributed to any app.

It started when I activated the profiles in setcpu.

The sleep profile was to lock the stock speed down to the min speed I could set and the powersave governor, I noticed on setcpu's stats my cpu never went down to that clock speed.

The wake profile set min to 245 and max to 800, conservative governor, the bulk of time was at 245 in the stats.

Currently I have just deactivated the profile settings and put phone to sleep again and waiting an hour so I can check the stats to see if it stayed awake.

I did find a xda thread on google where 3 people posted they had setcpu keep their phone awake and ended up uninstalling it so they never posted a resolution.
[Galaxy Ace S5830 General] pyronia:
Hmm...looks like setcpu is starts to make problem now :D

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] chrcol:
I dont think was just setcpu.

It did stop the idle cpu usage but the phone stayed awake still. When I cleared my ram it shut down 18 apps O_o yet task manager didnt show 18 running so that was bizarre, after that it goes to sleep again. So after the phone is charged I will try the setcpu profiles again.
[Galaxy Ace S5830 General] Bakuron:
I had a similar problem. But it cleared after I Reboot after creating and activating profiles. So turn SetCPU on as you want it then reboot.

So turn it on. Wait about 10mins with 'screen off' then go back to see 'time in state' and look at battery activity. Should be as you asked.
[Galaxy Ace S5830 General] -RDR-:
Hey superace I want to hot the thanks button but I cant find it ..I m new to xda ..I m using the. Xda premium app ..please help me ....I really want to thank you...lol ..great guide btw ..

sent from my galaxy ace which is rocking CM 7.2 by vo-1
[Galaxy Ace S5830 General] SuperAce609:
setCPU should be set to start at boot. Now I don't use task managers or kill off apps so I haven't had that problem. Sure, its happened like once or twice, but that's about it. And when it happened, it was because I turned my phone back on right after I turned it off. In general, every time I turn my phone back on, I get that beautiful unlock lag :)

I don't recommend task managers since the apps will just start back up as soon as the memory is cleared. Use a script that kills them constantly like Lagfree V3 and TurboBoost.
[Galaxy Ace S5830 General] SuperAce609:
Lmao I don't know bro. I don't really use the thank button from the app. I just go on my pc and remember who to thank xD
[Galaxy Ace S5830 General] pyronia:
Tab once on text u want to thank then the menu appear

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] -RDR-:
Thanks dude +1 to that ..now I can thank both of youll ..dude I just pmed you ..olease help me with my difficulty ...I m thanksing both of you ...;p

sent from my galaxy ace which is rocking CM 7.2 by vo-1
[Galaxy Ace S5830 General] bendirkss:
That's a really weird problem. You set a profile to run for when the battery is under 100%? Of so that makes no sense. Just have a main and sleep off. If you set the priority for the <100 then setcpu will run that one over sleep off.

And btw superace, yesterday I tried smartassv2 when I went out and it absolutely murdered my battery. Back to ondemand :) set screen off 100-200 conservative. 100@ +25 volts to keep it going ;)

Sent from my Nexus S
[Galaxy Ace S5830 General] chrcol:
Well I couldnt find a screen on or main profile setting. So that seemed the most suitable.
[Galaxy Ace S5830 General] bendirkss:
Your main is just the first tab

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Well, I can't comment on that one. I don't use smartass V2. But those settings look good
[Galaxy Ace S5830 General] bendirkss:
Smartass was never that bad, I used it all the time before. But I restored my phone and all of a sudden its a death sentence for my battery.

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Weird. I knew there were chances of SOME bugs when restoring a backup from another random rom or something. Try restoring it twice? Or just do a factory reset. Make a Titanium Backup of all your apps right before so you'll just have to restore them after the reset.
[Galaxy Ace S5830 General] chrcol:
ok thanks, so now I deleted the battery profile so it has a screen off profile and the main tab as the screen on setting, will check after sleep if worked ok.
[Galaxy Ace S5830 General] bendirkss:
Ya report back!

Sent from my Nexus S
[Galaxy Ace S5830 General] chrcol:
ok after some sleep of 6 hours or so the battery drained just 3% although on system monitor graph it only just started draining from 100% an hour or 2 ago so I need bit more time to analyse drain, doesnt seem anywhere near as fast as yesterday at the moment tho. I think the wake issue was another app. When I used task manager yesterday it was just the basic inclusive and the free ram button in that which had closed 18 apps, it does seem tho if I had all those apps left running that I need some sort of automated task killer if I get apps left running stopping the phone sleep.

the phone did sleep.

however it did use steady 1% cpu usage during screen off.

setcpu reports most of time spent at 244mhz not the 122 I set but I wonder if thats due to my kernel maybe it doesnt support that low clock speed.

I have screen off 122/122 powersave

main 245/480 ondemand for normal which has no lag feeling at all. Although I will try conservative again later.
[Galaxy Ace S5830 General] Bakuron:
Conservative worked so well for me on screen off and normal usage that i never went back to powersave. Actually I still can't find any governer file other than 'conservative' in system files so I wonder whether my kernel does support all the governors SetCPU says.

Just Conservative and OnDemand are fine for me.
[Galaxy Ace S5830 General] SuperAce609:
Awesome. I'm always on conservative but I changed my main profile to 340-480 because 245 was a little laggy. Now it doesn't lag much and doesn't suck that much battery either :)
[Galaxy Ace S5830 General] bendirkss:
My main Is 200 min 800 max and don't get lag ..

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Maybe the free ram makes up for the processing. The SGA has limited hardware so some changes might make it lag now and then.
[Galaxy Ace S5830 General] bendirkss:
Ya makes sense man

Sent from my Nexus S
[Galaxy Ace S5830 General] chrcol:
200min 800max is very close to default?

800 is my max default I think.

interesting that setting the max clock speed to around half is giving me no noticeable lag although I am just doing things like scrolling the apps drawer, going to settings. Not used any multimedia stuff or even sms.

I can confirm the battery is going down slow again and I think is actually a bit slower than before even with this constant cpu usage. I havent done a reboot as suggested to me a few posts back yet.
[Galaxy Ace S5830 General] pyronia:
Instead of setcpu, i use this line on build.prop

pm.sleep_mode=1

ro.ril.disable.power.collapse=1

But, i read someone said the line

ro.ril.disable.power.collapse=1

Should be 0 instead of 1..coz 1 mean enable power collapse, 0 mean let the power collapse

Hmm...what do u better? Let it collapse or let it not to collapse?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] bendirkss:
Yes 800 is close to my default 1ghz. But I can only go from 800 down to 400. I'm also not looking for over a day or battery since I plug my phone in every night. With 800 I get more than enough battery time and fast enough speeds.

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
I think rebooting will help the app initiate the different governors you ask it to (I guess at this based only on my own experience) - If you've had screen-off time but your 'time in state' hasn't gone to 128mhz very much, then I expect SetCpu's profiles aren't working exactly as you've asked it to and when they do start working you should notice a slightly more significant difference in battery drain.

Right now I'm confident of getting roughly 24 hours standby interlaced with 6 hours activity (a 30hour day) and that's still with 50% battery drain due to poor signal. Minimal lag on typing interface is the only draw-back (from having 480max in general usage).
[Galaxy Ace S5830 General] SuperAce609:
Lol that line is already in use as soon as you flash LagFree ;D
[Galaxy Ace S5830 General] pyronia:
I did not use lagfree script lol...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] calav3ra_de:
Thanks for the detailed information! :)
[Galaxy Ace S5830 General] M3TALLICA:
I guess there is not much difference in voltages of 122 and 245 frequencies. If it is so then lagging on 122 means cpu taking more time to finish a task. More time = more battery consumption. I set my min frequency to 245.
[Galaxy Ace S5830 General] Bakuron:
I also wondered about this. But ultimately the min freq. of 122 in 'screen off' will only affect those tasks that really shouldn't require more than that to achieve in optimal time. As such wake-lag is really about the top-end speeds you allow.
[Galaxy Ace S5830 General] alexnm:
Hey guys, I just wanted to share my thoughts.

I returned to stock from CM, and, as usual, I undervolted (is it correct in English, it sounds sooo wrong) the CPU as described here. Well, the battery is noticeable better, but the phone becomes too low.

IMO 480 MHz is not enough, if only it could be 600-670 just like with CM and zImage kernel it'd be fantastic.

So, if there's a dev is interested... :rolleyes:
[Galaxy Ace S5830 General] pyronia:
Looking for it too bro, but no one can do a clockable kernel for stock, bcoz for cm rom, thet all use the same baseband, stock? All with different baseband...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
That's why the 122 is set as a screen off profile. And takes longer? Said who? More battery? For you yeah. Not in consumption. Now if you wanna argue about it, I got everyone in this thread and my battery stats to back me up. Now if you're gonna be using your phone while the screen is off somehow, then don't set it to 122. As for everyone else incluing me, it works wonders ;D