Here I got something for you people:

Using my MBP it just turn off. The problem happens when the magsafe is plugged and when is unplugged. I remove the battery from the logic board and star the MPR and it runs VERY well no problems detected, while doing this I just took a moment to run tech tool pro 6, no hardware problem detected; it pass it several times without any problem. (also runs apple hardware test, several times, no problems detected). I leave it around 12 hours doing some VERY hard work (running just on charger with the battery unplugged from the logic board); not a glitch.

But here is the thing; I got the chance to grab some friend's MBP 13 just the same model as mine. So I take out his battery and placed into my MBP and the problem persist, also I try to changing HD's but still shuts off without reason, some times boot completely, sometimes just go until the apple logo shows up and die, and sometimes just apple chime sound and go to the white screen shuts off and do the same several times until I shut it off.

I do not recall any performance, update, installation problem, hardware has never been modified, I used it as it came out from the box.

Here is the console lectures from the moment of the last shuts off:

8/8/12 7:31:52 PM com.apple.launchd[1] *** launchd[1] has started up. ***

8/8/12 7:31:56 PM com.apple.launchd[1] (com.micromat.TechToolProDaemon) StartInterval is not greater than zero. Ignoring.

8/8/12 7:32:01 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:01 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:03 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 9 seconds

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 1 seconds

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:10 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 1 seconds

8/8/12 7:32:11 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:11 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:11 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:11 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:32:12 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 9 seconds

8/8/12 7:32:26 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 6 seconds

8/8/12 7:32:32 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 10 seconds

8/8/12 7:32:32 PM com.micromat.TechToolProDaemon[45] Wed Aug 8 19:32:32 Pedro-O-Hernandezs-MacBook-Pro.local TechToolProDaemon[45] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.

8/8/12 7:32:32 PM com.micromat.TechToolProDaemon[45] Wed Aug 8 19:32:32 Pedro-O-Hernandezs-MacBook-Pro.local TechToolProDaemon[45] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

8/8/12 7:32:32 PM com.micromat.TechToolProDaemon[45] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

8/8/12 7:32:45 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 8 seconds

8/8/12 7:33:01 PM com.apple.WindowServer[72] Wed Aug 8 19:33:01 Pedro-O-Hernandezs-MacBook-Pro.local WindowServer[72] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

8/8/12 7:33:02 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 2 seconds

8/8/12 7:34:03 PM com.apple.launchd[1] (com.apple.xprotectupdater[20]) Exited with exit code: 255

8/8/12 7:36:04 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 10 seconds

8/8/12 7:36:05 PM com.apple.launchd.peruser.501[111] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self

8/8/12 7:36:13 PM com.apple.launchd.peruser.501[111] (com.apple.Kerberos.renew.plist[132]) Exited with exit code: 1

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 7 seconds

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 7 seconds

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:18 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 7 seconds

8/8/12 7:36:27 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:27 PM com.apple.launchd[1] (com.apple.SystemStarter) Failed to count the number of files in "/System/Library/StartupItems": No such file or directory

8/8/12 7:36:27 PM com.apple.launchd[1] (com.apple.aslmanager) Throttling respawn: Will start in 9 seconds

I do not know much about console, but I did my research and I notice that it is crucial information for diagnose some very important issues; so I included.

So recapitulating: shuts off happens when the MBP is on battery or on charger, also happened when I put into my MBP the Battery and HD from another MBP (same model).

Shuts off NEVER happened when the battery is disconnected from the logic board and the MBP is running on charger (mag safe).

What should I do? What is missing? just reasoning if it is a software problem why the MPB runs so well when the batterie is unplugged from the logic board and it is running from the charger?

thanks for your time.

Here are my system configuration:

MBP 13 inches

2.3 GHz intel core Duo i5

4 GB ram memory 1333 MHz DDR3

320 GB HD