This could be indeed the fault of stripping down the intel nonfree firmware - anyone with Debian can compare their behavior now and once they enable nonfree repo and add the missing firmware (isenkram is useful tool for detecting lacking firmware) to confirm this.
It seems that the “Failed to load DMC firmware i915/skl_dmc_ver1_26.bin. Disabling runtime power management.” is driven by pureos not including proprietary software that would be necessary for GPU power optimization. It could be the source of the issue, but that makes it seem less likely to me.
After checking, I don’t have any “failed to load xxx” in my dmesg. But isenkram found a few missing packages: firmware-misc-nonfree and firmware-iwlwifi for the following extra firmware files:
i915/bxt_dmc_ver1_07.bin
i915/bxt_guc_ver9_29.bin
i915/bxt_huc_ver01_07_1398.bin
i915/kbl_dmc_ver1_04.bin
i915/kbl_guc_ver9_39.bin
i915/kbl_huc_ver02_00_1810.bin
i915/skl_dmc_ver1_27.bin
i915/skl_guc_ver9_33.bin
i915/skl_huc_ver01_07_1398.bin
intel/ibt-11-5.ddc intel/ibt-11-5.sfi
intel/ibt-12-16.ddc intel/ibt-12-16.sfi
I have now installed them, I will let the laptop suspend for a night and let you know how it went…
All these firmware packages are installed on my buster installation and still seems to have the trouble.
$ dpkg --list | grep firmware-linux
ii firmware-linux 20170823-1 all Binary firmware for various drivers in the Linux kernel (meta-package)
ii firmware-linux-free 3.4 all Binary firmware for various drivers in the Linux kernel
ii firmware-linux-nonfree 20170823-1 all Binary firmware for various drivers in the Linux kernel (meta-package)
So, after installing the missing firmware and fully charging my Librem 15v2, it went from 100 down to 75% in 18 hours (suspended for the whole time). So a fully charged laptop would drain its battery while suspended in 3 days. For my usage, this is not a huge problem, but we are far from what is achieved by other laptops…
I had this issue on a Librem13 v3 runining Manjaro and powertop seems to have stopped the bleeding. Basically I ran “powertop --html” and it generates an HTML report. There is a “Tuning” tab with a list of commands you can put into a script and run on boot and essentially change settings that waste power. This has stopped my lose of power when suspended. This page is Manjaro specific but I believe it will work on most distros.
Have you done a “sudo apt-get full-upgrade” ? I went back to PureOS to get the most out of the machine and saw (somewhere) to run the “full-upgrade” which I was not familiar with. It installed some more packages and my machine has been running well and the battery has been lasting well. Not sure if the full-upgrade is related but thought I would mention it.
Thanks for the suggestion @Russ. I’ve done that just to be sure.
After a full-upgrade and a couple reboots, I closed the computer (which should’ve caused it to sleep), and left it over night for ~8h. Battery went from 96% to 56%.
I took the back cover off to investigate what was burning so much energy. It’s the RAM chips. They’re warm to the touch.
RAM is Crucial 16GB 260-Pin DDR4 SO-DIMM DDR4 2133 (PC4 17000) Laptop Memory Model CT16G4SFD8213
I’d very much appreciate any thoughts on next steps to diagnose this problem!
Sorry to hear it. I hate when you get a new toy and something goes wrong.
Good luck. The support guys at Purism are awesome. I would ask them for a recommendation for RAM. I went with their RAM since it was about the price of similar chips.
Good Luck.
Similar issue here, to add another data point; I’m using a Librem 13v2 with the stock 16GB RAM stick, running PureOS, and the battery completely drained while suspended overnight (~8 hours) from a starting ~%60 charge.