Comment on Got myself some energy monitoring Zigbee plugs and made an interesting discovery

<- View Parent
fmstrat@lemmy.nowsci.com ⁨2⁩ ⁨weeks⁩ ago

There are a couple of ways:

  1. Formally add a system entry to run at suspend/resume (like how nvidia does in their driver package)

Or

  1. Write a script that rmmods, suspends, sleeps, modprobes, and map it to Cntrl-Alt-Shift-S

I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more “formal”.

Happy to share some scripts if you’d like, on my phone now, though.

source
Sort:hotnewtop