Does the power adapter have a battery function