Change what your computer does when the lid is closed (sleep, nothing, turn off) and change the power settings to conserve battery power.