Thomas,  now and again I've had a battery drain problem after doing an
update.   If you haven't done this could you try to back up/export your
settings,  then delete K9, reinstall,  import your settings again.   And
then see if the problem still exists. This has fixed the problem for me.

B.
On 2014-10-18 4:32 AM, "Thomas Börkel" <[email protected]> wrote:

> It happened again and I had activated the debug log this time.
> Unfortunately, there is not much debug output from K9 in the log file.
> Using the adb command as described on the K9 page, I only got:
>
> 10-18 07:45:53.921 I/k9      (32369): Committing preference changes
> 10-18 07:45:53.931 I/k9      (32369): Preferences commit took 8ms
>
> But I also have the full log. But it only goes back to 07:39:47. It would
> be good, if K9 would write its own debug log and keep the last 24 hours.
>
> I noticed this in the full log:
> 10-18 07:39:47.091 W/SocketClient(  180): write error (Broken pipe)
>
> There are lots of those and they continue until 07:40:25.
>
> This is what I did:
> * activated Airplane mode at 00:06:47
> * deactivated Airplane mode at 07:40:47
> * started K9
> * K9 refresh spinner was spinning all the time
> * noticed battery drain
> * killed K9 at 07:50:00
>
> This is a grep "k9" from the full sys log:
> 10-18 07:40:30.181 I/ActivityManager(  816): Start proc com.fsck.k9 for
> broadcast com.fsck.k9/.service.BootReceiver: pid=32369 uid=10114
> gids={50114, 3003, 1028, 1015}
> 10-18 07:40:37.411 I/ActivityManager(  816): Delay finish:
> com.fsck.k9/.service.BootReceiver
> 10-18 07:40:39.391 I/ActivityManager(  816): Delay finish:
> com.fsck.k9/.service.BootReceiver
> 10-18 07:40:51.011 I/ActivityManager(  816): Waited long enough for:
> ServiceRecord{44012298 u0 com.fsck.k9/.service.PollService}
> 10-18 07:41:45.591 I/ActivityManager(  816): START u0 {flg=0x1400c000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid -1
> 10-18 07:41:45.721 I/ActivityManager(  816): START u0 {flg=0x4000000
> cmp=com.fsck.k9/.activity.MessageList bnds=[0,363][1080,1122] (has extras)}
> from pid -1
> 10-18 07:41:59.871 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:41:59.931 I/ActivityManager(  816): START u0 {flg=0x14000000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid 32369
> 10-18 07:42:00.091 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.MessageList: +149ms (total +177ms)
> 10-18 07:42:28.151 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:43:01.861 E/StrictMode(32369): class
> com.fsck.k9.activity.MessageList; instances=2; limit=1
> 10-18 07:43:01.861 E/StrictMode(32369):
> android.os.StrictMode$InstanceCountViolation: class
> com.fsck.k9.activity.MessageList; instances=2; limit=1
> 10-18 07:43:03.831 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:43:03.891 I/ActivityManager(  816): START u0 {flg=0x14000000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid 32369
> 10-18 07:43:04.031 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.MessageList: +128ms (total +152ms)
> 10-18 07:43:47.151 E/StrictMode(32369): class
> com.fsck.k9.activity.MessageList; instances=3; limit=1
> 10-18 07:43:47.151 E/StrictMode(32369):
> android.os.StrictMode$InstanceCountViolation: class
> com.fsck.k9.activity.MessageList; instances=3; limit=1
> 10-18 07:43:58.941 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:43:58.991 I/ActivityManager(  816): START u0 {flg=0x14000000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid 32369
> 10-18 07:43:59.491 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.MessageList: +480ms (total +503ms)
> 10-18 07:44:04.881 E/StrictMode(32369): class
> com.fsck.k9.activity.MessageList; instances=4; limit=1
> 10-18 07:44:04.881 E/StrictMode(32369):
> android.os.StrictMode$InstanceCountViolation: class
> com.fsck.k9.activity.MessageList; instances=4; limit=1
> 10-18 07:44:12.471 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:44:12.631 I/ActivityManager(  816): START u0 {flg=0x14000000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid 32369
> 10-18 07:44:13.111 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.MessageList: +459ms (total +483ms)
> 10-18 07:44:45.851 E/StrictMode(32369): class
> com.fsck.k9.activity.MessageList; instances=5; limit=1
> 10-18 07:44:45.851 E/StrictMode(32369):
> android.os.StrictMode$InstanceCountViolation: class
> com.fsck.k9.activity.MessageList; instances=5; limit=1
> 10-18 07:45:39.811 I/ActivityManager(  816): START u0
> {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=com.fsck.k9/.activity.Accounts bnds=[276,1152][540,1451]
> (has extras)} from pid 1214
> 10-18 07:45:39.871 I/ActivityManager(  816): START u0 {flg=0x14000000
> cmp=com.fsck.k9/.activity.MessageList (has extras)} from pid 32369
> 10-18 07:45:40.321 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.MessageList: +433ms (total +476ms)
> 10-18 07:45:44.701 I/ActivityManager(  816): START u0
> {cmp=com.fsck.k9/.activity.setup.Prefs} from pid 32369
> 10-18 07:45:44.861 I/ActivityManager(  816): Displayed
> com.fsck.k9/.activity.setup.Prefs: +148ms
> 10-18 07:45:53.921 I/k9      (32369): Committing preference changes
> 10-18 07:45:53.931 I/k9      (32369): Preferences commit took 8ms
> 10-18 07:50:01.401 I/ActivityManager(  816): Force stopping com.fsck.k9
> appid=10114 user=0: from pid 2982
> 10-18 07:50:01.401 I/ActivityManager(  816): Killing
> 32369:com.fsck.k9/u0a114 (adj 9): stop com.fsck.k9
> 10-18 07:50:01.401 W/ActivityManager(  816): Scheduling restart of crashed
> service com.fsck.k9/.service.PollService in 1000ms
> 10-18 07:50:01.401 I/ActivityManager(  816):   Force finishing activity
> ActivityRecord{4334dd60 u0 com.fsck.k9/.activity.MessageList t93}
> 10-18 07:50:01.411 I/ActivityManager(  816):   Force finishing activity
> ActivityRecord{433b7de0 u0 com.fsck.k9/.activity.setup.Prefs t93}
> 10-18 07:50:01.431 I/WindowState(  816): WIN DEATH: Window{433e2228 u0
> com.fsck.k9/com.fsck.k9.activity.setup.Prefs}
> 10-18 07:50:01.441 I/WindowState(  816): WIN DEATH: Window{430f6370 u0
> com.fsck.k9/com.fsck.k9.activity.MessageList}
>
>  --
> --
> You received this message because you are subscribed to the K-9 Mail Users
> List.
> To post to this group, send email to [email protected]
> To unsubscribe, email [email protected]
> To report an issue with K-9 Mail, visit
> http://code.google.com/p/k9mail/issues/list
> For more options, visit this group at
> http://groups.google.com/group/k-9-mail
>
> ---
> You received this message because you are subscribed to the Google Groups
> "K-9 Mail" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the K-9 Mail Users List.
To post to this group, send email to [email protected]
To unsubscribe, email [email protected]
To report an issue with K-9 Mail, visit 
http://code.google.com/p/k9mail/issues/list
For more options, visit this group at http://groups.google.com/group/k-9-mail

--- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to