yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 General] mawnstermew:
mhm how come ive experimented with setcpu a while ago due to boredom, i set it to powersave 122/122 on screen off and i played music on background with screen off... music quality was hell... its like stop play stop play... but when i set it at max 245 min 122 and did the same thing there was an improvement on sound quality
[Galaxy Ace S5830 General] Bakuron:
I believe (without actually knowing) that the concept of scaling is to do with the process of selecting processor speed within the preset parameters, and that 'powersaver' scaling would choose lowest over highest

almost

all of the time, compared to any other preset... Just a baseless theory though...
[Galaxy Ace S5830 General] CallMeVentus:
Smartass and smartassv2 - Changes CPU speed according to CPU usage .

CPU will be set to minimum all time on screen off .

V2 improves the screen off when users have a bad experience with playing music

Herpderp Adreno + Tegra.
[Galaxy Ace S5830 General] SuperAce609:
Lol, you were running an app while the screen was off, of course it'd need more processing. But I said it did at all times because of how laggy my phone gets when I'm running on that governor. Wasn't too sure about it.
[Galaxy Ace S5830 General] SuperAce609:
Oh that's cool. Where can I get Smartass V2? I just checked on my settings and I only have interactive and interactive X with normal smartass, no v2.
[Galaxy Ace S5830 General] CallMeVentus:
Ketut's cf-root or an0nym0us' cm kernel

Herpderp Adreno + Tegra.
[Galaxy Ace S5830 General] pyronia:
Does anyone know what governor+i/o+minmax mhz on stock kernel?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] djtom1:
with smartassV2 in cm settings governor i must set also this profiles in setcpu?

regards
[Galaxy Ace S5830 General] pyronia:
Not really, if u want to save more battery use conservative

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] ace_viknesh:
Dude, you should be using Lagfree v3.. Its much better.
[Galaxy Ace S5830 General] pyronia:
No script is better, just a little tweak in build.prop will do :)

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
I am. Just haven't updated signature or anything. Lol.

I just realized............................ your signature looks a lot like mine. >.>... I should start copyrighting it.
[Galaxy Ace S5830 General] SuperAce609:
Conservative? WRONG. Here's a defined view of MOST of the governors with InteractiveX winning the battery saving contest ;D.

About to add this to first post.

http://xdaforums.com/showthread.php?t=1242323
[Galaxy Ace S5830 General] pyronia:
I read that long time ago, but nit all kernel have interactiveX, and if u use a kernel contain interactiveX are u sure the kernel is stable?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
Well, I'm using it on my phone and its working fine.
[Galaxy Ace S5830 General] pyronia:
So now, u using interactiveX as main profile?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
Yep yep. Turned on 3G but its still a battery killer xD.
[Galaxy Ace S5830 General] pyronia:
Err...dont understand that sorry, u mean battery killer is good for battery or it fast kill your battery? :)

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
Lol, battery killer meaning its still bad for battery. I'm starting to think 3G and Ace aren't compatible unless you buy that 2400mAh battery I saw online. Thinking about it.
[Galaxy Ace S5830 General] pyronia:
Owh...i think undervolt is the only solution for now to save battery for whatever governor u use....

Do u know, setcpu cant define which i/o scaduler...so, how to know which i/o we are running?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
Nope, no idea. But I'm still considering buying that battery. Hope it works.
[Galaxy Ace S5830 General] bigthree:
i tried it and see a little improvement. :)
[Galaxy Ace S5830 General] pyronia:
I do some search and finding...

Noop i/o is better but my default is deadline io...so i try make this script...

http://db.tt/EDe6dJMl

Put in init.d folder then set permission to full rwxrwxrwx and reboot...walaa my default now is noop :)

Check io by typing...

cat /sys/block/mmcblk0/queue/scheduler

In terminal emulator

U will get "noop [deadline]" if your default is deadline...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] Bakuron:
NoFrills apparently shows you i/o scheduler.
[Galaxy Ace S5830 General] pyronia:
I prefer setcpu, coz can set profile...its ok now as i change the io using init.d script

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] bendirkss:
im using smartassv2, mx 1000, min 200 and my battery seems to be dying a little to much while the screen is off. 47% after 7h, screen on for 1h:s any governor ideas? or some cpu settings recommended?
[Galaxy Ace S5830 General] SuperAce609:
Did you just say your max CPU is 1Ghz? And yet you ask why its dying faster? -___-

