This question already has an answer here:

In a few days' time, I will be going to Australia to further my studies. I have a laptop whose battery died a while back. It turns on with the power cord, but not with the battery. Is it a problem if I bring the laptop? I'm worried that they will ask me to turn the laptop on. My native country is Singapore btw.

marked as duplicate by gmauch, k2moo4, Ali Awan, Mark Mayo May 17 at 1:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.