Skip to content

jukil/aclidswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aclidswitch

Simple Power Management tool that can be used supplementary to TLP to provide the following functionality:

  • Custom lid actions. If running on battery, turn your laptop into standby when the lid is closed. If the laptop is charging, then do nothing.
  • Low battery action. Put your laptop into hibernation if the battery reaches a critically low level.
  • Custom brightness. Set different brightness levels for battery and AC use.
  • Custom display management (DPMS) settings: Disable DPMS on AC or change the blanking times on battery.

Installation

Place the following files as follows in your file systemL

default/aclidswitch ➡ /etc/default
98-aclidswitch.rules ➡ /etc/udev/rules.d
99-low-battery-action.rules ➡ /etc/udev/rules.d
aclidswitch ➡ /usr/local/bin

Make the script executable: chmod +x /usr/local/bin/aclidswitch. Configure /etc/default/aclidswitch and define your desired settings.

Arch Linux

Arch Linux users can also install the package from the AUR.

About

Simple Power Management tool to define custom lid, brightness and low battery actions depending on the laptop's AC state

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages