You are not logged in.
I have a Dell XPS 15 running Arch with DWM. My estimated battery life through acpi at 33% shows ~3:00:00; however, when I close the lid and the laptop goes into hibernate, upon waking up acpi shows ~1:00:00 remaining at 33%. The estimates is also correct as the battery drains much faster upon wake. I made a custom service to run upon hibernate in order to active slock my lock screen manager. Followed guide here: https://wiki.archlinux.org/index.php/Po … leep_hooks
suspend@arch.service
------
[Unit]
Description=User suspend actions
Before=suspend.target
[Service]
User=%I
Type=forking
Environment=DISPLAY=:0
ExecStart=slock
ExecStartPost=/usr/bin/sleep 1
[Install]
WantedBy=suspend.targetEven with this service disabled, the same issue occurs where my battery life 1/3's upon waking from lid-closing hibernate
Update: Ended up reinstalling dwm and no longer had an issue with hibernate. Not sure what the exact issue was, but seems like some patches were interfering with each other.
Last edited by omernaveedxyz (2021-02-08 23:58:07)
Have you ruled out, that there is some processor hungry process after hibernation using top or similar?
Offline
Have you ruled out, that there is some processor hungry process after hibernation using top or similar?
That is what I'm so confused about. top and bashtop both show no hungry processes and my cpu usage stays the same.