When I hibernate or suspend-then-hibernate and then try to power on/resume after a while I can’t power on without plugging in to AC power.
- When I do resume, I have the expected amount of battery, so it’s not because of a dead battery.
- I’ve looked in the journal, but haven’t found any smoking guns. I’ve been running on debug though, so I should have plenty of info to look through if needed.
- Recently updated BIOS to try to fix problem, but no changes.
Any suggestions are welcome and appreciated, thanks!
Information
Laptop: Framework 13 inch, 11th Generation Intel
Output of nixos-version: 26.05.20251205.f61125a (Yarara)
Relevant parts of configuration.nix:
powerManagement.enable = true;
boot.initrd.systemd.enable = true; # handles hibernation config (resume offset and device) automatically
## hibernate and suspend-then-hibernate
systemd.services."systemd-logind".serviceConfig = {
ProtectHome = "read-only";
};
services.upower = {
enable = true;
criticalPowerAction = "Hibernate";
percentageCritical = 3;
};
boot.kernelParams = [
"mem_sleep_default=deep" # for deep suspend
];
systemd.sleep.extraConfig = ''
HibernateDelaySec=1m
SuspendState=mem
'';