Many changes

This commit is contained in:
2023-12-05 17:06:41 -05:00
parent dd2b58c2cf
commit 6863d432bf
7 changed files with 95 additions and 28 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/ksh
# enable-apmd.ksh
# Enable the Advanced Power Management daemon with good settings
# Enable the Advanced Power Management daemon with settings that prevent
# the battery from running out before a proper shutdown
# Copyright (c) 2023, Scott C. MacCallum (scm@sdf.org)
# All rights reserved.
@@ -31,7 +32,7 @@
# Enable the power manager and start it at boot. Have it adjust automatically
# to power needs. Put the computer in suspend mode when 15% of the battery is
# left
# left.
rcctl enable apmd
rcctl set apmd flags -A -z 15