yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] r33p:
Why kill mem? Its there to be used. Free mem is useless mem.

The most drain=screen,wifi,gps,maps,bt

sent from my phone using internet
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] panamamike:
I noticed maps seems to stay on a lot. Anyone know how to make sure it stays off when not in use?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] panamamike:
I'm not sure what value this message is supposed to provide. I've seen folks post that they can get 2 days or better out of the phone, if so what's wrong with wanting to do the same?

Also note that there are times when it's inconvenient to charge and I'd like to defer charging. I'm pretty much out of juice by end of day the work day, but would like to have a few more hours of battery left, having the phone on the charger all the time isn't always convenient.

Mike
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] a-k-t-w:
I understand if your phone is starting to go flat then you might want to start conserving battery, but if you have the ability to charge it then why not?

I agree with r33p. Using a task killer is possibly one of the worst things you can do to try and save battery. Using less memory does not save battery at all.

Also im not sure if this is true, but using a dark theme does not save battery as the backlight is still on, but screen is just 'hiding' it to create the black you see. So if anything it uses more battery.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] contofalso:
I tend to keep a widget on my home screen to turn off data, wifi, and bluetooth. I turn them on when I need them, turn the off the rest of the time. As long as you aren't doing heavy internet browsing on your phone, you should be able to get two days use out of it.

Hopefully we'll get some custom roms for these things so I can justify rooting my phone. Then I'll uninstall all of the stock apps I don't want, both to clean up my app screen and to hopefully stop some of those background processes I don't need.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] prinzhernan:
I must agree. Using a dark background does not save battery. That only works for oled or amoled based screen like the galaxy s series. Also they're right, don't use a task killer. Terminating apps just consumes more battery.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dimocash:
i can last 1,5 day without charging.

if i dont do anything special besides reading mail and answering a few whatsapp messages i do about 3-4% an hour. if i dont do anything at all, like at night, it uses 1-2% an hour.

1.screen is 35%

2.i have 3g on. sometimes i put it on 2g only

3. i dont know but i turn off wifi en bluetooth whenever i dont need it.

4. i use bluetooth in my car tot connect my phone with my car. unfortunately this uses a lot of battery by being just connected.

5. i kill the popgames, this uses a lot of battery

6. most times i let the battery go empty and only then start charging with the powerconnector, not through usb with a computer.

7. i dont have exchange but imap push email and another account pop3 which connects once every hour. i use the app k9mail

last weekend i did 2,5 day but i was abroad and didnt have roaming data and turned off wifi en bluetooth.

i did 1% a hour except when i was driving and connected my phone to my car.

but still 2,5 day
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] panamamike:
Does 2g only save battery over wifi and 3g? If so, is it sufficient for e-mail?

Mike
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] H a R 0:
I normally put all of my most used widgets on the front page for quick access :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] r33p:
3g or wifi pref. 2g is painfully slow.

Yea and forget appkillers,delete the apks or freeze the unwanted services.

The tricky part - what (not) to delete. :D

sent from my phone using internet
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] a-k-t-w:
You need root to do that, however.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dimocash:
yes 2g saves battery

i was told that because of the continues switchting between G, 3G and H the battery consumes a lot of energy.

when you put it on 3g only or 2g only it saves battery.

becasue i dont have 3g everywhere i go i put it on 2g so that i can make calls everywhere i am.

if i need to do some things on the internet i switch it back to 3g.

2g is enough to recieve mail and whatsapp messages.

my mail wont come in as fast as wifi or 3g but that doesnt matter to me.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] panamamike:
How do you set it to H only? Is this via WCDMA only?

I'd love to drop the bloatware, but want a clean root option that won't affect functionality.

Mike
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Smiley76:
I have about 2 days. Currently I'm on 82% 12h since charge. My experience:

1. I keep 3G switched off most of the time when I'm outside. Only if I really need the speed for uploading a photo or update an app.

2. I keep Wifi running all the time at home.

3. I have disabled Location&Security both Use network and GPS. These seems to drain battery even if maps and latitude is disabled.

4. In the carrier settings I have disabled automatic mode and going for manual mode and selected my carrier.

5. I always use the back button on any app until I reach the home screen before locking.

My idle drain is about 1.5-2%/h when I'm at home with wifi. Outside with 2G it's draining a bit more and with 3G it uses insanely much battery.

