Yes, it's most likely the battery, particularly if your computer is more than two or three years old.