Wifi after v6 supercharge script.... - Atrix 4G General

The default wifi scan is set to 3 minutes in the build.prop. This is not acceptable for me to wait 3 minutes when the phone boots to wait for a wifi connection. I've changed it to 30s, but does anyone know of a better way of addressing this? It seems this setting might be bad for battery life.
Sent from my MB860 using Tapatalk

hoodlikegaza said:
The default wifi scan is set to 3 minutes in the build.prop. This is not acceptable for me to wait 3 minutes when the phone boots to wait for a wifi connection. I've changed it to 30s, but does anyone know of a better way of addressing this? It seems this setting might be bad for battery life.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
I use this on my atrix and my wifi connects instantly
Sent from my YP-G70 using xda premium

I set mine to 30 sec in the build.prop as well after installing V6... seems the simplest way to edit. I'd imagine that battery drain is negligible.

Related

Someone help me! (BatLife woes)

Alright I wasn't going to make a thread on this because this topic is already discussed elsewhere naturally but I feel my situation is different. All over the place I see people reporting great battery life with ICS.. well mine is HORRIBLE. I just flashed the latest nightly for Pete's bugless. I didn't change the kernel. Everything is stock. Only a few apps installed. Noop for scheduler and ondemand for governer.
The phones been off the charger for 55 minutes and I'm sitting at 76%. Idk what's going on. I've tried so many rom/kernel combos and I seem to get the same exact battery life no matter what. Around 6-9 hours with less than 1 hour of screen on time.
Things I've tried to combat this:
Undervolting
Freezing apps
Restricting background data
Underclocking
Brightness set to auto
And I'm sure a few other things I'm forgetting about. I've done all this and still get ****ty battery life. I've flashed the new radio hoping that it would solve my issues but no dice. My signal strength reports at -67 dbm yet the bars never go over 2. 3g or 4g. Even after updating plr.
On gingerbread cm7 I ran brightness at 70%, ocd to 1.4ghz and always got 15+ hours.
For the love of god someone help me. Cuz I think my phone hates the cream sammiches.
Sent from my Nexus S 4G using xda premium
Sent from my Nexus S 4G using xda premium
try this kernel, trinity teuv underclocked/undervolted kernel, oc'd gpu http://goo.gl/rY6ga
and do not set brightness to auto, its a battery killer. i keep my brightness at about 20-25%.
also, be sure to fully discharge your battery then charge it completely, after 2 or 3 cycles you should be good.
simms22 said:
try this kernel, trinity teuv underclocked/undervolted kernel, oc'd gpu http://goo.gl/rY6ga
and do not set brightness to auto, its a battery killer. i keep my brightness at about 20-25%.
also, be sure to fully discharge your battery then charge it completely, after 2 or 3 cycles you should be good.
Click to expand...
Click to collapse
I do this every day lol I let the battery drain to around 15-30% before I plug it back in.
Screenie: 1 hour later and I lost another 25% this can't be rom or kernel related. As I have tried trinity already and the same thing happens
Sent from my Nexus S 4G using xda premium
Ugh. Another 20% gone. Its only been a half hour from the above screenie. You guys see my dilemma? Lol **** me.
Sent from my Nexus S 4G using xda premium
21% ..
Sent from my Nexus S 4G using xda premium
i was having horrible battery drain after flashing a new rom & kernel - i finally figured it out that my APN settings were messed up and I re-entered them according to the correct carrier settings.
i don't know if that will apply to you since it looks like your 4G data is working properly, but since I was on wifi 99% of the time, as soon as I went off, my data didn't work. but it's something to look at.
4 hours later I'm down to 4% from a full charge.
Sent from my Nexus S 4G using xda premium
Could you try better battery stats to see if something is holding a wakelock?
Turn Data usage off :/ i think Fb or some app is using your 4g
irizwan said:
Turn Data usage off :/ i think Fb or some app is using your 4g
Click to expand...
Click to collapse
I would be interested to see what your battle life diff is without 4g switched on. Also in that 4 hrs what was ur screen on time?
Have you thought of trying a new batt? Just got an OEM Samsung for 5 bucks on eBay. Worth a shot.
Oh remove fb app it blows...install friend caster way better less batt make sure you change the sync interval.
You could also try green power from the market to manage your data use while screen is off.
Sent from my Nexus S 4G using Tapatalk
Ok here's how my battery performs back in cm7 nightly 174 gingerbread. Almost 4 hours and only 25% chipped away. If you look above you'll notice I lost more than 40% in the same time with ics. And I'm doing nothing different. I'm even overclocked to 1.3ghz ondemand with noop for a scheduler.
I think I'm sticking to gbread until official source is out. Maybe then ill get the same battery life.
Sent from my Nexus S 4G using xda premium
That is really weird, if you have time try Milestone 3 and SG's latest kernel and just leave the settings stock . I get wonderful battery life with it hopefully you do to
Oh and are there any apps you are using on ICS that you aren't on CM7?
Sent from my Nexus S 4G using XDA App
Nope. Lately its only been a handful. I actually have more apps installed on gbread to achieve some of the features that are baked into ics. I just don't get it. Ics hates my phone. I even used the GPS today. So weird.
Sent from my Nexus S 4G using xda premium
Try what I suggested unless you did already then ignore lol
Sent from my Nexus S 4G using XDA App
Could it be a faulty battery?
Harbb said:
Could you try better battery stats to see if something is holding a wakelock?
Click to expand...
Click to collapse
This. If you are installing the same ol battery-draining POS app then you are not going to fix it with any rom or kernel.
So you guys think my batter watcher widget is preventing my phone from sleeping properly? Ok.. I'm on cm7 right now. Battery is def back to normal. And this is with bacround data on. Ill delete bw and get better battery stats.
Sent from my Nexus S 4G using xda premium
Better battery stats is not the same thing as other (mostly useless) monitoring apps.
Look. 16 hours on gb. If none of my apps are killing the battery then what could it be?
Sent from my Nexus S 4G using xda premium