I have lot of push services running (fb/g+/twitter-notifications, Whatsapp and gmail + an Exchange account)

I have also noticed that the battery calibration is a bit flaky. From time to time I run the phone until it dies (sometimes at 8-10% but sometimes at 30%). Then I'm unplugging the battery for a minute, plug it back and charge and it have calibrated and doesn't die at 30%.

Another thing I have noticed is that I can't get more than 4172mV charge. The battery should be able to charge to 4200mV.

Two good apps for monitoring battery usage is BetterBatteryStats and Battery Monitor Widget (which is more than just a widget)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] H a R 0:
do you guys charge till it reaches 100% or just till it turns green?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Smiley76:
thats one other discovery I have made.

when the phone says 100% it's actually still charging (can be seen that there is a charge indicator at the battery and also can be seen from Battery Monitor Widget)

Another thing is that when it has reached 100% it starts to drain battery until it reaches 95% then it starts to charge again. (nothing uncommon with that) but the phone still shows 100% so sometimes when it's unplugged it can actually be at 95% (but starts to countdown from 100%).

Battery Monitor Widget can alert when it's actually fully charged with a notification.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dimocash:
i just change it from GSM/UMTS to GSM only

i have a dutch language installed so i dont really know what the exact english translation is.
[G Tablet Q&A, Help & Troubleshooting] markmac:
Not sure if anyone else has seen this issue. I have been having Wifi issues with almost all GB ROMs. Wifi will be working fine then just drop off and reconnect randomly. This happens while I am using it and not while sleeping. I have confirmed this with Vegan 7.1, GHarmony, and the Flash* version from Slatedroid. I do not remember having this issue with CM7, but didn't like the ROM so I changed. I really want to switch to GB but this is a show stopper. Anyone thoughts?
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Update to the latest Pershoot kernel. That has some fixes for this.

If the problem still persists, try downgrading your WiFi firmware blobs.

Note, however, that the causes of WiFi drops are many. Some troubleshooting will be needed to find out the exact cause of your problem.
[G Tablet Q&A, Help & Troubleshooting] markmac:
Thanks for the recommendations. I tried newer kernel and downgrading the Wifi blobs. Still no go. The odd thing is this only happens with GB ROMs, all Froyo ROMs are fine, and it seems to be limited to my home Wifi, which is WPA/WPA2, at work with LEAP it doesn't happen. Going to try changing some settings on my WIFI this weekend. To compare Flashpoint from Slatedroid works fine, but the GB version Flashlight has the problem. Also going to try the older Vegan 7 on 1.2 bootloader, i don't remember this happening on that or CM7 build 86.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
See if this helps: It doesn't.

$ [B]su[/B]
# [B]wpa_cli -i wlan0 driver setsuspendopt 1[/B]
[I]Wait 15 secs[/I]
# [B]wpa_cli -i wlan0 driver setsuspendopt 0[/B]
[G Tablet Q&A, Help & Troubleshooting] gtabowner:
Sorry most of this is greek to me as I am a NOOB. Have Gtab 3588 1.1 vegan 7.?

all of a sudden I can't connect to wifi, all my other devices at home work fine. Getting a disabled connection from home, have tried re-adding, rebooting, reseting rom, reinstalling Vegan.

I sorry I need step by step help

thx Jaye
[G Tablet Q&A, Help & Troubleshooting] dav_t:
I think it has to do with the AES encryption key updates and the gingerbread wifi libs. Take a look at this post to see how you can change your router settings to prevent or minimize this.

http://xdaforums.com/showpost.php?p=18035185&postcount=144
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Exact version?

As I said in post #2, above:

However, you can:

1. Try upgrading to the latest pershoot kernel. Since you're on Vegan 7 (a Gingerbread ROM) and the 1.1 bootloader, go to http://droidbasement.com/db-blog/ and download this file boot-cm_2632.46_gb-oc-uv-xtra-vfp_fp-083111.zip from there. Copy the zip file onto your gtab, then install it using CWM.

2. If the upgraded kernel doesn't help try downgrading the firmware blobs using the link in post #2. Use the Cyanogenmod zip file.

