[Optimus One, P500 Original Android Development] vaddimka:
It's my wife's phone and rebooting/drain seem to be present only when outdoors. I've managed to take 'adb bugreport' log and it looks like wireless module is the cause of the reboots. Dereferencing NULL pointer in wireless module leads to kernel panic.

I have a full log (more than 4MB is size), there are some suspicious lines from it:

[ 3777.235851] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.236055] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.236401] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.236606] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.236955] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.237161] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.237511] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.237716] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.238066] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.238273] dhdsdio_isr : bus is down. we have nothing to do
[ 3777.376388] [RR] - ver=1 type=1 src=0:00000001 crx=0 siz=44 dst=1:dd0911a0
[ 3777.377010] [RPC] READ on ept dd0911a0
[ 3777.377300] [RPC] READ on ept dd0911a0 (40 bytes)
[ 3777.377682] [RPC] REPLY to xid=12050 @ 0:00000001 (24 bytes)
[ 3777.378057] [RPC] Writing 24 bytes, max pkt size is 500
[ 3777.378420] [RPC] Wrote 60 bytes First 1 Last 1 mid 176
[ 3777.378855] [RR] - ver=1 type=7 src=0:fffffffe crx=0 siz=20 dst=1:fffffffe
[ 3777.379127] [RR] o RESUME_TX id=0:00000001
[ 3777.395510] **** DPM device timeout: msm_sdcc.2 (msm_sdcc)
[ 3777.395703] pgd = c0004000
[ 3777.395876] [00000000] *pgd=00000000
[ 3777.396351] >>>>>
[ 3777.396520] Internal error: NULL dereference at virtual address 00000000: 817 [#1] PREEMPT
[ 3777.396841] last sysfs file: /sys/devices/platform/msm-battery/power_supply/battery/technology
[ 3777.397018] Modules linked in: wireless
[ 3777.397655] CPU: 0 Not tainted (2.6.35.10-perf+cm10 #1)
[ 3777.397830] <<<<<
[ 3777.398008] pc : [<c0293bd0>] lr : [<c0293bcc>] psr: 60000013
[ 3777.398018] sp : d52f7e08 ip : 0000000c fp : 00000000
[ 3777.398655] r10: c0293ba4 r9 : 0000000a r8 : c064ec08
[ 3777.398980] r7 : 00000103 r6 : d52f6000 r5 : d52f6000 r4 : c0714c00
[ 3777.399156] r3 : 00000000 r2 : d52f7dfc r1 : c05a456f r0 : 00000044
[ 3777.399481] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 3777.399806] Control: 00c5387d Table: 2e188008 DAC: 00000017
[ 3777.399980]
[ 3777.399985] PC: 0xc0293b50:
[ 3777.400308] 3b50 e5933000 e3530000 012fff1e e5d03050 e2033004 e6ef3073 e3530000 012fff1e
[ 3777.402071] 3b70 e2800060 ea0915c4 c065577c e5d03050 e1a00001 e1a03123 e2031001 eaffffea
[ 3777.403698] 3b90 e92d4008 e5d11000 ebffffe7 e3a00000 e8bd8008 e92d4008 e590102c e5903044
[ 3777.405473] 3bb0 e3510000 05901008 e3530000 e59f0014 15932000 059f2010 eb090119 e3a03000
[ 3777.407116] 3bd0 e5833000 eafffffd c05a456f c05a4565 e92d4073 e1a05000 e1a00001 e1a04002
[ 3777.408893] 3bf0 e1a06003 ebffffa5 e5951008 e1a03004 e58d6000 e1a02000 e59f0004 eb090108
[ 3777.410655] 3c10 e8bd807c c05a4594 e59f30c8 e92d41f3 e1a08002 e1c320d0 e3a04000 e3a05902
[ 3777.412423] 3c30 e0022004 e0033005 e1a07001 e1921003 e1a06000 0a000026 e59f309c e3a04a01
[ 3777.414053]
[ 3777.414058] LR: 0xc0293b4c:
[ 3777.414528] 3b4c e59f3024 e5933000 e3530000 012fff1e e5d03050 e2033004 e6ef3073 e3530000
[ 3777.416156] 3b6c 012fff1e e2800060 ea0915c4 c065577c e5d03050 e1a00001 e1a03123 e2031001
[ 3777.417943] 3b8c eaffffea e92d4008 e5d11000 ebffffe7 e3a00000 e8bd8008 e92d4008 e590102c
[ 3777.419721] 3bac e5903044 e3510000 05901008 e3530000 e59f0014 15932000 059f2010 eb090119
[ 3777.421503] 3bcc e3a03000 e5833000 eafffffd c05a456f c05a4565 e92d4073 e1a05000 e1a00001
[ 3777.423146] 3bec e1a04002 e1a06003 ebffffa5 e5951008 e1a03004 e58d6000 e1a02000 e59f0004
[ 3777.424920] 3c0c eb090108 e8bd807c c05a4594 e59f30c8 e92d41f3 e1a08002 e1c320d0 e3a04000
[ 3777.426681] 3c2c e3a05902 e0022004 e0033005 e1a07001 e1921003 e1a06000 0a000026 e59f309c
[ 3777.428320]
[ 3777.428325] SP: 0xd52f7d88:
[ 3777.428796] 7d88 00000000 205b4280 37373733 3539332e 5d303135 00000020 18704280 00000ec1
[ 3777.430551] 7da8 c0655618 ffffffff d52f7df4 d52f6000 00000103 c002e94c 00000044 c05a456f
[ 3777.432173] 7dc8 d52f7dfc 00000000 c0714c00 d52f6000 d52f6000 00000103 c064ec08 0000000a
[ 3777.433926] 7de8 c0293ba4 00000000 0000000c d52f7e08 c0293bcc c0293bd0 60000013 ffffffff
[ 3777.435683] 7e08 00000000 c00ace04 d52f6000 7fffffff d500ebdc d500ebdc d52f7e54 00000001
[ 3777.437346] 7e28 00000004 d52f6000 c0714ac4 00000103 c0714aa0 c00a6f08 d92f101c c0040be4
[ 3777.439125] 7e48 00000000 00000001 00000008 00000008 00000000 60000113 00000002 00000001
[ 3777.440893] 7e68 d52f6000 00000000 d92f101c c00a7344 00000000 c002e070 a0000113 ffffffff
[ 3777.442520]
[ 3777.442523] R1: 0xc05a44ef:
[ 3777.442851] 44ec 7665642f 2e736572 333c0063 2073253e 203a7325 6c696166 74206465 6c61206f
[ 3777.444603] 450c 61636f6c 63206574 7373616c 6e6f6320 6e696174 000a7265 65657266 7100657a
[ 3777.446243] 452c 73656975 68006563 72656269 6574616e 61687400 65720077 726f7473 65720065
[ 3777.448021] 454c 65766f63 75280072 6f6e6b6e 50206e77 7665204d 29746e65 206f6e00 76697264
[ 3777.449803] 456c 3c007265 2a2a3e30 44202a2a 64204d50 63697665 69742065 756f656d 25203a74
[ 3777.451438] 458c 25282073 000a2973 503e333c 44203a4d 63697665 73252065 69616620 2064656c
[ 3777.453070] 45ac 25206f74 3a732573 72726520 2520726f 2c000a64 79616d20 6b617720 00707565
[ 3777.454826] 45cc 253e373c 73252073 7325203a 73257325 363c000a 6c61633e 676e696c 73252020
[ 3777.456580] 45ec 2040202b 000a6925 633e363c 206c6c61 202b7325 75746572 64656e72 20642520
[ 3777.458350]
[ 3777.458355] R2: 0xd52f7d7c:
[ 3777.458685] 7d7c 0000000f d52f7d9d c00a2e90 00000000 205b4280 37373733 3539332e 5d303135
[ 3777.460305] 7d9c 00000020 18704280 00000ec1 c0655618 ffffffff d52f7df4 d52f6000 00000103
[ 3777.461930] 7dbc c002e94c 00000044 c05a456f d52f7dfc 00000000 c0714c00 d52f6000 d52f6000
[ 3777.463705] 7ddc 00000103 c064ec08 0000000a c0293ba4 00000000 0000000c d52f7e08 c0293bcc
[ 3777.465475] 7dfc c0293bd0 60000013 ffffffff 00000000 c00ace04 d52f6000 7fffffff d500ebdc
[ 3777.467245] 7e1c d500ebdc d52f7e54 00000001 00000004 d52f6000 c0714ac4 00000103 c0714aa0
[ 3777.468861] 7e3c c00a6f08 d92f101c c0040be4 00000000 00000001 00000008 00000008 00000000
[ 3777.470640] 7e5c 60000113 00000002 00000001 d52f6000 00000000 d92f101c c00a7344 00000000
[ 3777.472406]
[ 3777.472411] R4: 0xc0714b80:
[ 3777.472733] 4b80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.474488] 4ba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.476251] 4bc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.477858] 4be0 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000
[ 3777.479638] 4c00 00000000 00054e5e 00054a76 c0714c0c c0714c0c c0714c14 c0714c14 c0714c1c
[ 3777.481413] 4c20 c0714c1c c0714c24 c0714c24 c0714c2c c0714c2c c0714c34 c0714c34 c0714c3c
[ 3777.483013] 4c40 c0714c3c c0714c44 c0714c44 c0714c4c c0714c4c c0714c54 c0714c54 c0714c5c
[ 3777.484781] 4c60 c0714c5c c0714c64 c0714c64 c0714c6c c0714c6c c0714c74 c0714c74 c0714c7c
[ 3777.486560]
[ 3777.486565] R5: 0xd52f5f80:
[ 3777.486898] 5f80 00000000 00080001 0014de10 0014de40 00000036 c002ef08 d52f4000 00000000
[ 3777.488673] 5fa0 00100000 c0032430 001a6a58 c002edb0 fffffe00 c0186201 4bde9e20 4bde9e14
[ 3777.490438] 5fc0 001a6a58 0014de10 0014de40 00000036 4bce5f08 001a6c10 400c00ad 00100000
[ 3777.492078] 5fe0 40112f18 4bde9df8 4004c477 40038efc 00000010 0000000a 00000000 00000000
[ 3777.493843] 6000 00000000 00000105 00000000 d51949c0 c0653a60 00000000 00000017 d51949c0
[ 3777.495605] 6020 d52f6000 c06535d8 dd025620 00000000 dca73680 c0715fac d52f7e54 d52f7e28
[ 3777.497378] 6040 c04d8c6c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.499006] 6060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.500768]
[ 3777.500773] R6: 0xd52f5f80:
[ 3777.501100] 5f80 00000000 00080001 0014de10 0014de40 00000036 c002ef08 d52f4000 00000000
[ 3777.502865] 5fa0 00100000 c0032430 001a6a58 c002edb0 fffffe00 c0186201 4bde9e20 4bde9e14
[ 3777.504630] 5fc0 001a6a58 0014de10 0014de40 00000036 4bce5f08 001a6c10 400c00ad 00100000
[ 3777.506396] 5fe0 40112f18 4bde9df8 4004c477 40038efc 00000010 0000000a 00000000 00000000
[ 3777.508043] 6000 00000000 00000105 00000000 d51949c0 c0653a60 00000000 00000017 d51949c0
[ 3777.509816] 6020 d52f6000 c06535d8 dd025620 00000000 dca73680 c0715fac d52f7e54 d52f7e28
[ 3777.511583] 6040 c04d8c6c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.513311] 6060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.514923]
[ 3777.514928] R8: 0xc064eb88:
[ 3777.515396] eb88 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.517016] eba8 00000000 00000000 ffffffff 00000000 00000000 00000000 00000000 00000000
[ 3777.518776] ebc8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3777.520538] ebe8 00000000 00000000 00000003 c064ffac 00000000 00000000 c0579d67 00000002
[ 3777.522310] ec08 c066d710 dd041f80 dd03ec00 c0651d4c c064ecdc c066d718 dd01efa0 c066d588
[ 3777.523935] ec28 dd040a88 00000006 00000007 00000000 00000000 00000000 c064ec40 c064ec40
[ 3777.525546] ec48 c066d6d8 c067bffc c0650c80 00000000 00000000 00000004 c066d908 c064ed28
[ 3777.527313] ec68 00000000 c064ec6c c064ec6c 00000000 ffffffff 00000000 00000000 c064ec84
[ 3777.528956]
[ 3777.528961] R10: 0xc0293b24:
[ 3777.529433] 3b24 c05a453d c05a4542 c05a4524 c05a454a c05a4552 c05a6c9a e3500000 012fff1e
[ 3777.531208] 3b44 e3510000 1a000008 e59f3024 e5933000 e3530000 012fff1e e5d03050 e2033004
[ 3777.532833] 3b64 e6ef3073 e3530000 012fff1e e2800060 ea0915c4 c065577c e5d03050 e1a00001
[ 3777.534600] 3b84 e1a03123 e2031001 eaffffea e92d4008 e5d11000 ebffffe7 e3a00000 e8bd8008
[ 3777.536376] 3ba4 e92d4008 e590102c e5903044 e3510000 05901008 e3530000 e59f0014 15932000
[ 3777.537976] 3bc4 059f2010 eb090119 e3a03000 e5833000 eafffffd c05a456f c05a4565 e92d4073
[ 3777.539750] 3be4 e1a05000 e1a00001 e1a04002 e1a06003 ebffffa5 e5951008 e1a03004 e58d6000
[ 3777.541513] 3c04 e1a02000 e59f0004 eb090108 e8bd807c c05a4594 e59f30c8 e92d41f3 e1a08002
[ 3777.543261] Process ksdioirqd/mmc1 (pid: 475, stack limit = 0xd52f6268)
[ 3777.543441] Stack: (0xd52f7e08 to 0xd52f8000)
[ 3777.543773] 7e00: 00000000 c00ace04 d52f6000 7fffffff d500ebdc d500ebdc
[ 3777.543965] 7e20: d52f7e54 00000001 00000004 d52f6000 c0714ac4 00000103 c0714aa0 c00a6f08
[ 3777.544300] 7e40: d92f101c c0040be4 00000000 00000001 00000008 00000008 00000000 60000113
[ 3777.544633] 7e60: 00000002 00000001 d52f6000 00000000 d92f101c c00a7344 00000000 c002e070
[ 3777.544966] 7e80: a0000113 ffffffff fa000000 c002e9ac 00000000 01770000 dc81cdc0 00000474
[ 3777.545160] 7ea0: d52f7f24 dc81cc00 60000113 00000001 00000a00 00000a00 00000000 d92f101c
[ 3777.545494] 7ec0: 00054e5d d52f7ed8 c0379d84 c037c5ac a0000113 ffffffff d52f7f24 00000000
[ 3777.545828] 7ee0: dc81cc00 c036f0f0 00000000 c06535d8 d92f1000 d5194b24 119d57b7 00000000
[ 3777.546016] 7f00: d52f7f00 d52f7f00 dc81cd30 d52f7f4c dc81cc00 00000000 00000001 c036f1bc
[ 3777.546353] 7f20: c009c734 d52f7f4c 00000000 00000000 d52f7efc c036f1d0 00000a00 d52f7fab
[ 3777.546689] 7f40: dc81cc00 c0374d64 dc81cda4 00000034 00000a00 00000000 00000000 00000000
[ 3777.547024] 7f60: 00000000 00000195 00000000 00000000 00000000 d52f7f24 00000000 dc81cc00
[ 3777.547216] 7f80: d52f6000 d92f1000 7fffffff 00000008 00000002 c0376cac 00000000 d52f7fab
[ 3777.547551] 7fa0: d52f7fd4 00000001 06376bbc 00000001 00000013 dd085dc8 c0376bbc dc81cc00
[ 3777.547886] 7fc0: 00000013 00000000 00000000 00000000 00000000 c00b7370 00000000 00000000
[ 3777.548218] 7fe0: d52f7fe0 d52f7fe0 dd085dc8 c00b72f8 c002fdbc c002fdbc 00000000 00000000
[ 3777.548393] vvvvv
[ 3777.548579] Function entered at [<c0293bd0>] from [<c00ace04>]
[ 3777.548901] Function entered at [<c00ace04>] from [<c00a6f08>]
[ 3777.549076] Function entered at [<c00a6f08>] from [<c00a7344>]
[ 3777.549396] Function entered at [<c00a7344>] from [<c002e070>]
[ 3777.549576] Function entered at [<c002e070>] from [<c002e9ac>]
[ 3777.549896] Exception stack(0xd52f7e90 to 0xd52f7ed8)
[ 3777.550078] 7e80: 00000000 01770000 dc81cdc0 00000474
[ 3777.550413] 7ea0: d52f7f24 dc81cc00 60000113 00000001 00000a00 00000a00 00000000 d92f101c
[ 3777.550744] 7ec0: 00054e5d d52f7ed8 c0379d84 c037c5ac a0000113 ffffffff
[ 3777.550923] Function entered at [<c002e9ac>] from [<c037c5ac>]
[ 3777.551246] Function entered at [<c037c5ac>] from [<c036f0f0>]
[ 3777.551423] Function entered at [<c036f0f0>] from [<c036f1bc>]
[ 3777.551741] Function entered at [<c036f1bc>] from [<c0374d64>]
[ 3777.552061] Function entered at [<c0374d64>] from [<c0376cac>]
[ 3777.552241] Function entered at [<c0376cac>] from [<c00b7370>]
[ 3777.552563] Function entered at [<c00b7370>] from [<c002fdbc>]
[ 3777.552749] Code: 15932000 059f2010 eb090119 e3a03000 (e5833000)
[ 3777.553066] ^^^^^
[ 3777.553243] ---[ end trace 5e2355e6c1336905 ]---
[ 3777.553419] Kernel panic - not syncing: Fatal exception in interrupt
[ 3777.553741] Rebooting in 1 seconds..
[ 3778.553496] Restarting Linux version 2.6.35.10-perf+cm10 (bytecode@build1) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 PREEMPT Sat Jan 5 14:02:28 GMT 2013

01-06 16:44:09.459 380 617 W ActivityManager: Scheduling restart of crashed service com.bel.android.dspmanager/.service.HeadsetService in 5000ms

And this is how the battery drain looks like in UI: