diff options
| -rw-r--r-- | etc/UPower/UPower.conf | 9 | ||||
| -rw-r--r-- | etc/mkinitcpio.conf | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/etc/UPower/UPower.conf b/etc/UPower/UPower.conf index ef4505b..8f7fe34 100644 --- a/etc/UPower/UPower.conf +++ b/etc/UPower/UPower.conf @@ -1,7 +1,10 @@ [UPower] -CriticalPowerAction=Hibernate -PercentageLow=10 -PercentageCritical=5 +# No swap on this system, so hibernate isn't an option. Fall back to a clean +# power-off at the critical threshold; poweralertd warns well before we get +# there so unsaved work can be saved. +CriticalPowerAction=PowerOff +PercentageLow=15 +PercentageCritical=7 PercentageAction=3 TimeLow=1200 TimeCritical=300 diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf index c4865c9..b994d89 100644 --- a/etc/mkinitcpio.conf +++ b/etc/mkinitcpio.conf @@ -52,7 +52,7 @@ FILES=() # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr and fsck hooks. -HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems resume fsck) +HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck) # COMPRESSION # Use this to compress the initramfs image. By default, zstd compression |
