That is why I linked you to a guide on how to use Console, which shows all activity sorted by time. With that, you can pinpoint what went on when the computer was closed and should have slept.
The three applications I linked to are simple to use, though not necessary, but if they report excessively slow read/write speeds, that would point to the HDD close to dying.
Also make sure to have a current backup.
From Console, Here are just a things going on within a 30 sec period on my computer while the lid is closed and the computer is supposedly sleeping . As you see it awakens because of OMC1 I have turned off bluetooth.
Have not gotten those apps yet want you guys to see if can see anything wrong from this console report
4/15/12 11:57:56.000 AM kernel: wired_pages_encrypted 384362, wired_pages_clear 109674, dirty_pages_encrypted 462537
4/15/12 11:57:56.000 AM kernel: hibernate_write_image done(0)
4/15/12 11:57:56.000 AM kernel: sleep
4/15/12 11:57:56.503 AM com.apple.launchd.peruser.502: (com.akamai.client.plist[36685]) Bug: launchd_core_logic.c:4734 (25247):13
4/15/12 11:57:56.517 AM com.apple.launchd.peruser.502: (com.akamai.client.plist) Throttling respawn: Will start in 10 seconds
4/15/12 11:57:59.010 AM SyncServer: [0x103816e40] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.
4/15/12 11:57:59.000 AM kernel: Wake reason: OHC1
4/15/12 11:57:59.000 AM kernel: Previous Sleep Cause: 5
4/15/12 11:57:59.000 AM kernel: The USB device Apple Internal Keyboard / Trackpad (Port 6 of Hub at 0x4000000) may have caused a wake by issuing a remote wakeup (2)
4/15/12 11:57:59.000 AM kernel: HID tickle 148 ms
4/15/12 11:58:00.000 AM kernel: 00000000 00000020 NVEthernet::setLinkStatus - not Active
4/15/12 11:58:02.000 AM kernel: MacAuthEvent en1 Auth result for: 00:18:4d:7e:9c:32 MAC AUTH succeeded
4/15/12 11:58:02.000 AM kernel: wlEvent: en1 en1 Link UP
4/15/12 11:58:02.000 AM kernel: AirPort: Link Up on en1
4/15/12 11:58:02.000 AM kernel: en1: BSSID changed to 00:18:4d:7e:9c:32
4/15/12 11:58:02.000 AM kernel: AirPort: RSN handshake complete on en1
4/15/12 11:58:04.687 AM AwakenHelper: AWAKEN CLOSED
4/15/12 11:58:05.401 AM airportd: _doAutoJoin: Already associated to marklark. Bailing on auto-join.
4/15/12 11:58:05.000 AM kernel: en1: BSSID changed to 00:18:4d:7e:9c:32
4/15/12 11:58:06.655 AM Activity Monitor: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing surface
4/15/12 11:58:07.000 AM kernel: hibernate image path: /var/vm/sleepimage
4/15/12 11:58:07.000 AM kernel: sizeof(IOHibernateImageHeader) == 512
4/15/12 11:58:07.000 AM kernel: Opened file /var/vm/sleepimage, size 8589934592, partition base 0x0, maxio 400000 ssd 0
4/15/12 11:58:07.000 AM kernel: hibernate image major 14, minor 0, blocksize 512, pollers 5
4/15/12 11:58:07.000 AM kernel: hibernate_alloc_pages flags 00000000, gobbling 0 pages
4/15/12 11:58:07.000 AM kernel: hibernate_setup(0) took 0 ms
4/15/12 11:58:07.000 AM kernel: 00000000 00000020 NVEthernet::setLinkStatus - not Active
4/15/12 11:58:07.000 AM kernel: en1: BSSID changed to 00:18:4d:7e:9c:32
4/15/12 11:58:07.000 AM kernel: wlEvent: en1 en1 Link DOWN
4/15/12 11:58:07.000 AM kernel: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
4/15/12 11:58:38.000 AM kernel: hibernate_page_list_setall start 0xffffff80cd5bb000, 0xffffff80cd709000
4/15/12 11:58:38.000 AM kernel: hibernate_page_list_setall time: 379 ms
4/15/12 11:58:38.000 AM kernel: pages 1217566, wire 496598, act 436589, inact 8665, spec 368, zf 16918, throt 0, could discard act 89029 inact 35937 purgeable 8597 spec 124865
4/15/12 11:58:38.000 AM kernel: hibernate_page_list_setall found pageCount 959138
4/15/12 11:58:38.000 AM kernel: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
4/15/12 11:58:38.000 AM kernel: IOHibernatePollerOpen(0)
4/15/12 11:58:38.000 AM kernel: writing 956569 pages
4/15/12 11:58:38.000 AM kernel: encryptStart 57ccb0
4/15/12 11:58:38.000 AM kernel: encryptEnd 1171d860
4/15/12 11:58:38.000 AM kernel: image1Size 469480448, encryptStart1 57ccb0, End1 1171d860
4/15/12 11:58:38.000 AM kernel: encryptStart 1bfbb400
4/15/12 11:58:38.000 AM kernel: encryptEnd 524260c0
4/15/12 11:58:38.000 AM kernel: PMStats: Hibernate write took 30058 ms
4/15/12 11:58:38.000 AM kernel: all time: 30058 ms, comp bytes: 3918397440 time: 3616 ms 1033 Mb/s, crypt bytes: 1197521008 time: 6312 ms 180 Mb/s,
4/15/12 11:58:38.000 AM kernel: image 1380082176, uncompressed 3918397440 (956640), compressed 1365554416 (34%), sum1 a0b72278, sum2 995eb295
4/15/12 11:58:38.000 AM kernel: wired_pages_encrypted 384426, wired_pages_clear 109674, dirty_pages_encrypted 462540
4/15/12 11:58:38.000 AM kernel: hibernate_write_image done(0)
4/15/12 11:58:38.000 AM kernel: sleep