Happens to mine sometimes too. I think it's pretty normal since when you run out of battery power, your iBook goes into Sleep mode and whenever you plug in the AC, it wakes back up to allow you to continue working, regardless of whether the lid was closed or not.