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 :)