I just want to point out two tools that were helpful in improving the battery life on my Ubuntu.
First, a few words about batteries. On my 2012 Macbook pro, I just replaced the battery and am quite happy with the result. Even though the battery is glued to the chassis and the repair task is rated “hard,” it’s not that hard.
Use this method to replace the battery: https://www.youtube.com/watch?v=fupkPz55tUo
Note: tooth floss didn’t work for me… it would break. I used some translucent thread found at home depot.
Note: soaking the thread in 99% alcohol was critical! Without the alcohol, the thread would not cut through the glue. With alcohol, the thread cut through the glue easily.
And so.. replacing a glued-on battery on a macbook pro is not actually difficult. About 1 hour of work. Make sure that you have the specific proprietary Apple screwdrivers, the pentalobe.
As for Ubuntu power savings… ubuntu doesn’t have the reputation for great power management. However, these two tools helped me out:
sudo tlp stat
The powertop ^ has “tunables” tab (press TAB repeatedly, press up/down to select the tunable that says “Bad” and press ENTER), enabling which allows you to get some better life out of your battery.
I might also note that the Dell Latitude e7440 has a removable battery, and I carry an extra one around, allowing me to work twice longer without hugging the wall. Just saying, no complaints about that hardware.