3. If neither of the 2 steps above work, then follow this post and get me some logs.
[G Tablet Q&A, Help & Troubleshooting] markmac:
As i thought,i have tried Vegan 7.0 and the problem is not occuring. I did have an issue with the new market but i just rolled back to original and removed the market updater. Seems like the issue is related to the 2.3.5 versions of ROMs.
[G Tablet Q&A, Help & Troubleshooting] gtabowner:
will try this today

Thank you again. when I can get in I will find out what exact Vegan and such i am using. What info do you need? and exactly where do I find it. It says 7.0.0 when booting up

Thank you all again.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Fine, then you have a Gingerbread ROM. Just follow the instructions in post #7, above, and see if each step helps.

If steps 1. and 2. don't help you, use the instructions in the link in step 3. to get me logs which will help me troubleshoot your problem.
[G Tablet Q&A, Help & Troubleshooting] januszk:
HI,

I hope this thread is still active as I'm having very similar issue. It has started 2-3 weeks after I got my gTablet and flashed it. The usual scenario is this:

1. Reboot

2. Immediate connection to wifi

3. Starting using internet - immediate disconnect

4. After several minutes of constant connect/disconnect finally connected

5. From now it works for a few minutes, then disconnect, then reconnects, works again, disconnects again etc.

What I have already tried:

1. Changing wifi channel - no difference

2. Changing security (wpa, wep, none) - no difference

2. Downgrading blobs - no difference

3. Installing new kernel - that seem to stabilize reconnection (it reconnects more often and more reliable)

At home I'm runnig netgear WNDR3300 router with ddwrt installed. I've also tried public RoadRunner access point in the gym but the result is the same.

I'm starting to think it is a hardware problem but would like somebody to verify that. Any help greatly appreciated. Log files are attached.

Thanks,

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
1. As per the logs your access point seems to be returning an invalid lease time (-1 seconds). Change the DHCP lease time to 3600 seconds (1 hour) and get me another set of logs.

2. Why does your Netgear wireless router broadcast 2 SSIDs, "PL" and "PLN" ?
[G Tablet Q&A, Help & Troubleshooting] januszk:
My DHCP lease time was set to set to 1440 minutes (minutes is the only available unit here). I don't remember changing that so it must be a default one. I can change it to 60 minutes and rerun logs.

My router has 2 radios. I need to keep WEP encryption for my linksys internet radios that don't support WPA. Originally I only had one radio turned on with WEP but once I started getting problems with gtablet I played with different settings. Now I'm running both radios. PLN is WPA encrypted with G only connection on channel 11 and PL is WPA b/g on channel 4. They don't interfere with each other and turning one of them off or on didn't make a difference for gTablet.

Janusz
[G Tablet Q&A, Help & Troubleshooting] januszk:
New set of logs after chaning DHCP lease time to 60 minutes. Disconnects seem to be less frequent and they reconnect almost immediately. My previous post should say that PL radio is set to WEP, not WPA.

Thanks a lot,

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Change the WPA Group Rekey Interval to a different value (I have it set to 1800 seconds) then reboot both the router and the gTablet. The new set of logs show that the gTab is having trouble connecting to the Netgear.

See also this post for another setting which you can try tweaking.
[G Tablet Q&A, Help & Troubleshooting] januszk:
Done. Was set to max 99999. Still disconnects, hard to say if less or more often then before (although works way better then yesterday). New logs attached.

Thanks,

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
The latest set of logs show that the gTablet is still having problems connecting to the Netgear router:

gTablet$ [B]su[/B]
gTablet# [B]logcat -d -v time | egrep -i 'connectivity|dhcp|wpa|wifi|wlan'[/B]
...
10-21 12:51:13.406 E/ConnectivityService( 1048): Attempt to connect to WIFI failed.
...

I also see that the tablet is trying to connect to SSID 'PLN'. The first set of logs had it connecting to SSID 'PL'.

Suggestions:

1. Go back to the default values for Wireless LAN Settings on the wireless router--except for the ones we changed in this thread.

2. Delete the WiFi connection from the gTablet, reboot, then set up a new connection (only for SSID 'PLN').

3. For this new connection, set the no. of channels to 11 channels--ie US channel settings. (Advanced WiFi settings)

4. Turn off any "Network Notification" in WiFi settings.

5. Go back to the stock firmware on the wireless router instead of dd-wrt.

