You can use xfce4-power-manager it is working for me, plus you can have additional benefits like notification on battery low and few more things.
$ sudo apt install xfce4-power-manager
You can add automatically start on boot at ~/.config/i3/conf exec xfce4-power-manager
You can use xfce4-power-manager it is working for me, plus you can have additional benefits like notification on battery low and few more things.
$ sudo apt install xfce4-power-manager
You can add automatically start on boot at ~/.config/i3/conf
exec xfce4-power-manager