You are not logged in.
Pages: 1
Hi,
udev very rarely gets events if the battery is discharging. Like, around every 20%. So thats why, the created udev-rule is always missing the point, when it should hibernate, if the battery is too low.
Laptop is a thinkpad x230
Any idea what i can do about that?
Offline
Create your own rule or modify default rule?
Modify default rule and put it with same name into an udev_rules_search directory which has higher priority.
Create a sh one liner that checks for capacity for every minute then run appropiorate command eg hibernate, brightness down.
You can do as you like.
EDIT: See `man udev`
Last edited by unixman (2019-03-01 09:03:25)
Offline
Pages: 1