It's still disconnecting pretty regularly. Subjective judgements can be erroneous, so use the script (attached) that I use to check these things. After making the script (which needs busybox) executable and moving it into /data/local/bin, run it like this inside a Terminal Emulator window:

gTablet$ [B]dmesg | d.awk[/B]
[63636.011275] STA connect received 1
[66204.696828] STA connect received 1: 42m 48s

You can also pass one of the previously collected dmesg*.txt files through the script:

gTablet$ [B]d.awk /mnt/sdcard/dmesg2.txt[/B]
<4>[ 33.513973] STA connect received 1
<4>[ 215.890648] STA connect received 1: 3m 2s
<4>[ 396.218500] STA connect received 1: 3m 0s
<4>[ 576.546805] STA connect received 1: 3m 0s
<4>[ 757.899052] STA connect received 1: 3m 1s
<4>[ 938.227396] STA connect received 1: 3m 0s
[G Tablet Q&A, Help & Troubleshooting] januszk:
Thanks a lot. I'll try some of those. I'll get my tablet to one of my friends to see if this will work better with other routers. I've already tried leaving only PLN connection but it didn't make any difference. The reason why latest logs were primarily PLN were because if "forgot" settings for PL. You have suggested to change WPA key renewal and this setting is only for PLN, thats why I removed PL, which is WEP. I may try resetting to defaults but I don't really want to go back to stock firmware as it has been reported by many as buggy and unstable. Its dd-wrt that puts new lifie into it. I have the whole bunch of other wifi devices at home and everything works perfectly.

I'll also give your script a try to see where I stand at.

BTW: Do you think it may be hardware problem? I don't think the BT/WIFI module is easily replacable without replacing the whole motherboard.

In the meantime I really appreciate your help so how can I buy you a beer?

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Nothing in the logs indicate that this is hardware-caused. Other people, including me, have faced this before without hardware issues, so it is very likely a software problem. Our gTablet does not work well with some kinds of wireless routers. I have a software fix working on my gTab which I am in the process of testing. I'll send it upstream after I'm satisfied that it doesn't inadvertently break other things.

Make a donation to your favourite charity instead--or buy a beer for a friend.
[G Tablet Q&A, Help & Troubleshooting] januszk:
OK, will do :-)

I've installed your custom awk script. Disconnects are every few minutes or so, well I'll live with it for now and try another router. When you have your fix ready sign me up for a beta testing.

Thanks again,

Janusz
[G Tablet Q&A, Help & Troubleshooting] januszk:
Hi rajeevvp,

In case you have a spare few minutes. I took my gTablet to my daughter swimming classes and tried to connect to public AP there. It's open network but you need to login with RoadRunner (our ISP) username and password. In the log you can find it as Brighthouse. It connected right away (about 7:05 PM) and for testing purposes I played some YouTube videos. It lasted maybe a minute or so and then it disconnected. I've tried several attempts to switch WiFi on and off but it maybe connected once more for a very short period. I was there for an hour, most of the time it remained disconnected. It tried to connect throught the whole time but did not succeeded. I never had problems connecting to this AP from my phone or ipod. Logs are attached. Maybe it will help to investigate where there problem might be.

Thanks,

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
I'll look into this over the weekend.
[G Tablet Q&A, Help & Troubleshooting] januszk:
Thanks. Can you give me a few clues of what to look for in those logs (or any other for that matter) so I don't need to bother you every time I change something? I know how to run a thing or to on unix based system but I'm not a network expert so I can't figure that out on my own.

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
The commands I use I've already given in previous posts.

The dmesg.txt file will have the kernel messages, but, since no hardware problem is indicated, we need not scrutinize that file very hard.

The logcat.txt file which contains the Android logs is more relevant for troubleshooting this WiFi problem. The command to use to look for WiFi-related errors are given in post #17. If we use that command on your latest logcat file, we get:

From the "misformatted scan result" error message we can see right away that there is some trouble. And by correlating the time 19:05 and looking up the MAC OUI identifiers, I can see that it happened at the location you mentioned and not at home.