And you didn't read the first post before posting here, did you?
[Galaxy Ace S5830 General] bendirkss:
Max CPU at 1000 shouldn't kill my battery that much while screen is off though. Yes while its on and I'm actually using that much power, but not off.

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
Entirely depends on what governer you are using. Normally to achieve 1000mhz the governer would be a performance one which would naturally choose the higher Mhz parameter. If you are using SetCPU it will have a 'time in state' option in the 'info' tab, which will tell you how long your phone is spending at each different Mhz level.
[Galaxy Ace S5830 General] bendirkss:
Ohh OK. Makes sense now. Thanks !

Sent from my Nexus S
[Galaxy Ace S5830 General] DevilMind007:
My settings are:

245/787 smartass v2 (priority 80) [In Call]

122/122 powersaving (priority 70) [Screen Off]

122/480 conservative (priority 60) [Battery <101%]

on 122/480 conservative every game including "Anomaly Warzone Earth HD" works perfectly without any lag... :)

Also i turned Off my Screen with in.t script
[Galaxy Ace S5830 General] Bakuron:
You might have a problem with your priorities there because if the proxy sensor turns your screen off during a call you could switch to 'screen off' settings whilst in call.
[Galaxy Ace S5830 General] pyronia:
Init.d script or build.prop tweak?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] pyronia:
My setting now is simple...

Main- 122min 787max, conservative

ScreenOff- 122min 122max l, powersave

Charging- 245min 825max, ondemand

And i/o scaling to noop...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] SuperAce609:
What's the point of having a way different governor/settings just for a call? Lol that makes no sense. And cool, we're using the same settings. Lol 122-480 conservative. I'm always playing with the settings so I never have the same one for a while. So far, this one's working great.

