MacBook doesn't sleep when lid closed after screen replaced
I had two a2337 Macbook Airs. One had a broken screen but a functional keyboard. The other was functional but the keyboard was broken - this was also my daily use laptop setup up as I need it and with all my files.
I decided to move the working screen and logic board from the system with the bad keyboard into the chassis with working keyboard.
The swap seemed to go fine, its booted up and, battery is charges, keyboard, trackpad, speakers, ..., all works. However when I go to shut the lid, I can see that the laptop does not go to sleep.
I despite my research I've not actually found out where the lid angle sensor actually is on the a2337 or how I can go about testing whether it works or is broken.
Any advice would be appreciated.
Update (02/16/26)
I should add.. the audio board with the headphone and power button/finger print scanner jack was also transferred across with the logic board.
Is dit een goede vraag?