How to setup automatic suspend - battery settings in i3wm

thanks for the tip!