Wifi connection problems after using onavo data monitor app

Last week when the Onavo data monitor app appeared prominently placed on the market home screen I gave it a try.
Unfortunately it created a very annoying bug on my phone running JVU and Semaphore 2.5:
whenever my phone looses it's wifi connection for any reason it will not recognize and connect to available wifi anymore even if placed directly near the router with full signal strength!
The only way to get it connected again is switching wifi off and then on again...
I already uninstalled the app and did a factory reset but nothing changed. Probably it messed up some system files that don't get touched during factory reset.
As I'm in vacation now and don't have my data cable with me to flash a fresh firmware, is there any way to resolve this issue in other means?
Sent from my GT-I9000 using Tapatalk
Nobody here with any idea how to resolve this? It's really annoying as even battery consumption goes up very much when the phone looses wifi and auto connects to 3g.
Sent from my GT-I9000 using Tapatalk
I have no idea about your problem. I also have just installed Onavo on JVU firmware for a couple days, but everything is still ok....
So, I'm thinking the cause is from your router!! Why don't you try another wifi network?
Good luck!! ^^
Sent from my GT-I9000 using xda premium
Thanks for your answer! It doesn't depend on my router. As I said I'm in vacation right now and therefor using many different available hotspots, it happens on all of them... :-(
Sent from my GT-I9000 using Tapatalk
Any issues with battery drain and onavo? Cause it was sucking mine dry!! I thought it was semaphore's fault (i'm on icssgs 4.2) until i figure it out and uninstalled it. Now it is Almost as prior installing onavo. I have a feeling that it left some garbage behind though.
It definitely left some garbage behind and this thread is about to find out how to get rid of it.
Battery drain was and unfortunately still is very high on my device thanks to the non desired 3g connection instead of wifi...
Sent from my GT-I9000 using Tapatalk
Try to flash a new kernel again. It may help you updating some files that control wifi.
I used onavo for couple of days, battery drains. Its functions already in ICS roms, Less but good.
Sent from my GT-I9000 (ICS AOPK #25 - Semaphore 0.9.1) using xda premium
Thank you so much! That did the trick. The onavo garbage seems to be gone for good now.
Sent from my GT-I9000 using Tapatalk
You are welcome,
Could you please tell us about the battery usage. Do you noticed some changes in battery life?
Sent from my GT-I9000 using xda premium

Battery drain with 3g on terrible

Hi guys,
Is anyone else get terrible battery life with 3g and data on even on standby? I believe the phone function drains the battery and it lasts only 2 days or so on standby. I constantly have the tab on flight mode with wifi enabled and battery is much improved to about 1 week standby. Anyone else? I am on stock 4.0.4.
Thanks
Wtf r this guy even serious? I wish i had 1 day standby, what a joke
Sent from my GT-P6800 using xda app-developers app
I get 5 days of standby with wifi and 3G on. Stock ICS aswell
long6688 said:
Wtf r this guy even serious? I wish i had 1 day standby, what a joke
Sent from my GT-P6800 using xda app-developers app
Click to expand...
Click to collapse
Hi Iong. We are talking about a tablet here, not a phone. Tablets should have 1 week standby at least. The battery drain with 3g and phone on is unacceptable. I think the reason is the connection to phone signal which is constant.
Mate 1 day pr 2 day standby is a lot, given the fact you install many program and it constantly connect to tinternet to check for updates notifs etx. You dont have 1 week standby whatsover, forget it. Big tablet big baterry big screen. Ot all goes scaling together
Sent from my GT-P6800 using xda app-developers app
So 'l2_hsic' and 'batt_work wake lock' are the 2 processes keeping my table awake for 5 hours in total since yesterday. Any idea of what these do?
Thanks
tcdscr places
most likely is that one or more of your apps is causing the problem. try a reset and see if the problem goes away. if it does, install apps one by and and check which one is the problem
Use juice defender ultimate in tablet mode. I can go several days idle time and lose almost no battery.
Sent from my GT-P6800 using Tapatalk 2
?
may be change firmware?

Battery life problems

Is anyone else experiencing very bad battery life? I use it for five minutes and it drops 5%... Am I doing some
Thing wrong?
Sent from my SGH-I337 using Tapatalk 2
Welcome to life of the S4. No youre not doimg anything wrong. The best thing I can suggest is using Juice Defender, and a Task Manager. Turning mobile data off when not in use, screen brightness at about halfway. I can squeez about 20 hours out of this phone with moderate use this way.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
You're doing something wrong if it drops one percent per minute
Sent from my SGH-M919 using Tapatalk 4 Beta
You could give the new qualcomm battery app a shot... takes a few days to read your usage then starts adjusting things like app sync times etc to save your battery.
I just started trying it out. Looks promising.
Sent from my SAMSUNG-SGH-I337 using xda premium
Battery life is like the only good thing about the galaxy s4. I'm so disappointed with the lag and the overall performance of the phone. But battery life lasts me the whole day. I have the At&t galaxy s4.
What's the app called?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Right im just not sure what I am doing wrong though because I have restored my phone many times with no results.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
drucquerkellan said:
What's the app called?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Battery Guru
Thanks
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
joeybear23 said:
You could give the new qualcomm battery app a shot... takes a few days to read your usage then starts adjusting things like app sync times etc to save your battery.
I just started trying it out. Looks promising.
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
From my personal experience with it, it keeps waking up my phone when it goes into deep sleep. It wastes more battery by constantly waking it than it saves me.
drucquerkellan said:
Right im just not sure what I am doing wrong though because I have restored my phone many times with no results.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
When you restore your phone, are you restoring all the apps? One bad app is all it takes. you should reset to stock, and not install any apps. Then when you see that it runs ok, install one at a time as you test.
Not sure who has lag issues, but my phone rocks. No lag here and battery life is great.
No lag here, at all... My best for battery is 3 days, with 4 and a half hours screen-time...
alphadog00 said:
When you restore your phone, are you restoring all the apps? One bad app is all it takes. you should reset to stock, and not install any apps. Then when you see that it runs ok, install one at a time as you test.
Not sure who has lag issues, but my phone rocks. No lag here and battery life is great.
Click to expand...
Click to collapse
OK thanks I'll try that
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
King Ding-a-ling said:
No lag here, at all... My best for battery is 3 days, with 4 and a half hours screen-time...
Click to expand...
Click to collapse
Wow mine won't be on for a whole day and it'll drop down to 50%
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
alphadog00 said:
When you restore your phone, are you restoring all the apps? One bad app is all it takes. you should reset to stock, and not install any apps. Then when you see that it runs ok, install one at a time as you test.
Not sure who has lag issues, but my phone rocks. No lag here and battery life is great.
Click to expand...
Click to collapse
My screen time is 2 hours 3 minutes. The battery is already 28% and I just watched it drop to 26%
ALSO my screen brightness is 25%
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
drucquerkellan said:
My screen time is 2 hours 3 minutes. The battery is already 28% and I just watched it drop to 26%
ALSO my screen brightness is 25%
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Keep in mind there are lots of variables at work.
Wifi vs. Cell data - Turn on Wifi and battery usage goes down a LOT - if you are in a wifi area all the time. Cellular data is a battery pig.
Weak signal area - another battery pig - i have had phones drain in 8 hours doing nothing if i had poor reception
Usage mix - Your 2.5 hours of screen time, could be good if you have screen at high brightness and are streaming cellular data (movie) and if you are also syncing email, facebook, and everything else in the background.
If you do all your data by Cellular, then 4 hours of screen time will probably be your limit. It is hard to tell if you have a wake lock issue or not, as we don't know anything else about your usage, apps that are frozen, gestures on/off, etc.
Monkz said:
From my personal experience with it, it keeps waking up my phone when it goes into deep sleep. It wastes more battery by constantly waking it than it saves me.
Click to expand...
Click to collapse
Thanks I'll keep that in mind.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
drucquerkellan said:
My screen time is 2 hours 3 minutes. The battery is already 28% and I just watched it drop to 26%
ALSO my screen brightness is 25%
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
What does the next screen show - when you tap on the graph - it will show screen on time and wake time.
And do you have power save mode on?

[FIX]WiFi Fix

If you have a WiFi permanently disabled or very weak, try to do it:
Open the file /system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini in text editor.
Change the line gEnableBmps = 1 to gEnableBmps = 0
Save and reboot
This increases the stability of the WiFi and fixes WiFi from regular stops.
Only for rooted sp?
Sent from my C5303 using xda app-developers app
Pietertje_ said:
Only for rooted sp?
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
Yes
Tried on it and looking for the improvement! Thanks bro :good:
Hahaha! Alivanov I Love You Thanks For This XDD
I posted this to a hungarian forum and one guy said it worked for him.
So thanks for the fix.
The file is read only.
How can i edit and save it?
Pietertje_ said:
The file is read only.
How can i edit and save it?
Click to expand...
Click to collapse
Mount /sytem as rw in RootExplorer or in some others file managers that support root.
alivanov79 said:
Mount /sytem as rw in RootExplorer or in some others file managers that support root.
Click to expand...
Click to collapse
Thanks. Hope this will fix the random wifi disconnects.
*Edit
The fix didn't work for me, wifi is still very unstable with random disconnects.
Can't modify with anyone root explorer, anybody have any idea why I'm doing wrong?
Sent from my C5302 using xda app-developers app
Any issues with battery life after doing this? After googling came across a posting regarding this code and the Nexus 4 where it increased the idle battery usage from 0.5% to 5% per hour.
Xadious said:
Any issues with battery life after doing this? After googling came across a posting regarding this code and the Nexus 4 where it increased the idle battery usage from 0.5% to 5% per hour.
Click to expand...
Click to collapse
No battery draining at all for me.
alivanov79 said:
No battery draining at all for me.
Click to expand...
Click to collapse
Good to hear. I just did the edit and it fixed the issue i was having with the AirDroid app where before it would disconnect if the screen went off, now it works even with it off
Don't know about battery drain but this seems to definitely speed up connection to my wlan. Before I would get one or more authentication errors before it would connect but it seems pretty instant now. Will keep an eye on battery and report back.
EDIT: I don't think its helped actually. That said my issues sound slightly different, in that once I'm logged on things are good, but it can take five or six time s to log on if I don't have a good signal.
Sent from my C5303 using xda premium
after a 5th reboot it looks like it is working.
4 hours without wifi disconnecting.
*Edit
Wifi is not fixed...
Again random wifi disconnects.
Sent from my C5303 using xda app-developers app
No improvement still the same problem of frequent disconnection
Gonna try it once I unlock my BL
"你看到了没? 爱让我流胆怯的泪..."
"Have you seen it? Love has made me cry cowardly tears..."
Pietertje_ said:
after a 5th reboot it looks like it is working.
4 hours without wifi disconnecting.
*Edit
Wifi is not fixed...
Again random wifi disconnects.
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
Yes I'm going to have to retract my statement too. Still get authentication issue.
Sent from my C5303 using xda premium
Perhaps some logcats or dmesgs can help?
Seems this is not the magic fix i thought it was, battery drained a huge amount overnight in idle mode when i was asleep. Corresponds to roughly what other people said in other forums about battery draining at about 5% per hour in idle mode as opposed to 0.5% per hour at default setting.
Seems its more an issue of Sony having to optimise WIFI settings to work correctly as it's probably mostly at default Android settings currently (with some changes by Sony, but clearly not enough changes).

Categories

Resources