[Transformer TF300T Android Development] FineWolf:
On RC2,

The keyboard dock seems to wake the screen when the lid is closed (and keeps it on, total battery drain) instead of putting the device to sleep and keeping it that way.

There is a log of me opening and closing the lid a few times. Let me know if you need help debugging a fix.

build.board: cardhu
build.bootloader: unknown
build.brand: asus
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: tf300t
build.display: cm_tf300t-userdebug 4.0.4 IMM76L eng.jenkins.20120719.035924 test-keys
build.fingerprint: asus/WW_epad/EeePad:4.0.3/IML74K/WW_epad-9.4.3.29-20120511:user/release-keys
build.hardware: cardhu
build.host: cyanogenmod
build.id: IMM76L
build.manufacturer: asus
build.model: Transformer Pad TF300T
build.product: EeePad
build.radio: unknown
build.serial: 015d ... f614
build.tags: test-keys
build.time: 1342695581000
build.type: userdebug
build.user: jenkins
version.codename: REL
version.incremental: eng.jenkins.20120719.035924
version.release: 4.0.4
version.sdk_int: 15

07-21 22:19:28.010 V/TabletStatusBar(510): setLightsOn(true)
07-21 22:19:28.460 D/dalvikvm(5042): GC_CONCURRENT freed 1844K, 58% free 6367K/15111K, paused 1ms+2ms
07-21 22:19:29.660 I/Sensors (246): **** Motion ****
07-21 22:19:31.210 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/h -nav/h s.61 themeResource=system}
07-21 22:19:31.250 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:32.630 D/dalvikvm(5042): GC_CONCURRENT freed 847K, 52% free 7263K/15111K, paused 4ms+5ms
07-21 22:19:32.690 D/dalvikvm(5042): GC_CONCURRENT freed 121K, 41% free 8947K/15111K, paused 1ms+2ms
07-21 22:19:34.280 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/v -nav/h s.62 themeResource=system}
07-21 22:19:34.300 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:39.050 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/h -nav/h s.63 themeResource=system}
07-21 22:19:39.090 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:41.170 D/dalvikvm(5042): GC_CONCURRENT freed 7066K, 73% free 4099K/15111K, paused 2ms+3ms
07-21 22:19:41.480 D/dalvikvm(5042): GC_CONCURRENT freed 816K, 67% free 5058K/15111K, paused 2ms+5ms
07-21 22:19:41.770 D/dalvikvm(5042): GC_CONCURRENT freed 480K, 58% free 6398K/15111K, paused 2ms+8ms
07-21 22:19:41.860 I/qtaguid (5632): Failed write_ctrl(u 52) res=-1 errno=22
07-21 22:19:41.860 I/qtaguid (5632): Untagging socket 52 failed errno=-22
07-21 22:19:41.870 W/NetworkManagementSocketTagger(5632): untagSocket(52) failed with errno -22
07-21 22:19:42.200 D/dalvikvm(5042): GC_CONCURRENT freed 1987K, 59% free 6254K/15111K, paused 2ms+8ms
07-21 22:19:42.460 D/dalvikvm(5042): GC_CONCURRENT freed 1832K, 59% free 6264K/15111K, paused 1ms+9ms
07-21 22:19:42.500 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/v -nav/h s.64 themeResource=system}
07-21 22:19:42.510 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:42.680 I/Sensors (246): **** No Motion ****
07-21 22:19:42.720 I/Sensors (246): **** Motion ****
07-21 22:19:42.800 D/dalvikvm(5042): GC_CONCURRENT freed 1338K, 56% free 6742K/15111K, paused 1ms+5ms
07-21 22:19:42.860 D/dalvikvm(5042): GC_CONCURRENT freed 274K, 46% free 8272K/15111K, paused 1ms+2ms
07-21 22:19:43.700 I/qtaguid (5632): Failed write_ctrl(u 48) res=-1 errno=22
07-21 22:19:43.700 I/qtaguid (5632): Untagging socket 48 failed errno=-22
07-21 22:19:43.700 W/NetworkManagementSocketTagger(5632): untagSocket(48) failed with errno -22
07-21 22:19:45.890 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/h -nav/h s.65 themeResource=system}
07-21 22:19:45.920 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:48.270 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/v -nav/h s.66 themeResource=system}
07-21 22:19:48.280 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:49.300 D/dalvikvm(5042): GC_CONCURRENT freed 336K, 35% free 9853K/15111K, paused 2ms+4ms
07-21 22:19:51.960 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/h -nav/h s.67 themeResource=system}
07-21 22:19:52.030 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48
07-21 22:19:54.870 I/ActivityManager(246): Config changed: {1.0 0mcc0mnc en_CA layoutdir=0 sw800dp w1280dp h752dp xlrg land finger qwerty/v/v -nav/h s.68 themeResource=system}
07-21 22:19:54.870 I/StatusBar.HeightReceiver(510): Resizing status bar plugged=false height=48 old=48