Chosen Solution

So I dismantled my Powerbook to swap keyboard and battery. When reassembled the battery indicator is dead and it seems the lid contact has lost its function i.e. the computer does not fire up when opened, nor goes to sleep when shut… I need to sleep the computer manually before shutting it. Otherwise it works fine. Where do I look for assembly lapses? Grateful for all kind answers. (Rookie)

You stated “Powerbook” in your question so it was confusing things. Your HDD cable carries the Hall sensor connection to the logic board

Review this guide MacBook Pro 13" Unibody Late 2011 Hard Drive Cable Replacement