dell 5559 says 0% available (plugged in, not charging)

Apr 5, 2018
1
0
10
Flashing amber light, battery will not charge. does this mean that the battery is defective or what is the most likely problem.