Even while it's unlikely to cause damage to your laptop or phone, it's best to avoid stacking electrical devices on top of one another. MacBooks can be stacked. New MacBook Pro convertible computers contain magnets that sense when the MacBook's screen is closed, causing it to go to sleep.