First time posting, hope I'm not breaking any rules :)

My computer has been acting up already beforehand (random restarts quite often, BSoD this morning). It gave out today and now whenever I turn it on the battery light blinks green. I looked it up and apparently this makes it a battery issue, but when I turn it off and charges the computer the light becomes appropriately orange again. It seems that most other issues online with this blinking green battery light relates to not being able to charge, but my battery seems to charge fine.

Additional details: I have to also hold the power button about 7 seconds rather than the usual 4 to force a shutdown. The lightbulb and airplane lights turn on as normal.

Does anyone know what it may be and whether I should look into repairs vs a new computer? Thanks a ton.