I honestly don't see why the calls should be getting such high frequencies. If anything, you should set 245-245 for a call since it only needs processing to pick up and you can hang up with the power button. That's my opinion.
[Galaxy Ace S5830 General] SuperAce609:
What's this I/O scaling thing and where can I get it?
[Galaxy Ace S5830 General] pyronia:
U can get it at my signature :)

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] Bakuron:
I think the logic behind it (which may be faulty) is that call time is generally very important and often urgent so the last thing anyone wants to happen is have their phone crash or lag especially if you have other processes upating during call time. I also assumed (without knowing) that a phone call requires a lot of battery power and multiple phone functions including speaker/receiver/proxy/cellradio and all of these processes are being recorded and monitored by the CPU.
[Galaxy Ace S5830 General] SuperAce609:
Lol weird. Only problem I've had is the little lag attack from low CPU frequency before picking up. Other than that, everything is fine.
[Galaxy Ace S5830 General] dragonnn:
Use for screen off this settings 120Mhz min, 240Mhz max and governor interactiveX (better the conservative). You will get no unlock lag, but when you screen is of your cpu will run at the min frequency.
[Galaxy Ace S5830 General] bendirkss:
This is my **** battery life :(

Sent from my Nexus S
[Galaxy Ace S5830 General] delmicio:
I found that the screen off profile (122/122) make the phone rly slow if you are listening music and DSPManager on (like the music slowmotion xD).

To fix this i found that the Screen off profile must be:

Max: 245

Min: 122

Scaling: smartassV2

hope this help someone.
[Galaxy Ace S5830 General] Bakuron:
Bizarre. Why is your OS taking up so much of your battery?
[Galaxy Ace S5830 General] bendirkss:
I have no idea. I've been reading through so many posts trying to find some battery life tips and I got nothing. Mind helping ?:)

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Did you try ANYTHING on this thread? Also, which rom are you using?
[Galaxy Ace S5830 General] SuperAce609:
Lol that's logical if you're going to use an app while the screen is off. But for me, 122 works fine since I don't listen to music or anything.
[Galaxy Ace S5830 General] DevilMind007:
you call this ****y??

wait till you see mine, you will call it worlds ****yest battery life !!
[Galaxy Ace S5830 General] bendirkss:
I did try things. I'm running orca 1

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
What's yours? Lol

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
Also I dont use setcpu. Just nstools. Unless your gonna have me start using setcpu?

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
Ok, well here are a boat-load of tips from my experience.

Pre Root

-Turn off all Wi-Fi (including network notification), bluetooth, GPS

-Ensure data is 2G only

-Make sure your phone isn't using location finder (for things like GMaps/Sky)

-Set screen brightness to minimum

-Download Juicedefender because this will turn off data and background data whenever your screen is off

Post Root

-Read through this thread and all related links regarding underclocking

-Check out Pyronia's I/O script where we're experimenting here

-Delete all bloatware, all apps with wakelocks etc.

-Research undervolting, as yet no SGA kernel is supported, but you seem to be using a Nexus S so consult their forum.

Fundamentally, get some perspective on the fact that all Smartphones up to now are generally poor on battery life. And that if you are getting 12 hours hardcore use out of it (i.e. 'screen on', 'awake', 'browsing', 'chatting' etc.) then you are doing well!!!

As for your O.S. using so much battery life, I have no suggestions because I've not yet flashed a different rom to the stock 2.3.3 I had, and my biggest issue drain is the 60% cell radio due to being in terrible signal area. Some custom roms are heavy battery drainers due to performance. All of this can be tweaked with various scripts of course.

Was that any help?
[Galaxy Ace S5830 General] SuperAce609:
Lol is all I have to say. Why are you posting about your ****ty battery if you haven't even tried out what this complete thread is about? I'm not gonna have you start using anything. The thread is here with comments full of info and a complete instruction set at the first post.
[Galaxy Ace S5830 General] bendirkss:
I tried setcpu once and made a screen off profile and locked my phone and it wouldn't wake up. Needed to battery pull. Never went back

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
Yes it did help! Thank you for the tips. I'm really trying to get some tips on some CPU settings and governor ideas for battery life. I use smartassv2 which is suppose to be great but I guess for everyone its different

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Lol the only one that had that problem was you. What frequency did you set it to? That might have affected something. Which I highly doubt. Everyone in this thread has been using set cpu for a while and no one's reported those kinds of problems. As a matter of fact, SetCPU is my battery saver. And the best one at it too.
[Galaxy Ace S5830 General] bendirkss:
I'm trying setcpu again. I just have one profile (screen off) min and Max both set to 200 and using smartassv2, not that it matters probably. My main settings are Max 800 and min 200 with smartassv2 as well. Does that sound good or should I make adjustments before trying this tomorrow ?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
What are the lowest and highest frequencies you can set your phone to? If 200 is your min, don't set it so low. Our Ace's lowest is 122 then is followed by 245. I set mine to 122 since I don't use any screen off apps and I don't have any problems with it.

Since you've had problems with it before, try setting it to the next scaled frequency on your phone. That's if 200 isn't your lowest.
[Galaxy Ace S5830 General] bendirkss:
My lowest is 100. What would some screen off apps be? And do you think this simple setup I did will get me some better battery life?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
Oh no, some screen off apps would be like listening to music and such. If your lowest is 100 and you tried 200, try with 300 as your minimum first. If that one works, go down to 200. If that works too, go lower to 100. Then you'll know what they all work and then set which one you prefer.

If you can pull this off, you'll get about x2-x3 battery life. I'm judging from running your phone on Edge. This setup increases your standby time not your usage time. Unless you set your usage time main profile lower than the max your cpu can go and use a governor like conservative like I do, then that'll work too.

My current main profile is 122(lowest available cpu)-480(800 is the max) with conservative. That way, even when I'm using the phone, it won't even suck up that much battery, resulting in a complete battery saving phone. Now if you think your phone gets too slow sometimes, crank up the min cpu a bit higher and that should solve your problems.
[Galaxy Ace S5830 General] pyronia:
Try this http://db.tt/TZhS3DgZ

Put in init.d, permission set to rwxr-xr-x then reboot...

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] Bakuron:
That looks interesting. What to type into terminal to find current settings [i assume its something quicker than 500/1000]? What about dirty_ratio and background?
[Galaxy Ace S5830 General] bendirkss:
K 200 shu my phone down again, next is 400. So I guess I'll be stuck at 400 with screen off. That seems like a lot :s

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
Or screen off could be 200 min and 400max with smartass? Should I try a different governor ?