Since you said your other devices were working correctly at the same time, it might be that the WiFi-related programs on the ROM are slightly finicky when dealing with marginal WiFi data. So, copy the attached wpa_supplicant from CM-7.1.0.1 to /system/bin (rename the original one to wpa_supplicant.orig first), set the correct owner/group/permissions, then reboot the tablet. See if there is any improvement.
[G Tablet Q&A, Help & Troubleshooting] januszk:
I've tried the file you supplied but it didn't seem to make any difference. Actually there are more problems connecting now but it may have just be a coincident. The originall wpa_supplient and the one from your post are of the size so they may actually be the same version as well. I couldn not try this against the Brighthouse AP but I did that at home. I've run my second radio (PL) without any security but that didn't seem to make any difference. Now the most common error is:

10-29 15:30:17.175 V/WifiMonitor( 1049): Event [Authentication with c0:3f:0e:57:47:0d timed out.]

Tablet is having problems connecting at all. Log filtered out for connection isssues is attached.

Thanks,

Janusz
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
That has been the case since the second log set. Only the first set was OK.

Get me screenshots of all the LAN- and WLAN-related settings (incl. any Advanced ones) on both your Netgear and the gTablet. Cross out any sensitive info like usernames/passwords then attach everything here. Also attach your wpa_supplicant.conf file. To find out the location of your wpa_supplicant.conf do this:

gTablet$ [B]busybox ps | fgrep wpa_supplicant[/B]
1892 1010 0:02 /system/bin/wpa_supplicant -D wext -i wlan0 -c[B]/data/misc/wifi/wpa_supplicant.conf[/B] -iwlan0
26366 root 0:00 fgrep wpa_supplicant

Here's my wpa_supplicant.conf after the pre-shared key (psk="...") has been crossed out:

gTablet$ [B]su[/B]
gTablet# [B]cat /data/misc/wifi/wpa_supplicant.conf[/B]
ctrl_interface=wlan0
update_config=1

network={
ssid="Wireless@Home"
psk="xxxxxxxxxxxxxxxxxx"
key_mgmt=WPA-PSK
priority=8
}

Don't filter out anything--I can do that here. Just send both logs as before. In fact, a better way of collecting logs is outlined in this post: Keep 2 windows open. In one run "adb logcat ..." as indicated and keep collecting the Android log. In the other window, use another adb session (you can have multiple adb sessions to an Android device) to keep up a running commentary instead of painfully typing into a Terminal Emulator as mentioned there and to collect the dmesg output. Use "adb shell cmd ".
[G Tablet Q&A, Help & Troubleshooting] januszk:
Thanks. I'll do logs and settings as soon as I have a chance. As for wpa_supplicant conf mine looks just like your with the exception of priority. See below (this is typed in so I may do some misspelling):

ctrl_interface=wlan0

update_config=1

network={

ssid="PLN"

psk="XXXXXXXXXXXXXXXXX"

key_mgmt=WPA-PSK

priority=3

}
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
So, your gTab will try to use PLN by default. Is the pre-shared key the same as that on the Netgear?
[G Tablet Q&A, Help & Troubleshooting] januszk:
Yes, and it even connects occasionally, like this morning. Connection stayed long enough to download emails and read some news.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Where did you get the WLAN firmware blobs (fw_bcm4329*.bin) from? You have an unusual version: 4.218.248.6.

For your kernel (pershoot 2.6.32.46-cyanogenmod) they should be: 4.218.248.18.

If you downgraded the blobs using my zip file, they should be: 4.218.223.1 (what VS supplies)

How come your firmware blobs were not updated when you flashed the new kernel? Are you on a Honeycomb ROM?
[G Tablet Q&A, Help & Troubleshooting] januszk:
Before checking just a minute ago I thought those were blobs that came with the rom. I'm running ginger Vegan 7.1.0. I've tried downgrading to older version of blobs but since that didn't make any difference I restored the original one. I can try to install new kernel one more time. Is there anything that I should do after installing new kernel with CWM? How do I check for blobs version?
[G Tablet Q&A, Help & Troubleshooting] januszk:
Router settings are attached. I think I've covered everything. If there is something missing let me know and I'll update. Sorry for large file but I thought print screens will be the best option to see the settings relatively easy (copy/paste didn't work that well). As for gTab settings there is nothing in particular. Regulatory domain is set to 11 channels, WI-FI sleep policy to never and I'm not using Static IP. I've only one known network PLN.

Janusz