I have a 2008 MacBook Air (model A1237) with Ubuntu 16.04 LTS installed on it.
I managed to solve some other problems, but I can't figure out how to find a solution to this one…
Basically the battery status does not update very quickly… This leads to shut downs of the computer when the shown battery percentage is still 50%…
Another thing that happens is that, when plugging in the power cord, it takes about 2 minutes to update, even though the laptop is charging. This means that when I'm working on stuff and the computer is running out of battery I can't tell that it's happening and the computer shuts down or goes to stand-by without warning.
Any solutions? Thanks a lot 🙂
Best Answer
I have this problem as well. This is not a solution but workarounds that work for me I have found:
acpi
shows the correct battery state and charging status.sudo service upower restart
forces the battery status of upower to update. I would like this to happen every time I resume my computer from hibernation so after I charge my laptop I can actually see the progress. I've come up with the following script that runs on wake:I would love a real solution to this problem. I'll update my answer if I can find one.