Sent from my Nexus S
[Galaxy Ace S5830 General] King Jeriamas:
Awesome tips thanks
[Galaxy Ace S5830 General] Bakuron:
I can't imagine why it shut your phone down unless your phone is/was trying to do something that requires your full processing power. What firmware/rom are you using?
[Galaxy Ace S5830 General] bendirkss:
I'm running the orca project. I have my syncs all on and I use whatsapp which is always picking up messages. Idk:s but I want help

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
I'm sure whatsapp doesn't require full power though lol

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
That makes no sense.. lol this is mind boggling. Can you set it to 300 or 250? Then set the max cpu to like 400 something and set governor to conservative. This is still a lot for a screen off profile. This should actually be one of the main ones. But whatever, doesn't hurt to try.

I'm starting to think this is a rom/kernel problem. You're the only one with that problem out of everyone I've talked to. If none of the above work, make a backup of your rom and switch to another one and try it out. If it works, then its the rom. If it doesn't, then I don't know what to tell you. :/
[Galaxy Ace S5830 General] bendirkss:
It goes from 200-400:s do you think conservative would be better than smartassv2

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
I really hope it isn't kernel related, I don't think it is. I won't use one other than matr1x. I'm using v15.5. I can't believe 200 does that either. Maybe 200 with a different governor would keep it awake?

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
I use conservative with the main profile. Its like Ondemand but slower. Its pretty good. But for overall battery saving, InteractiveX is the best one.

I'm not sure if with a different governor it would work differently. I still think you should try it with other roms to see what the issue is. Make a Nandroid backup before hand so you can switch back any time.
[Galaxy Ace S5830 General] Brajano95:
Any chance of frying hardware? Just curious (and I know it is underclocking)
[Galaxy Ace S5830 General] SuperAce609:
Lmfao of course not bro. This isn't overclocking. And you're just setting the max CPU lower than the original max which does the complete opposite of wasting battery. Try it out.

Speaking of, I should add that to the first post.
[Galaxy Ace S5830 General] bendirkss:
Ya I always backup before everything I do. The thing is, even if it is the rom I won't switch my daily rom. But I'm curious to see if it is so I will try this weekend sometime. I won't leave orca though, I absolutely love it. I recommend everyone try it:) so far with min 200 and Max 400 I have noticed battery saving for sure. But id like a little better and not be as high as 400 in a screen of profile.

Sent from my Nexus S
[Galaxy Ace S5830 General] bendirkss:
It has been a bit better today. I would really like to get better though. This is today. Last night my phone didn't charge to full because it shut off due to my screen off profile I'm still assuming so the stats didn't reset. You can see where it charged and started going down again though. It has had a smaller slope going down, not enough to settle with though. Went from 75%-35% in 8 hours.

Sent from my Nexus S
[Galaxy Ace S5830 General] Bakuron:
It might benefit you to charge your phone for a good 8-12 hours or so, perhaps even *gasps* switched off too! A 3 hour charge isn't really enough regardless of what your phone says. But again, it's about perspective, battery technology (and all associated aspects) is limited by comparison to the miraculous things the software can be made to do.

I have my phone on charge for a good 7 hours out of every 24 hours.

---------- Post added at 12:44 AM ---------- Previous post was at 12:08 AM ----------

Looking back over Dev thread, found another load of tweaks here for biasing the the various governers towards either battery or performance.

Here's an example.

"To bias ondemand towards battery saving, set high up-thresholds and higher sampling-rate. This way, governor polls less often and scales up less often."

Code:

echo "95" /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo "120000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo "5" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
[Galaxy Ace S5830 General] SuperAce609:
So 200-400 work for a screen off profile? Can you lower the 400? What if you set it to 200-200?

