I'm using a Lenovo ThinkPad W520 and Ubuntu 22.04. By mistake it got to 0% and now it shuts down whenever the charger is plugged off, thus I can only work with it plugged in. In addition, the battery toggles between not charging (0%) and fully charged (100%). when typing
upower -i
upower -e | grep 'BAT'
that's what i get when it's fully charged and when it's not charging.
I've tried the solutions from this post, but my BIOS doesn't have the option of disabling the built-in battery and the restarting operations didn't work.
Should I buy a new battery?
