![]() |
Re: Finally got a real improvement on battery life
Just curious, why can't you just use the solution provided here?
http://talk.maemo.org/showpost.php?p...7&postcount=26 |
Re: Finally got a real improvement on battery life
Quote:
after reboot, doing a cat /proc/sys/vm/swappiness it gives 100 again |
Re: Finally got a real improvement on battery life
It worked for me, weird.
Have you double-checked that you didn't make any errors in your file? |
Re: Finally got a real improvement on battery life
it works
seems that i had the \r\n problem cause i made the file with leafpad and now cat /proc/sys/vm/swappiness gives 30 after reboot thank you very much n.n wonder if adding "echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region" in the script would change my region settings aswell |
Re: Finally got a real improvement on battery life
Don't echo in to files in /etc. It replaces the file's contents and the OS might become unbootable.
As root, you can however do "echo 50 >/proc/sys/vm/swappiness" without the quotes, and it doesn't modify anything permanently, reducing the risk of doing anything that makes your device unbootable. |
Re: Finally got a real improvement on battery life
Quote:
care to share the script? |
Re: Finally got a real improvement on battery life
Quote:
But I now just going the old way with Bash Script instead. Bash script works great without hassle but Python scripts cannot modifying the file due to permission level too high. If you want my Shell Script auto start, I'm happy to send it to you :) or upload it here |
Re: Finally got a real improvement on battery life
please im still waiting on this...
|
Re: Finally got a real improvement on battery life
Quote:
could you explain the instructions to do this, please? |
Re: Finally got a real improvement on battery life
I'll upload it here then.
|
All times are GMT. The time now is 08:10. |
vBulletin® Version 3.8.8