Chosen Solution
mmm … Lets backup here a bit, You replaced the battery but you likely didn’t fully clean the surfaces of the old glue. Similar to how a suction cup works the surface needs to be smooth and clean. I use Goof Off you’ll also need to clean the area again with 85% or better isopropyl alcohol to clean off the residue. To fix this you’ll need to removed the battery and clean the surfaces. In this case you’ll need to do both the case and the battery. Then you’ll need to apply a fresh set of strips of 8 mm Tesa 61395 Tape. Even still you do need to apply a bit of pressure on the battery so the adhesive makes good contact to the case. I use a couple of 5 pound blocks to press the battery down overnight. You should double check the battery using this gem of an app CoconutBattery to make sure the batter is OK and the charging logic is working correctly. Paste a snapshot of the main window here for us to see. Your last issue is the display lids Hall sensor. I’m a bit confused on your problem? The Hall sensor detects magnetism. So the lid magnet will set it off. Unless you have something else that is close by the sensor thats magnetic it shouldn’t be going off. The only time I’ve seen issues is if the display assembly was switched out with the wrong part as the older models use a slightly different placement. To double check get a steel paper clip and a magnet. Slide the paper clip along the face of the screen along the left side you should now have located the magnet, now fold the lid down so you can transfer the location to the top of the uppercase (I use grease pencil to mark the spot) now place the magnet over the location, when you do the system should go into Sleep Mode and then when you take it away it should wake. Is this working correctly? The sensor is mounted on the logic board: