Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 387 Bytes

README.rst

File metadata and controls

13 lines (9 loc) · 387 Bytes

low_battery_suspend

Simple bash script to suspend the system based on the output of acpi. Assumes systemctl suspend.

Usage: low_battery_suspend [1-100]

  Takes a percentage which is compared against the actual battery percentage.
  If the actual battery percentage <= provided percentage, then suspend the system.