[Android Q&A, Help & Troubleshooting] Vilx-:
Hello!

I'm sorry that my first post here is for something as petty as this, but I'm at my wits end. :(

I have an LG P500 (aka Optimus One) and for the last few months my battery life has literally halved or more. It used to be that I could get about 48h without charging with mild use and wifi constantly on. Now I can't even get 20h with NO use. The battery drain is about %5/h minimum. However, here's the catch - the high drain only happens when wifi is connected. If it's just on (but no network connected) - drain is low. If it's off, drain is below 1%/h.

What I've tried (none of these things have had an effect):

Totally discharging and totally charging;

Buying a new battery (original, not a clone);

Uninstall every possible app that might use the net;

Reinstall firmware (with original LG software, which didn't clear my settings or custom installed apps, so I guess it's not a complete reinstall);

Use BetterBatteryStats to see what is causing much awake time (more on this later - the results are utterly confusing);

Use Network Log to see what's using the net (nothing! There are barely a few dozen packets per hour)

Now, the BetterBatteryStats is where it gets confusing. Here's the log:

===================
General Information
===================
BetterBatteryStats version: 1.12.2.0
Creation Date: 2013-04-12 09:33:53
Statistic Type: Unplugged to Current
Since 1 h 9 m 8 s
VERSION.RELEASE: 2.3.3
BRAND: lge
DEVICE: thunderg
MANUFACTURER: LGE
MODEL: LG-P500
OS.VERSION: 2.6.35.10-perf
BOOTLOADER: unknown
HARDWARE: thunderg
FINGERPRINT: lge/thunderg/thunderg:2.3.3/GRI40/LG-P500-V20d.19D35B330B:user/ota-rel-keys,release-keys
ID: GRI40
TAGS: test-keys
USER: michael.morozkov
PRODUCT: thunderg
RADIO: unknown
Rooted: true
============
Battery Info
============
Level lost [%]: -6 Bat.: -6% (100% to 94%) [5.2%/h]
Voltage lost [mV]: 0 (4-4) [0.0%/h]
===========
Other Usage
===========
Deep Sleep (): 1 h 21 s (3621 s) Ratio: 87.3%
Awake (): 8 m 47 s (527 s) Ratio: 12.7%
Screen On (): 3 m 51 s (231 s) Ratio: 5.6%
Wifi On (): 1 h 9 m 8 s (4148 s) Ratio: 100.0%
Wifi Running (): 1 h 9 m 8 s (4148 s) Ratio: 100.0%
No Data Connection (): 1 h 9 m 8 s (4148 s) Ratio: 100.0%
No or Unknown Signal (): 1 h 9 m 8 s (4148 s) Ratio: 100.0%
Screen dark (): 15 s (15 s) Ratio: 0.4%
Screen dimmed (): 4 s (4 s) Ratio: 0.1%
Screen medium (): 3 m 31 s (211 s) Ratio: 5.1%
=========
Wakelocks
=========
AlarmManager (Android System): 13 m 19 s (799 s) Count:105 19.3%
*wifi* (Android System): 9 m 45 s (585 s) Count:17 14.1%
SyncManagerHandleSyncAlarm (Android System): 48 s (48 s) Count:2 1.2%
BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 11 s (11 s) Count:6 0.3%
ActivityManager-Launch (Android System): 6 s (6 s) Count:28 0.2%
*sync* (com.google.android.gm.Gmail): 5 s (5 s) Count:1 0.1%
MAIL_SERVICE (com.exmailfree.ExMail): 3 s (3 s) Count:7 0.1%
sleep_broadcast (Android System): 1 s (1 s) Count:10 0.0%
================
Kernel Wakelocks
================
"PowerManagerService" (): 3 m 52 s (232 s) Cnt:(c/wc/ec)108/0/0 5.6%
"dhd_wake_lock" (): 18 s (18 s) Cnt:(c/wc/ec)80/0/81 0.5%
"alarm_rtc" (): 10 s (10 s) Cnt:(c/wc/ec)23/0/3 0.0%
"mmc_delayed_work" (): 9 s (9 s) Cnt:(c/wc/ec)332/0/0 0.2%
"rpcrotuer_smd_xprt" (): 5 s (5 s) Cnt:(c/wc/ec)10248/35/0 0.1%
"dhd_watchdog_thread" (): 2 s (2 s) Cnt:(c/wc/ec)52224/199/0 0.1%
"alarm" (): 1 s (1 s) Cnt:(c/wc/ec)78/0/0 0.0%
"WLAN_HOST_WAKE_RESUME" (): (0 s) Cnt:(c/wc/ec)237/0/0 0.0%
"gpio_kp" (): (0 s) Cnt:(c/wc/ec)8/2/0 0.0%
"KeyEvents" (): (0 s) Cnt:(c/wc/ec)1848/0/0 0.0%
"dhd_dpc_thread" (): (0 s) Cnt:(c/wc/ec)79/0/0 0.0%
"qcril" (): (0 s) Cnt:(c/wc/ec)212/0/0 0.0%
"rpc_server" (): (0 s) Cnt:(c/wc/ec)295/0/0 0.0%
"deleted_wake_locks" (): (0 s) Cnt:(c/wc/ec)417/0/0 0.0%
"rpc-interface" (): (0 s) Cnt:(c/wc/ec)3/0/0 0.0%
"GPS" (): (0 s) Cnt:(c/wc/ec)3/0/0 0.0%
======================
Alarms (requires root)
======================
com.google.android.gsf (): Wakeups: 7
Alarms: 0, Intent: com.google.android.intent.action.GTALK_RECONNECT
Alarms: 5, Intent: com.google.android.intent.action.GTALK_HEARTBEAT

com.google.android.apps.maps (): Wakeups: 5
Alarms: 5, Intent: com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService

com.exmailfree (): Wakeups: 5

android (): Wakeups: 4
Alarms: 0, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD
Alarms: 53, Intent: android.intent.action.TIME_TICK
Alarms: 7, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 2, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 2, Intent: android.content.syncmanager.SYNC_ALARM

======================
Network (requires root)
======================
==========
CPU States
==========
245.76 MHz (): 6 m 56 s 10.0%
320 MHz (): 3 s 0.1%
480 MHz (): 11 s 0.3%
600 MHz (): 1 m 36 s 2.3%
Deep Sleep (): 1 h 21 s 87.3%
==================
Reference overview
==================
Custom: null
Since charged: Reference ref_charged created 4 h 39 m 54 s (Wl: 2 elements; KWl: 39elements; NetS: 0 elements; Alrm: 6 elements; Proc: 0 elements; Oth: 6 elements; CPU: 5 elements)
Since screen off: Reference ref_screen_off created 5 h 21 m 32 s (Wl: 6 elements; KWl: 42elements; NetS: 0 elements; Alrm: 7 elements; Proc: 0 elements; Oth: 10 elements; CPU: 5 elements)
Since unplugged: Reference ref_unplugged created 4 h 39 m 49 s (Wl: 0 elements; KWl: 39elements; NetS: 0 elements; Alrm: 6 elements; Proc: 0 elements; Oth: 6 elements; CPU: 5 elements)
Since boot: Reference ref_boot created 1 m 27 s (Wl: 0 elements; KWl: 8elements; NetS: 0 elements; Alrm: 2 elements; Proc: 0 elements; Oth: 0 elements; CPU: 4 elements)

And here's a screenshot of phone's default battery stat app:

The confusing thing is that BBS says that "Awake (): 8 m 47 s", while the screenshot clearly shows a much larger percentage of being awake.

Also, the top two apps on Partial Wakelocks are always "*wifi*" and "Alarm Manager". I have no idea what "*wifi*" is and I cannot find any information about it either (but it seems very suspicious). Alarm Manager shows some alarms, but nothing that should cause that sort of drain.

So, that's my story... can anyone help me with any ideas or hints of what to do?

My next idea is to completely wipe and reinstall the phone, but that's a bit drastic, so I'm keeping that for the last.

Added: One more thing I forgot to add: I don't know if this is related or not, but it started at about the same time - wifi as such seems to have become a bit more unstable too. It occasionally gets "stuck" of sorts. If it was connected to a network at that time, then it shows being connected to that network even though I'm miles away already. Or, if it wasn't connected, then it isn't connecting to any networks either, even when I'm right next to the wifi AP. To solve this I just need to disable and re-enable it.