Battery drain while suspended

Hi @Honza,

When looking for issues on the tracker I couldn’t find anything open when searching with the keywords “suspend”, “battery” or “drain”.

If you have an account you may want to open a new issue. If not, I can open the issue for you if you don’t have feedback from @mladen in the meantime.

Issue opened: https://tracker.pureos.net/T419

1 Like

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.

2 Likes

I am seeing:
Failed to load DMC firmware i915/skl_dmc_ver1_26.bin. Disabling runtime power management.

On boot

1 Like

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.

Same trouble with my librem13-v1 on Debian Buster: the battery is fully discharged after each night while the host is suspended.

Yeah same for me on my Librem 13v3…power steadily drains away while the laptop is closed and suspended.

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)

Will wait for @bavay report.

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…

1 Like

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.

https://wiki.manjaro.org/index.php/PowerTOP_to_Optimise_Laptop_Power_Consumption

Hope it helps.

3 Likes

I tried the Powertop thing on my 15v3 and maybe it helped some, but it doesn’t seem to have fixed the underlying issue.

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!

This: https://www.reddit.com/r/thinkpad/comments/75ke0w/excessive_power_consumptionbattery_draining_while/
And the related: https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/T470-Crucial-DDR4-memory-stick-gets-hot-while-suspended/td-p/3849858/page/2

Suggest it might be something to do with the RAM module itself. I’m going to get a different 16GB SODIMM to see if that changes things.

I was going to say the same thing. Did you put this in? Do you have the 4GB chip it came with? Could try to swap and see if the problem persists.

No, I don’t have the 4GB any more.

I’ve ordered a new 16GB; the OP in those two threads I linked to seems to have had success with a refund from Crucial–I’ll pursue that path.

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.

1 Like

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.

I also have 16GB and have the issue. Does anyone with less RAM check the issue?