There exist far simpler solutions. A stainless steel strip can be literally found on the street, and epoxied to the laptop case on one side and to a hard drive magnet on the other. Then any metal attached to the back of the phone - commonly sold for holding the phone in cars - can hold the phone to the magnet.