You have to edit this file while not being logged into the Xfce session.
Alternatively, use the Xfce Settings Editor or run this command:
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-sleep-mode-on-battery -n -t int -s 1
You have to edit this file while not being logged into the Xfce session.
Alternatively, use the Xfce Settings Editor or run this command:
$ xfconf-query -c xfce4-power-manager -p /xfce4- power-manager/ inactivity- sleep-mode- on-battery -n -t int -s 1