It's always best to disconnect the battery before disconnecting the display cable. Ensuring there is no power to the device will also ensure you don't damage the backlight components when disconnecting the display. You should also make sure to reattach the display cable before reattaching the battery cable when putting it back together.