And sure man, no prob. If that's your favorite rom, we'll try to find a way to make it work.
[Galaxy Ace S5830 General] bendirkss:
Ya I tried 200-200 on my way to work a few hours ago, first time putting it to sleep it wouldn't wake up. The bln notifications still showed, but it wouldn't wake. I had to battery pull and reboot again. Maybe kernel related ? Thanks for taking your time to help man. This is frustrating lol. Everyone has min under 200 except me :(

Sent from my Nexus S
[Galaxy Ace S5830 General] SuperAce609:
So the lowest you can go for a screen off profile is 200-400? I see. Can you cut the 200 any lower while keeping the 400? Or is 200-400 the set value you can only change it to?

What about your main profile? What are you using? I really recommend the Conservative governor. Used it today and my battery's almost half way through after 10 hrs.

You can take a look at the screenshots. I've been playing Enchanted Realm on and off all day long and I still have a bunch of juice left.
[Galaxy Ace S5830 General] pyronia:
And u are always on 2G data connections?

regards,

•ƒγяύs ργяσ™•
[Galaxy Ace S5830 General] bendirkss:
Im so jelous. I havent even tried 100-400, i will set that now. My main profile is 200-800 with smartassv2. I will try conservative though. Ill report back in a minute about the 100-400. Wtf is with my OS though, it is on top with 26%...then its Screen- 19, Standby-13, Google Services-11, Android System-9
[Galaxy Ace S5830 General] SuperAce609:
Lol always. 3G is a battery killer. I don't really use the internet much though. Just for Friendcaster and Tweetcaster. Opera Mobile is fast as hell even in 2G so I don't really need 3G at all unless I'm Tethering or something.
[Galaxy Ace S5830 General] SuperAce609:
I honestly have no idea. I recommend you lower the 800 in your main profile a little and add conservative :). What is your max-min cpu available? 100 is your min and 800 is your max? or is it 1Ghz?
[Galaxy Ace S5830 General] bendirkss:
My max is 1.46ghz. I added conservative to my main and kept it on my screen off. With my screen off profile at 100-400, its awaken everytime so far.
[Galaxy Ace S5830 General] SuperAce609:
Okay, since 100-400 works, try 100-300. If that works, try 100-200. If that works too, go lower to 100-100.

And since your max is 1.46, I'd say 800 is already low enough. Unless you don't use heavy apps, then you can go lower to 600. 600 is enough to pull off light apps without any lags. Lol hell, 480 is enough for me to pull off apps. But it lags a little sometimes. But that's okay, a little lag for a lot of battery is a really good switch off.
[Galaxy Ace S5830 General] bendirkss:
I cant go to 300! I emailed Garen for advice and he just said that the ROM is stable with the default settings, so im gonna assume its kernel related. I dont use any heavy apps during the day at all. I use whatsapp often, my camera, xda. I could easily manage with 600 im sure. I always have 3G and wifi on as well. What kernel do you use/recommend i try to see if that helps anything. I would like it to have BLN (i love it)
[Galaxy Ace S5830 General] SuperAce609:
I don't know. I'm using the kernel that came with the rom I'm using. BLN works too. Check out any kernels for your phone in the development section and make sure they support BLN. I honestly don't know what to tell you since I still don't know much about kernels. You can use the last set of settings that worked on your phone in the mean time while you find a good kernel though.
[Galaxy Ace S5830 General] Bakuron:
Hmm well like I said try a more thorough charge first. Then maybe try this [if you have terminal emulator] type in;

$ top -n 1

That should show all your cpu usage stats and help see whats taking up the most processing.
[Galaxy Ace S5830 General] bendirkss:
Orca doesnt have BLN, otherwise i would just stick with the stock kernel. I would try franco but it says his supports BLN and it didnt when i tried and everyone seems to be having reboot issues with it.

---------- Post added at 01:47 AM ---------- Previous post was at 01:46 AM ----------

I charge my phone for about 10 hours every night.

---------- Post added at 02:22 AM ---------- Previous post was at 01:47 AM ----------

mathkid said raise all volts by 15. Ill try this and report back!
[Galaxy Ace S5830 General] SuperAce609:
Raise all volts? Now that's just complex talk for me. Lmao
[Galaxy Ace S5830 General] bendirkss:
lmao. Well so far it has awaken everytime. I have 100-200 with smartassv2. Has a little lag when unlocking but nothing ill complain about if this works and saves a noticeable amount of battery. :)
[Galaxy Ace S5830 General] SuperAce609:
Gratz! If you get an unlock lag, then that means it works. Lmfao