While the occasional glitch may not always signify battery issues, be sure to make a note of how often your laptop powers down on you. If your Mac or PC powers off unexpectedly, and especially after a recent charge, you can likely assume a faulty battery is the cause. Try charging your laptop again, but if the problem persists your battery may be out of juice permanently. This may be a sign instead that your battery needs to be replaced. A bad battery doesn’t hold charge for very long, and your computer will unexpectedly power off.