Small OpenBSD Thinkpad Active Protection System (accelerometer) library