diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-03-13 09:08:59 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-03-13 09:08:59 +0000 |
commit | 90f773a993ccff75c39800af7de4b3368cc54d51 (patch) | |
tree | 269eac696f93ab3f31c3735b8cc7619d3591e97b /usr.sbin/apmd/apmd.8 | |
parent | df68a94e7fec9a4b2a947c4fbb307bb4520e4d6b (diff) |
Block autoaction after it kicks in, until 60 seconds after resume
This prevents your laptop from immediately going back to sleep after
resume, leaving you some time to look up stuff or even stop apmd in
case you need the machine RIGHT NOW.
Blocking autoaction until the laptop resumes prevents spurious
suspend/resume cycles.
Advices from cheloha@
Diffstat (limited to 'usr.sbin/apmd/apmd.8')
-rw-r--r-- | usr.sbin/apmd/apmd.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8 index 6f3156e0820..79a5f7f0264 100644 --- a/usr.sbin/apmd/apmd.8 +++ b/usr.sbin/apmd/apmd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apmd.8,v 1.51 2020/01/25 18:02:22 jca Exp $ +.\" $OpenBSD: apmd.8,v 1.52 2020/03/13 09:08:58 jca Exp $ .\" .\" Copyright (c) 1995 John T. Kohl .\" All rights reserved. @@ -26,7 +26,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 25 2020 $ +.Dd $Mdocdate: March 13 2020 $ .Dt APMD 8 .Os .Sh NAME @@ -128,6 +128,7 @@ If both and .Fl z are specified, the last one will supersede the other. +After a resume, the effect of those options is inhibited for 60 seconds. .El .Pp When a client requests a suspend or stand-by state, |