i have seen a similar sudden shutoff behavior that i also suspect is trackpad related (running linux Kubuntu) it usually only happens within about a minute of waking the laptop up and appears to happen more if there is trackpad input during the 10-15 or so seconds during which it is waking up (black screen but the power LED is solid)
I have not much basis for this conclusion other than a gut feeling, but i wonder if this helps