is it safe to use a laptop w/o battery? i'll just connect it to the power outlet?

the laptop is just being used here at home, and hardly taken out.