OpenBSD - How To Setup Apmd Battery Manager

Channel:
Subscribers:
1,070
Published on ● Video Link: https://www.youtube.com/watch?v=eLmxt9qXwGc



Category:
Guide
Duration: 2:02
182 views
7


OpenBSD - How to Setup Apmd Battery Manager
Apmd will enable your OpenBSD
system to work while saving energy
and battery life.
-------------------------
rcctl enable apmd
rcctl set apmd flags -A (automatic mode)
rcctl start apmd
------------
(to enable suspend when you close
the laptop lid)
mkdir /etc/apm
nano /etc/apm/suspend
#!/bin/sh
pkill -USR1 xidle
--exit
chmod +x /etc/apm/suspend
---------------
more info on the official manpages
https://man.openbsd.org/apmd
https://man.openbsd.org/apm.8
---------------------------------------------------
#al1en99 #openbsd #apmd