![]() |
Finally got a real improvement on battery life
I know that's kinda of known, but since it's a compilation from various posts, I would like to make one with the tips:
I'm getting a great battery life with these tricks: 1) Change swappiness and page-cluster to the minimum you're comfortable with (mine is 15 and 1, respectivelly); 2) Disable indexer watching and indexer on battery. The resources: 1)http://talk.maemo.org/showthread.php...ght=swappiness (edit /etc/init.d/rcS) 2)install tracker-cfg and read the help, configure as your needs Hope that helps more people ;) |
Re: Finally got a real improvement on battery life
How much improve? mine last over 24hours, and on wifi almost all day long.
|
Re: Finally got a real improvement on battery life
My device has more than 25gb of music and 5gb of photos...
Got a 30% or so improvement |
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
I have terrible battery life with chat on. Will this make a difference or is this one of those things that prolongs the battery as long as you don't use the device as intended always on device?
|
Re: Finally got a real improvement on battery life
how do you edit and save the rcS file using midnight commander? i can locate it edit it but when i click save and it says i cant save?
|
Re: Finally got a real improvement on battery life
Quote:
Less swappiness = less swapping = less use of eMMC. |
Re: Finally got a real improvement on battery life
I'm implimenting this with my small python script :)
My script has: Radio Region change to world wide, vlaue 4 Swappiness level to 30 The script will automatically start up and activate those setting every reboot. So no need to touch rCS file. Which avoiding people from breaking their device. |
Re: Finally got a real improvement on battery life
I'm interested to know if this has an impact on video recording frame rate and stuttering problem occured before configuration to swappiness
|
Re: Finally got a real improvement on battery life
Quote:
Quote:
Quote:
Thanks! |
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
Quote:
I somehow get a good transition of UI after a few hack. If you want my transition and the script then you'd get the same experience :) I'll have to test my script before hand it over to you. Just PM me and I'll send it to you :) maxx |
Re: Finally got a real improvement on battery life
Quote:
nice. will this be easy to install? |
Re: Finally got a real improvement on battery life
I changed the swappiness to 30 and page-cluster to 1. From what I can tell, I no longer get the slowdowns in freezes in micob that I used to have. The conversations app seems to start up faster too.
|
Re: Finally got a real improvement on battery life
Quote:
/etc/init.d/rcS and search for swappines and Page-cluster.. they are next together.. but be carefull dont brick ur phone ;) gr |
Re: Finally got a real improvement on battery life
ok, im trying it too..
things ive did.. a small work-around; 1. Install SSH server 2. copy rcS file by typing in terminal; cp /etc/init.d/rcS /home/user/MyDocs/ 3. open the file using SSH with 4 example notepad++ (or whatever you want:D , dont use notepad) 4. search by using ctrl+F the keyword; swappiness and change value 100 in 30.. and same thing for 'page-cluster' and change the value from 4 to 1 5. save the rcS file and copy it back to MyDocs using SSH 6. copy the rcS file back by typing "cp /home/user/MyDocs/rcS /etc/init.d/rcS" in terminal 7. Check if the file have the exec permissions by typing; ls -al /etc/init.d/rcS will show rwxr-xr-x (look at the 3 x) 8. If so, ur done reboot ur phone.. p.s. allways be root at terminal..and do it at own risk ;) You can check the values by typing; cat /proc/sys/vm/swappiness or cat /proc/sys/vm/page-cluster greets |
Re: Finally got a real improvement on battery life
im sorry, im a new but, why not just
vi /etc/init.d/rcS to edit the file? |
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
Good info guys, I'm gonna try this out when I get home... Anything to increase battery life even though I carry an extra battery with me everyday. I get jealous when one of my co-workers who has a Nexus One shows off the battery life of his modded ROM when after almost 8hrs he's @80%+. All I can do is shake my head in disbelief :rolleyes: :eek:
|
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
yehh.. i hate it too.. !!
i hate the sound of 'empty battery' of my phone every night.. so lets see if this works.. :D |
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
Quote:
Quote:
Quote:
Quote:
ill post my config, but its nothing final, still testing it! |
Re: Finally got a real improvement on battery life
4 Attachment(s)
here are my tracker-cfg config, as I said, its not final, I'm still testing what's better
|
Re: Finally got a real improvement on battery life
Quote:
However, I am saying "may" because if eMMC chip is smart enough it can combine the multiple short sequential writes to a single 128KB in some buffer. Unfortunately, I don't know the specs of eMMC chip. |
Re: Finally got a real improvement on battery life
To anybody, who wants changing swappiness or rcS, I repeat here -
I highly recommend to anybody who wants to change rcS - instead of that just create a file /etc/event.d/somename with following lines: Code:
This would not corrupt your N900 in case of problem and it allows the next Nokia OTA upgrade. |
Re: Finally got a real improvement on battery life
My thumbnailerd is running.. even with BatteryIndex set to true.. this proccess is EVIL!
Anyone know how to REALLY disable it? I have all thumbs done.. NO NEED TO REDO IT HELL! This really pisses me off, f*kin overengineering :/ |
Re: Finally got a real improvement on battery life
Quote:
Thanks for all this info ;) Obrigado :p |
Re: Finally got a real improvement on battery life
Hello guys this seems nice and i would like to try it out, but i cant seem to figure out how,
if someone would please post step by step, on exactly how to do these both, it would be apreciated alot. thanks.! |
Re: Finally got a real improvement on battery life
Oh no!!!Copied the rcs file using winsp, modified the swappiness, cluter thing to 15 and 1, copied the file back and replaced the original. Changed the indexer settings as shown above. Switched off my device, changed the battery, switched it on. Nokia white screen shows for a few seconds and then device switches off again. Tried it five times and happens again and again. So I have now officially bricked my device.
And my usb port is faulty so I cannot even reflash the device. So I now have a dead device. |
Re: Finally got a real improvement on battery life
If you want IM on all the time and you don't want to eat your battery up, install the 2G/3G switcher applet and set it to 2G when you're not using the internet for anything else. Will save a lot of battery power.
|
Re: Finally got a real improvement on battery life
I changed swappiness from 60 to 30 and cluster-size from 5 to 1 and the device won´t get pass the 5 dots. Just keeps loading something... Maybe the cluster change causes a KP or something? Actually the phone got into a reboot loop just now. hmm weird. Could be a power-kernel problem with the settings?
|
Re: Finally got a real improvement on battery life
Quote:
Thats a good reason to go buy yourself a Galaxy S though (; |
Re: Finally got a real improvement on battery life
Quote:
Would love it if Nokia replaced my bricked device with a galaxy epic. Or better still a galaxy tab :) |
Re: Finally got a real improvement on battery life
Quote:
Text / Ascii characthers, like the ones inside rcS file you edited are stored in files, when you enter 5 lines into that file, the editor you are using automatically adds special chars at the end of each line that are interperted as end of lines, or new-lines. Pressing the Enter key actually does that, you press enter, the application adds \n (linux) \r\n (windows) Code:
1234 Linux uses \n (0xA in hexa) and windows uses \r\n (0xD0xA). When you copied the file over winscp, and opened it on WINDOWS with some editor, the editor probably change all the \n occurrences to \r\n occurrences. Then you copied it back to the N900, the n900 is trying to read that file, and says to himself "WTF??? what the hell is this \r\n, this is not for me... i'll reboot." Why does linux use \n and not \r\n? the same answer for the question : "why does windows use \r\n and not \n?"... Why does N900 fail to read that? cause it's linux. Next time, use VI. :) For further reading about this... Wikipedia I'm sure Nokia will be pleased to give you a samsung galaxy s, or tab, right after they give me one :) |
Re: Finally got a real improvement on battery life
Quote:
Install leafpad and you're ready... |
Re: Finally got a real improvement on battery life
Quote:
|
Re: Finally got a real improvement on battery life
Quote:
Sorry if it's, indirectly, my fault... I haven't put the step by step tutorial, just hints... Hope you get your usb back, then will be easy to get it back! |
Re: Finally got a real improvement on battery life
hmmm i changed it back to 100.. the reason ??
-after using a day, black screen -couldnt use Navigation for some reason ? it hangs all the time -and my battery drained the same speed as usual.. thats my opinion ;) gr |
Re: Finally got a real improvement on battery life
I've tried to do it via Python but so far unsucessful, due to the file is strictly unmodifiable by python.
I try echo it through python but failed badly. Anyone give me some advise on how to get this work with python at start up? |
All times are GMT. The time now is 02:55. |
vBulletin® Version 3.8.8