Many changes
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user