![]() |
SmartReflex- Battery Enhancement - The right way?
I have come across many ways of enhancing the battery life on the forum. Two of them have stood out.
One is the following post by Vasillalov which basically guides the users on various settings: http://talk.maemo.org/showpost.php?p=410388&postcount=1 The second one, and the one relevant for this post is the smartreflex battery enhancement command set which has been described differently at different places. On the bug report page https://bugs.maemo.org/show_bug.cgi?id=7633 it says that the text of the command is echo 1 > /sys/power/sr_vdd1_autocomp echo 1 > /sys/power/sr_vdd2_autocomp In another post http://talk.maemo.org/showpost.php?p...9&postcount=16 , I came across a different syntax (and a different sequence) of the same command. echo "1" >/sys/power/sr_vdd2_autocomp echo "1" >/sys/power/sr_vdd1_autocomp I have tried both and it seems that the latter seems to work better. Can someone else confirm what is the correct syntax and the sequence of these commands? |
Re: SmartReflex- Battery Enhancement - The right way?
To add insult to injury, I think the correct code should be
echo -n "1" >/sys/power/sr_vdd2_autocomp echo -n "1" >/sys/power/sr_vdd1_autocomp The -n flag makes echo not print a newline after the string. YMMV... |
Re: SmartReflex- Battery Enhancement - The right way?
navsin: those two commands are same. Spaces do not make difference, because they're ignored, nor do the quotation marks. They're used if you're echoing words/sentences which have spaces between them, for example: echo "I want SmartReflex enabled by default!"
Thus echo 1 = echo "1". The only difference I see is the order in which values are echoed. |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
If you read the entire bug report you'll see that actually none of those is recommend, but editing /etc/pmconfig is.
Also, backup and ensure you know how to reflash before doing anything. |
Re: SmartReflex- Battery Enhancement - The right way?
From different posts that I have read, it seems that editing /etc/pmconfig makes the phone more likely to crash. That seems to be the riskier option to me.
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
But on a serious note, are you pretty sure that these two commands do nothing? |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
pmconfig is just read at /sbin/preinit time by /sbin/read_cfg.awk, which just ... edits the procfs files. |
Re: SmartReflex- Battery Enhancement - The right way?
Smart Reflex caused my phone to constantly reboot, don't know why it was so unstable with me, I even tried a reflash then enabling it.
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
*Bump*
anyone? |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
Editing /etc/pmconfig and then rebooting is the recommended method. If it crashes... well, SmartReflex works for some but makes some devices unstable. Likely the reason it isn't enabled by default... |
Re: SmartReflex- Battery Enhancement - The right way?
I just caqme accros this thread and wondered if this actually works and if so why has no app been created to make use of these settings?
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
im just so lucky to get that one, but that smartreflex works very well, i think it saved me another 50% of battery life IMHO. :D |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
50%???? i am willing to be ready to reflash for it! now some pls explain to me how can i edit the pmconfig?
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
after enabling smartrefelex, with the same use, same settings etc, it gave me 15hrs (including 2 unknown reboots) the bad thing is, i have no battery eye, graph or health check installed at that moment, and its only what i notice and no technical explanations to support my basis, so it is not 100% absolute. Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
This is my batterygraph (graph lol). Smartreflex was enabled around 21:00 March 31 definitively.
I can definitely see battery improvement, you can also look at the slope angle. The 4-5 days before that i was switching it on-off, playing with swappiness and other things that i cannot however precicely time. PS: green is wifi connection, red is gprs/3g http://img689.imageshack.us/img689/9...0405201.th.png PS2: I have only used echoing to set smartreflex, and have set vdd2 first as per the recommendation of a user on this forum (cant find the thread again). |
Re: SmartReflex- Battery Enhancement - The right way?
I enabled SmartReflex with the pmconfig setting (and rebooting) a few weeks ago.
I set both vdd1 and vdd2 to 1. It is rock stable and the battery life seems to have improved. |
Re: SmartReflex- Battery Enhancement - The right way?
so this works and increases battery life by 50% yet no1 has decided to create an app and the only graph shows that there isn't much change, could I be more confused? :(
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
i change mine by.....uh.....echo -n 1 /sys/power/sr_vdd1_autocomp same in vdd2. after 3 re-boots comes the problem that a re-flash is needed :eek: and now im afraid to do that again, well if a pro will guarantee that it wont happen again if i re-enable smartreflex, maybe i'll give it another try. |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
To anybody, who doesn't see SmartReflex effect -
if you use 'echo' command, please put a space between digit 1 and sign '>'. Or just enclose digit 1 in double quotes like "1" Reason: shell uses a combination 1> differently if you haven't space in between. You can verify the effect by cat /sys/power/sr_vdd1_autocomp |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
This thread would have been more useful as a poll, gathering information about which users implemented this and had issues vs had no issues..
|
Re: SmartReflex- Battery Enhancement - The right way?
Ok :)
Have enabled it via pmconfig for two days without problems (PR1.1 ,60 for swappiness ) No just flahed 800MHz kernel - still no issues ....will post w/o SR batterry graph if i will have some time |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
Anybody knows what the two individual SmartReflex properties are good for? There is some infornation what it does in general, but why are there two properties? Would it make sense to turn on just one of them? (This could be an option for those who have issues with both of the properties on) ...
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
@craftyguy: that is right, I have read the white paper. I am wondering why there are two settings that control SmartReflex in Maemo? Some people were reporting that the order of commands matter.. so perhaps it would be worth trying turning just one of them on?
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
However, I didn't do a scientific measurement, and that may be a placebo. I am now in reverse order of setup. (unfortunately, I recognized that OMAP 3430 power management in software is ... weel, not the best, so I am forced to live with unfinished assumptions...) |
Re: SmartReflex- Battery Enhancement - The right way?
I have turned just /sys/power/sr_vdd1_autocomp to 1. I will see if I notice any difference. (Both of the settings on make my device act a little weird -- there are request timeouts on wifi that disappear with SmartReflex off).
|
Re: SmartReflex- Battery Enhancement - The right way?
I flashed my n900 with Lehto's 125-825MHz kernel and set the smart reflex on in pmconfig. The results are quite amazing. I also
set the ignore nice load to 1 echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load renice 1 `cat /syspart/applications/standby/background/tasks` renice 1 `ps | grep modest | cut -c1-5` Now my batterylife has increased threefold. Used to get max 16 hours if on idle most of the time now the battery holds for 24h with average usage and over 34h on idle with 1 hour of talking and 1hour opf surfing and some texting. |
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
|
Re: SmartReflex- Battery Enhancement - The right way?
Quote:
Note: I use only stock kernel. |
Re: SmartReflex- Battery Enhancement - The right way?
Just a note - I don't personally have battery problems, so I won't comment on that.
You should do statistically sound tests before claiming improvements in battery life, because you could be doing something akin to a "self-placebo." (For those who don't know what that is, it's a medical term, you think you're getting better results because you were told it would, when in fact, nothing has changed.) |
Re: SmartReflex- Battery Enhancement - The right way?
Ok VDD1 compensates for CPU voltage.
VDD2 compensates for I/O pins voltages. In my case smartreflex works on VDD1, while it fails with VDD2. |
All times are GMT. The time now is 22:04. |
vBulletin® Version 3.8.8