Apple's Mac and iPad devices feature a hardware microphone disconnect that turns off the microphone when the lid is closed, preventing any software from accessing it. This disconnect is implemented in hardware alone on certain Mac laptops and iPad models, and is designed to provide audio privacy. The feature is not affected by software, including malware or exploits with root or kernel privileges. The microphone is disconnected using a simple set of non-reprogrammable hardware logic that detects the physical closure of the lid or case.