Disclosed are methods and apparatuses relating to an anti-theft device. An anti-theft device can be affixed to a tablet or laptop. The anti-theft device can determine if a distance relative to a reference point exceeds a threshold. An alarm state can be entered.