Quite often there is a sensor to detect lid closed, the sensor comes in 2 parts 1 on the stationary part and 1 on moving part, either a wire has come off stationary part or has fallen down, or the magnet/metal strip on the moving part has fallen off
Roger, March 2013