wireless sometimes causes high battery drain - Galaxy S II Q&A, Help & Troubleshooting

Has anyone hit an issue whereby battery drain is high on a particular wifi network.
In my case this is a busy (1000s systems in subnet) corporate wlan running EAP-TLS. Many access points.
At home (using speedmod and siyah kernels) battery life is excellent.
But in the office when this occurs battery drain occurs at a similar rate to web browsing. System is not sleeping as much as usual, and it's not all 200 Mhz running either.
Not yet been able to pin down the behaviour, though it occurs with pretty much all user application processes killed (frozen). Disabling wlan puts usage back to normal, re-enabling wlan hits the issue again. going home (no reboot) and onto my home wlan results in normal battery again with high % sleep.
I'm guessing it relates to traffic on the wlan - maybe lots of broadcasts, maybe re-authentication issues.
So has anyone found issues with battery drain in busy WLANs?
Running rom KJ3
May have to get into tracing/wireshark etc to figure this one out...

Related

[Q] How to maximize battery?

Hey guys,
I need help. My battery life is absolutely shocking. And yes, I have adequately calibrated my battery (which IMO shouldn't make that much of a difference).
Please share your tips for maximizing battery here!
Basically, when I call someone, I lose like 10% in about 10 minutes. Not good. And I like to be on the phone for hours on end.
Please help, and thus also help others!
P.S: I am using Wolfbreaks 2.3.3 ROM.
P.P.S: I have tried:
CPU Profiles
Setting Max Clock Speed to 576MHz.
Governor is interactive.
2G only (never 3G) on a 900MHz network.
Manually killed some tasks which may consume battery (rarely though, makes no observable difference).
I never connect wireless, and (background) data is disabled.
Brightness always at an all-time low.
Added some build.prop modifications (setting the WiFi scan interval to 5 minutes [300 seconds], just in case I enable WiFi).
No Bravia Engine/xLoud enabled (not even included in the ROM).
Undervolt kernel module (my phone never crashes).
NOTE: Aeroplane mode is not an option unfortunately I need my phone on an connected 24/7.
Other things to note about my use:
I don't ever listen to music.
I never browse the internet whilst connected to 3G.
I rarely connect to my WAP.
I rarely use the camera.
I rarely watch videos.
I occasionally (sometimes) browse the Gallery ( <100 pictures ).
Cheers guys!
Even I have recently installed wolf's rom and I find that the battery is performing lesser than before...
Did your battery encounter overheating issue before? I'm not an expert therefore I'm just capable to give advice As for me battery draining quite fast too when on call but on other time its just fine

[Q] SGS2 wifi constantly scanning

Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
jwlkr said:
Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
Click to expand...
Click to collapse
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Entropy512 said:
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Click to expand...
Click to collapse
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
johny_i said:
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
Click to expand...
Click to collapse
I believe BBS is reporting scan time improperly. I've seen that in a few threads.
Sent from my GT-P7510 using Tapatalk
You're probably right, except now scan time doesn't even show.
I have also observed this on my phone.
I have a Samsung Galaxy IIs, using a Sony Ericsson MW600 BT handsfree as well as a Pioneer car Bluetooth handsfree system.
I have not measured anything yet, but I notice that when the Wi-Fi scanning is going on, I get significant disturbances on both of my Bluetooth hands-free sets. Listening to music is without a hitch, but talking on the phone (Norwegian GSM - operator Telenor) is terrible.
i also noted this after installing the OTA update to 2.3.6 today. I just rooted mine yesterday after reading 54+ pages to make sure i understood everything. i had a cappy and loved installing new roms but have not taken the plunge yet on the sgs ii. I haven't noticed a huge difference in battery yet, but it has only been a couple of hours since the update.
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Hi,
I had the same problem where my WIFI was fluctuating.... I dont know if this is the problem/ solution but this is what happened...
My SGS 2 is already rooted and unlocked. I had flashed the Entrophy DD 12/23 first then I had flashed Unnamed Custom ROM. After rebooting the phone, I saw the Wifi was not stable. So I again did a "Wipe Factory Data Reset" and "Wipe Cache Partition" and then installed the Unnamed Custom ROM from the SD Card. My Wifi is pretty stable now.
I am not sure if you guys had this issue when flashing a ROM but this seemed to fix it.
Wifi Scan - Milliwatts
ktoonsez said:
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Click to expand...
Click to collapse
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Misterjunky said:
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Click to expand...
Click to collapse
Power control - Not likely, unless there is some documented power control already in the driver it's not going to happen. We're in a bad enough state as it is trying to make the chip not fire interrupts at 1 Hz on the Infuse.
Broadcom is one of the least open source friendly chipset manufacturers on the planet - their drivers have NO comments or documentation whatsoever, and datasheets are not available.
The rescan stuff is probably only addressable on Cyanogenmod, messing with it would require source code for the userland wifi management stuff.
mickey4mice said:
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Click to expand...
Click to collapse
As stated earlier in this thread - this is by design. It is assumed that if you're in the settings screen you want to change networks and have an up-to-date list.
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Battery Drain
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
Try doing a clean flash using "wipe data/factory reset" in CWM
recovery and then see if the phone has normal battery drainage.
(which it will if you flash the UnNamed v2.2.1 custom rom)
Then install one app at a time so you can find out exactly which
app is the culprit that causes your excessive battery drain.
This is the best way to trouble shoot battery drainage issues.
You will see that your battery drainage issue is not caused by
the custom rom, but it is caused by a few apps which are just
not very battery friendly.
The UnNamed v2.2.1 rom is the best custom rom currently
available for our i777 phones and it has outstanding battery life.
Good Luck!
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
This has nothing to do with this thread - This thread is talking about wifi scanning.
Drain problems - read my known battery drainers thread. A lot of people are having problems, there is no fix, and there won't be until all the people complaining start actually collecting some data.

[Q] Wifi Battery Drain on CM 10.1

Hi @all,
since i switched from samsung stock rom to CM 10.1 (M3) there is a high battery drain when the phone is running on standby.
To be sure i'm getting nearly "comparable" results, i flashed both roms completly clean without any additional apps. Google services/syncs switched off, mobile data disabled.
With the samsung stock rom the battery lasts for about 3,5 days in standby. With CM10 the battery is drained after 1,5 days. 12 hours after charging BetteryBatteryStats shows a high number (~20000) of kernel wakelocks for the type "wlan_ctrl_wake" (NOT wlan_rx_wake). As far as i can see, there is no connection to any app keeping the phone from entering deepsleep. However, i only have a deepsleep rate of about 70%. Nothing suspicious in partial wakelocks.
Regarding the battery drain topic, there are many hints on google now, latitude, Gtalk and so on. Already tried those. There's no need to change the wifi settings, because on samsung stock rom everything works fine using the same settings (just about 40 wlan_ctrl_wakes within 12 hours). I'm using Fritzbox 7170 as wifi ap. Some people mentioned multicast/broadcast packages may be a reason for high wifi wakelocks. I traced the network, but nothing of the sort occurs.
Any ideas?
Thank you
Wakelock detector will link the wakelocks to the specific apps

Idle is draining battery

Hello,
I have the following Problem, while in Idle the phone is consuming so much battery, any help ?
push
Which ROM release are you on?
I am on Stock Rom and have the latest ota 15.07
dafuq2111 said:
Hello,
I have the following Problem, while in Idle the phone is consuming so much battery, any help ?
Click to expand...
Click to collapse
There are quite a few threads on this already including what I wrote (pasted below).
<<<<
I had two types of standby battery drain - mobile data and wifi. I have fixed both of them through lots of trial and error. From my testing and looking on XDA at similar experiences of people on other phones, these are bugs in Android rather than anything Elephone can fix through updates (I'm on the latest 20160419 update).
I fixed the mobile data problem by creating Tasker profiles to keep the phone on 2G whilst it's connected to wifi. I can't post links yet but a search on XDA/Google will find you these profiles. Maintaining a 4G connection is unnecessary whilst on wifi, besides, some people have problems receiving calls on this phone whilst on 4G. If the phone is not connected to wifi (rare in London because it's everywhere even on public transport) 4G comes on. Best of both worlds.
The wifi drain solution sounds counterintuitive but it is simply to set it to 'always on'. With both of these measures, my standby drain has been 1% overnight for the last two nights and roughly 0.25%/hour during the day. Standby drain on 4G whilst moving around London with location on at least quadruples battery drain to around 1-2%/hour.
Some of my other settings will have an impact too. I find the auto-brightness calibration of the P9000 poor, so adjust brightness manually (which also saves battery life). NFC, bluetooth, etc. I only turn on when needed. I use Greenify and have all apps Greenified except Tasker, Textra, and Hangouts. I haven't Greenified any system apps except Google Maps. Location is always on but mostly device only (again counterintuitive, you'd expect it to be 'battery saving') unless I am moving around in which case I have a Tasker profile to automatically switch it to 'high accuracy'.
I tried to get Xposed working so that I could use Amplify too (see my other post) but that didn't work. Since I'm very happy with battery life now that's not that important anymore though it would be nice for the further tweaks it makes possible.
There are too many other variables to list and everybody's phone is set up differently. However, hopefully using some of the main big gains I've listed above you can fix your wifi drain specifically and improve standby drain generally.
Well, it's somewhat problably what keeps the phone awake, this occurs after factory reset, i already did the Tricks you've listed and on screen Features and so on are all off, there are no Apps who should keep the phone awake Cause it's happening Straight after factory reset so there are no other Apps..
Push
Finger print sensor or DT2W for sure. Disable them
On the latest ROMs it is the finger print sensor. Turn it off or go back to 20160810

[Screenshots]: Battery drain overnight. Need help identifying wakelocks.

It's a stock T-Mobile LG G5. I get around 2-2.5h SOT. Overnight it drops the battery by 8-11%. There are 34 screenshots in the ZIP file below, showing GSAM Battery monitor and BetterBatteryStats data. I've never used BetteryBatteryStats before so if someone could help me identify the culprit I'd greatly appreciate that.
The signal strength is excellent and the always-on display is disabled. The bluetooth and GPS are always enabled. I should mention that last week I put the phone in Airplane mode and the drain stopped, but obviously it's not a solution.
1.) why do you know, that the gsm signal is excellent? Because you can see 5 stripes in the notification bar? That is not real! I can see 5 stripes too, but this at 15 ASU.
But 100% signal is = 30 ASU! So this result can differ even you believe you can see 100 signal quality.
2.) my system is running on 20p. No BT and no Wlan (no NFC) with 8% for 24Std. (150 user apps installed)
3.) wifi and G-Mail polling sucks much battery power too! you should switch it of to compare! or is it real necessary to be on over the night???
4.) what’s about the google fitness app? this app needs power to check the sensors.
5.) Twitter; Google; G-Mail; Fotos are syncing many times! You can see together more then 800 wake ups!
no wonder that this together will suck your battery empty!
i would suggest you to switch off BT and W.Lan over the night! This should spend a lot of battery power too! Same for syncing and background data traffic.
Try to use 3C Battery Monitor app. there you can see the power consumption every 10 min in the night.
read this too! -> https://forum.xda-developers.com/showpost.php?p=74381087&postcount=327
I have 55 ASUs, so the connection is not the problem. Last night it only drained by 1%. I had both Bluetooth and GPS enabled so I don't think they are the problem either. Twitter, Gmail also were enabled and they actually pulled and displayed some notifications, yet the drain was minimal.
What I think sometimes happens is Google app or Play Services goes crazy starts waking up the phone for no reason. Would you agree based on the screenshots? Or could it be some bug in the OS that does this?

Categories

Resources