TL;DR: a repair shop owner from Germany managed to create a tool to calibrate the display angle sensor (used to trigger sleeping on Macs when the lid is closed)