aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]scripts/critical_hibernate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/critical_hibernate.py b/scripts/critical_hibernate.py
index 7b19978..8db2edc 100644..100755
--- a/scripts/critical_hibernate.py
+++ b/scripts/critical_hibernate.py
@@ -37,7 +37,7 @@ try:
batfd = None
try:
batfd = os.open(sysfs_path, os.O_RDONLY)
- print('monitoring %s' % sysfs_path)
+ print('monitoring %s (threshold %d%%)' % (sysfs_path, threshold))
while True:
uevent_dict = dict((e.split(b'=')
for e in os.pread(batfd, 1024, 0).split()))