Ever since I bought my Acer Swift 1 laptop in the beginning of June, it’s been running Linux Mint Cinnamon, initially 18.3, but now 19. I’ve been using it on battery power quite a bit lately (that’s what I bought it for… I have my Core 2 Duo laptop for semi-portable duty when an electrical outlet is near). I’ve noticed that the run time while watching videos is pretty poor, with the claimed 10 hour battery life dropping to only four when continuously playing 1080p video (h.264). That’s with hardware acceleration confirmed to be working, and with Laptop Mode Tools installed for power saving, with Intel Powertop confirming that all of the power saving options are active other than the autosuspend for the external mouse (which makes it turn off completely after only two seconds, refusing to respond until I press a button).
I noticed that one of the laptop review sites used Big Buck Bunny as a test video for this kind of thing, so I downloaded it for this test (same specs as cited above). I confirmed the 4 hour run time in Mint Cinnamon using the configuration as above, then booted Windows 10, which is still on the mostly unused internal eMMC drive inside the Swift (Linux gets the big, beautiful Samsung SSD), and tried it there using Windows Media Player.
The video ran continuously on loop for seven hours on the nose before the laptop ran out of juice. I had the wifi enabled, bluetooth enabled, sound muted, and an external mouse plugged in the whole time. Screen brightness was 40%, with the timer-based screen blanking and sleep functions turned off. Otherwise, all power savings options were at their defaults.
It’s understood that Linux power saving has some catching up to do compared to Windows. Drivers for many of the components within a PC are often much more optimized in Windows than in Linux. Still, that’s a BIG difference in run time.
I tried using Powertop to figure out what was using all the extra power, but it seemed to be malfunctioning. It was claiming that the unused fingerprint reader was using 2 watts and that the also unused SD card reader was using 1.5 watts. Both devices showed as “good” in the power saving options, indicating that autosuspend was enabled for both of them.
In total, it estimated baseline power use of about 8 watts, even though it also reported when on battery that the actual discharge rate (not showing video) was 5 watts. The actual power use shouldn’t be less than baseline, so that’s no help.
I saw in the system monitor (like Task Manager) that Cinnamon consistently was on top of the CPU use rankings while a video was playing– more than the media player (VLC, at that moment). Could that be part of why the battery life was so much worse in Linux?
I backed up the Linux installation with Macrium and again with Timeshift, then installed Mint Xfce 19 over Mint Cinnamon 19. After getting the hardware acceleration driver for the Intel iGPU and a few other things installed, I installed TLP (another Linux power-saving tool). I didn’t try laptop mode tools this time because it had introduced an annoying screen blanking after 2 minutes even though I had the option set in the power options to not do it at all.
I thought maybe TLP would be better in that way, saving me the trouble of figuring it out, and it was. Laptop Mode Tools had set all of the options reported in Powertop to “good” except two, and I checked these manually and confirmed they were both actually enabled, just not with the settings Powertop was looking for. TLP did the same. Regardless of the tool used to turn the options on or off, it’s the same options, so it’s still a valid test to me.
I began the test, and it’s still going now. It’s been going about three hours, and the battery just passed 50%. It’s on par for about a six hour run time (the estimates of remaining run time were very accurate in Mint and Windows in the previous tests)– not as good as the seven in Windows, but far better than the four in the same OS (Linux Mint) with Cinnamon instead of Xfce.
EDIT: The final run time was 5 hours, 50 minutes on Mint Xfce, quite closed to the estimate of 6 hours.
It would appear that whatever Cinnamon is doing to use that CPU time during the playback of the video is causing the battery to run down faster. Not only that, but the laptop is noticeably cooler during the Xfce and Windows runs than it was in Mint.
I prefer Cinnamon’s look and feel to any other Linux desktop environment, but cutting the battery run time during video playback by 33% is brutal. On a desktop, or on a laptop while plugged in, it’s pretty trivial (Cinnamon does not feel slow even on my slowest PC, my Dell laptop), but it’s not trivial on battery.
I think I will post about this over on the Mint forum too. If there’s a way to fix this, I would prefer to use Cinnamon, but Xfce isn’t bad at all either. I would be curious to know the results other people have if they are running Linux on a laptop.
The 4.17 kernel is supposed to have some noticeable improvements in power saving on laptops. It’s not (yet?) available as an optional kernel in the official Mint/Ubuntu repos, but it is available from a PPA. I’m thinking of giving it a try!
I think Linux will get close to Windows eventually in power use, and maybe sooner than later.
Dell XPS 13/9310, i5-1135G7/16GB, KDE Neon 6.2
XPG Xenia 15, i7-9750H/32GB & GTX1660ti, Kubuntu 24.04
Acer Swift Go 14, i5-1335U/16GB, Kubuntu 24.04 (and Win 11)