I have installed Ubuntu 16.04 on an older Macbook Air. I recently found out that when I unplug the power supply, the computer shuts off and dies. This even though it is showing that the battery is fully charged. It also shows the green light in the plug of the power supply which should indicate fully charged. When the computer is turned off, this light is still green and it does not seem to charge the battery even when shut down.
I am not sure if this has always been the case, since I installed 16.04. I used to run an older Ubuntu but decided to revert back to MacOs on this computer, which failed and I therefore installed 16.04.
Running upower -i $(upower -e | grep 'BAT') as suggested below gives following:
61 Answer
I've seen this on laptop batteries. It's caused by a bad cell in the battery, which could cause a fire or even explode if left on charge. If you can remove the battery from your computer, do so; otherwise, get it replaced by a qualified servicer as soon as possible and don't charge the computer until you can do so.
I can't emphasize enough the safety aspect of this: charging this computer could burn down your home.
1