aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorvg <vg@devys.org>2018-07-04 20:44:05 +0200
committervg <vg@devys.org>2018-07-04 20:44:05 +0200
commitb6e37c8773167c64baccb6c252cdfd57f2d48f29 (patch)
treed8147efffae860c5c96abf52ec0fafa741747a90 /scripts
parentf1c2bede98ed824cc61763df4d1274a5403f60d0 (diff)
downloadscripts-b6e37c8773167c64baccb6c252cdfd57f2d48f29.tar.gz
scripts-b6e37c8773167c64baccb6c252cdfd57f2d48f29.tar.bz2
scripts-b6e37c8773167c64baccb6c252cdfd57f2d48f29.zip
updating threshold for critical hibernate
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/critical_hibernate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/critical_hibernate.py b/scripts/critical_hibernate.py
index 8db2edc..f7128e2 100755
--- a/scripts/critical_hibernate.py
+++ b/scripts/critical_hibernate.py
@@ -22,7 +22,7 @@ import time
# Then, do a systemctl enable --now critical_hibernate
sysfs_path = '/sys/class/power_supply/BAT0/uevent'
-threshold = 9
+threshold = 10
run_hibernate = True
original_print = print