Skip to content

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

License

Notifications You must be signed in to change notification settings

NickHu/low_battery_suspend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages