projects
/
shutils.git
/ blob
0bce5a7257be9e7409c19a616f85de4d8212dc53
[shutils.git]
/
lenovo-x220-linuxacpi
/
etc
/
acpi
/
actions
/
lm_battery.sh
1
#! /bin/sh
2
3
test -f
/
usr
/
sbin
/
laptop_mode ||
exit
0
4
5
# Automatically disable laptop mode when the battery almost runs out,
6
# and re-enable it when it
7
8
/
usr
/
sbin
/
laptop_mode auto