You are not logged in.

#1 2019-02-21 22:18:55

Asbestbrezel
Member
Registered: 2014-07-27
Posts: 67

Battery discharge report too rare

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

#2 2019-03-01 09:02:37

unixman
Member
Registered: 2015-03-12
Posts: 182

Re: Battery discharge report too rare

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

Board footer

Powered by FluxBB