Ask HN: Modern Linux laptop with great battery life?
My original retina MacBook Pro is showing its age and I'm jealous of my wife's 12" MacBook, particularly by weight. But I also really like free and open source — could I really just turn around and buy another MacBook?
System76's Galaga Pro looks about right, but I hear tell of 3.5 hour battery life and fan issues. Any other recommendations for a lightweight laptop with excellent battery life for mostly alacritty/tmux/vim workflows, Go/Terraform/Python/OpenStack development, and DevOpsy/Cloud Engineering kind of sand boxing?
85 comments
[ 4.9 ms ] story [ 122 ms ] thread1) The developer edition, as far as I can tell, has not been updated to 8th gen intel CPUs which offer a quad core U-series. It might be a better bet to just get the most updated XPS and install Linux on it.
2) There have been some images shared by dell that suggest a redesign of the XPS line is imminent, possibly at CES in a week or so. It might be wise to wait a little to see if there are some nice updates on the horizon or good deals coming on existing models.
I wrote about my experiences with installing Linux on it here: https://medium.com/@debugjois/installing-ubuntu-gnome-17-04-... (it’s a bit outdated. I run Arch on it now)
The only thing that Arch clearly improved was the Bluetooth experience, which was very unstable on Ubuntu (even after the upgrage to 17.10). But even that is probably down to the newer kernel in Arch.
https://wiki.galliumos.org/Installing
https://wiki.galliumos.org/Firmware
I'm writing this on an Acer CB5-571 (4GB RAM; Intel Celeron Dual-Core 3205U 1.5 GHz) that I did that with. Nice GNU/Linux machine for about ~US$350 total including upgrading the SSD with a ZTC 128MB. You can use it with Linux without upgrading the original 16GB SSD -- I just wanted more space. There is also one with a faster processor that costs more.
It runs Visual Studio Code and Node.js smoothly -- and even Minecraft (passable) and Steam streaming to a Windows desktop (laggy).
The battery life after about a 1.5 years seems to be about 3 to 4 hours or so under GalliumOS (but I have not measured it exactly). It used to be more like 7 or 8 hours under Chrome when I first got it.
It has a centered track pad (no number pad) which is very important to me in a laptop. A lot of 15" laptops have number pads and off-center trackpads which make them hard to use in your lap.
That said, sure, I might prefer something faster, with more storage, and with a backlit keyboard. I dropped it which damaged the power connector, and the third-part charger seems to create erratic track pad issues when it is plugged in. I did not like the textured finish so bought a hard shell case for it. But I liked saving $1500 to $2000 bucks over buying another Macbook Pro after the last one had graphics issues from the lead-free solder melting on the graphics array.
It has been an interesting learning experience for me about the low-end of laptops. Definitely money well spent as far as bang for the buck and self-education -- even if I have my eye on something with a stylus next. Maybe the next version beyond the Lenovo 720 15" (which could run Windows games in dual boot at 4x the price of the CB5-571) -- or maybe some other converted Chromebook if a 15" one comes out with a stylus at a good price.
You could look at it this way -- as an experiment, you could buy a cheap Chromebook that runs GalliumOS well (check the wiki first for compatibility). If it doesn't work out, you're only out $300 or so and some time. You could then revert it to ChromeOS and still have a machine for travel or guests that you don't care too much about if it gets broken or stolen. Or you could give it to a a friend or relative who is not very computer savvy and just wants to surf the web.
(No need to upgrade the internal SSD at first until you are sure you like it. Btw that was 128GB not MB as a typo. You can also easily stick a slim profile flash drive on one for extra storage too.)
So far, I'm really impressed by Gallium. I understand why some might raise some exception with even more fragmentation in yet another software distribution, but it really does make sense in this case, especially with the touch screen on this model.
I had to take my Acer CB5-571 apart to upgrade the drive. But obviously it may depend on the exact model whether something might be soldered in. Mine came with a M.2 16GB drive and no touch screen, so obviously a different model. Here is a video similar to what I did to upgrade the M.2 flash drive. I went with the 128GB size because it seemed like the 256GB size was if-ier for compatibility. https://www.youtube.com/watch?v=B3Ud-ReH50o
One reason I upgraded the drive in size because the original drive in the Chromebook failed at some point. In addition to a 128 GB M.2 drive, I also bought another 16GB M.2 drive because I was not sure about compatibility (which turned out to be useful as mentioned later).
You may never need extra space depending on what you want the laptop for though. And more easily, you can also just use, say, a Samsung 128GB USB 3.0 Flash Drive Fit (MUF-128BB/AM) in one of the USB ports if you want lots of storage (maybe with a slight battery life loss or perhaps slower drive performance). I find such a drive also warms up a lot when I do a lot of copying to one for backup though.
What I went through with the changeover was a little complex since the first time I installed GalliumOS I did not upgrade the firmware first or, alternatively, us the MrChromebox scripts to set the GBB flags. Instead just set the dev_boot_legacy flag from the ChromeOS command line (which requires battery power to maintain and tells the original firmware to do a legacy boot). Then I accidentally let the battery run down when using the original firmware (when away on a trip) and lost that special boot setting (a peril mentioned on the "Installing" and "Firmware" pages). I could not figure out how to change that boot setting again without temporarily swapping in another M.2 drive and installing regular Chrome on that one -- since I had wiped Chrome entirely and not done a dual boot, and I did not want to overwrite the existing GalliumOS install with ChromOS via a USB-driven install and lose my user data. And I don't think you can boot from USB without that flag being set (as implied on the "Firmware" page).
I also installed GalliumOS the first time without UEFI booting or the firmware upgrade that makes that possible. I wanted to upgrade the firmware to avoid that battery-run-down issue affecting booting in the future and to also get rid of the possibility of someone wiping the drive by pressing space on startup. But then I also switched to UEFI booting after upgrading the firmware (I didn't have to switch, just wanted to try it). That meant my old GalliumOS install would not boot becauge I had installed it under the legacy boot setup. I could not easily figure out how to upgrade the existing install and repartition correctly to have the needed UEFI boot files in the right places. I ended up deciding to just wipe the drive and start over with a fresh install (and then restore a backup of my user data I made before starting the firmware upgrade). I think an in-place upgrade from legacy to UEFI boot should be doable -- especially if I had had a working UEFI install on another Chromebook to examine and copy stuff from. But people online just said wiping and reinstalling was a lot easier given the need for a new partition scheme.
But I learned a bunch along the way, so that was good. And if I had just upgraded the firmware in the first place and gone with a UEFI install from the start, I would not have had those other difficulties.
But standby for snapdragon laptops coming early this year. They should be interesting and with any luck they will not be exclusively bound to booting Windows.
I opted for integrated graphics only, Linux support for switching between integrated/dedicated is dismal. The 15" screen looks great with native resolution on FHD or 2x scaling on UHD. I used to have an XPS 13 and fractional scaling (e.g. 1.25x) does not work as well as integer scaling (e.g. 2x) on Linux.
I bought the Precision with very good specs, which may help explain why it gets worse performance than seems to be advertised. Its screen is also brighter than the XPS 13's.
The reason I got the Precision is that the XPS 13 was too small and slow and I didn't feel productive on it. I find that small screens really hamper my productivity, and having a smaller palm rest beneath the keyboard also makes typing more difficult.
System 76 laptops have very poor ergonomics and battery life, but great internals at a decent price. I bought a Gazelle Pro from them 6 years ago and it was basically unusable as a mobile computer; it got 1 hour of battery life out of the box and that declined to about 5 minutes after a year or so of wear (I'm not joking, it was bad). The keyboard was also terrible. I ended up using it as a portable desktop. That said, it was as powerful, if not more, than the XPS 13 that I bought 6 years later, and it cost slightly less too.
ThinkPads are also really nice. They have great keyboards and good battery life (generally coming with swappable batteries). I bought one about 8 years ago and it was probably the best personal laptop I've owned. The reason I went Dell this time around is because Dell ships machines with Linux pre-installed.
Macs are also nice. Macs have great build quality, great battery life, great keyboards (modulo touch bar), great screens, and decent internals. If Apple offered a high-end Macbook Pro without a touch bar, I would have bought that instead of the Precision.
If I have a chance, I might try running a battery life test on my XPS 13 and Precision 5520 and post the results here.
[1] The Precision 5520 is essentially just a rebranded XPS 15.
I did go for the m2 drive so I could fit the upgraded battery, which is about the max size you can fly with. I love that laptop and to me it's the closest you can get to an MBP.
[1] http://www.dell.com/en-us/work/shop/dell-laptops-netbooks-an...
Start here: http://www.dell.com/developers
That links you to this, which is what you want: http://www.dell.com/en-us/work/shop/workstations-isv-certifi...
Dell's site is terrible, agreed.
Thinkpad P51 is a really great laptop imo, but unfortunately it has some issues on Linux due to the Optimus setup. It can be disabled in BIOS, but then there are some issues with external displays with the dock. `gnome-shell` goes insane if I connect the dock with the internal display on, eventually resolving to switch to internal-only mode.
It's a shame because the laptop is great, but it is still acting pretty poorly with latest Arch Linux and the proprietary NVIDIA drivers.
I'd be OK with Nouveau myself, but unfortunately external displays won't even connect in Nouvuea.
In defense of Linux: even the Windows drivers stammer a bit with Optimus disabled, so it's clearly not that well-supported. Not so with Optimus enabled though, so that one is covered by the famous Linus Torvalds quote.
I've heard the Thinkpad X270 is all around a better option for Linux. I've had a Thinkpad X1 Carbon and it worked great with Linux, but I found it to be too "ultrabook"-y for my tastes, which is why I resolved to the much bulkier P51.
> I also really like free and open source
Then Purism might be worth it for you.
A big question is if you'll want to stick with PureOS or install a different distro. So far I've given PureOS a shot, for fun and to see how I like it, and I'm used to Debian-based so it's okay although feels a bit dumbed down. What I don't know, is whether it's easy and likely-successful to install other distros -- it may be, I just haven't done research on that yet.
I did buy it refurbished, so I wonder if it might just have a bad battery or if I'm just screwing up some of the power fine tuning.
However, this doesnt discount the other issues I had with the box. BUT, once sorted it runs well now even after several upgrades ( Ubuntu 16.10 thru 17.10)
I can't figure how to make this work.
The XPS 13 is good and I applaud them for the developer edition but the build quality on dell laptops is grade A rubish compared to a ThinkPad.
I get 10 hours batter life running Manjaro with TLP. This is the first computer I've ever had where I never carry the power cord around. Amazing feeling.
The best thing about it is the keyboard. It's so much more enjoyable to type on this keyboard than other ultrabooks.
Comes installed with Ubuntu, and I've been running mine with Fedora for the past year and change.
Battery life is over 22 hours, roughly 14 hours while streaming NetFlix. (You have to get the 1920x1080 screen for better battery.)
At idle it uses about 2.3 watts with screen on.
The laptop works well with https://fwupd.org/ under Fedora for all BIOS/firmware updates.
For more information see [0].
[0] https://github.com/advancingu/XPS13Linux/issues/2
Also, now the minimum brightness setting is now super low, which is kind of refreshing actually.
Personally I like it, but I can see how some might not.
The CABC is implemented in the Novatek display driver IC, which the BIOS never touches. Dell provides a utility for Windows for flashing it on supported systems (QHD or the similar Latitude 7370) from Novatek for precisely that reason.
Though the brightness settings might make a difference.
I'm not sure why you would think the BIOS update package would not touch it. It certainly touches the USB-C and the TPM modules.
It was around the end of this past summer when that update came out. Along with a different brightness curve, it bumped up the battery life as well.
I've heard of the Windows utility for disabling this, but I thought it could be used on the FHD model as well. It didn't bug me enough to bother with Windows.
I'm very curious as to how well your trackpad is working.
I have the same computer and I can either use synaptic drivers with great accuracy but almost no palm detection, or only libinput with palm detection but bad accuracy, but the real problem is taps not registering if they follow a movement.
I have browsed the web everywhere, impossible to find a working solution. If you have any tip it would be GREATLY appreciated. Thanks!
Path of least resistance (and troubleshooting) IMO is to stick with laptops with Linux preinstalled (Although some of the Lenovos are good as well). You also save a little money b/c you dont have to buy Windows with the laptop. :
- Dell XPS 13 with Ubuntu preinstalled (dev edition)
- Dell Precision 5000 or 7000 with Ubuntu preinstalled (these are better than the XPS 15s - less problems in my experience + business support and quality. My XPS 9550 took me a while to get stable... :() I would have probably went with 5520 instead of XPS 15 if I had to do it again.
- System 76 boxes - no experience with these but look pretty good
The nice thing about the Dell Precisions (and even the XPS 15) is it is easily user upgradeable for SSD, memory (up to 32GB), wifi card, battery. The XPS 13 seems like a great box too, but know that the RAM is soldered to the board.
The current versions: the T470, T470p or the T25, are great Linux laptops.