You are not logged in.

#1 2021-01-30 02:19:49

omernaveedxyz
Guest

[Solved] Laptop battery drain triples when waking from hibernate

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.target

Even 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)

#2 2021-01-30 11:35:58

meismarv
Member
Registered: 2014-05-28
Posts: 11

Re: [Solved] Laptop battery drain triples when waking from hibernate

Have you ruled out, that there is some processor hungry process after hibernation using top or similar?

Offline

#3 2021-01-30 18:32:16

omernaveedxyz
Guest

Re: [Solved] Laptop battery drain triples when waking from hibernate

meismarv wrote:

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.

Board footer

Powered by FluxBB