My decision:
I read that post
http://vincent.bernat.im/en/blog/2011-g ... nager.html
and found that easiest way to suspend/hibernate my laptop- lenovo y570 on idle (3 minutes when on battery/5 hours when on AC) is to disable the
power configuration management in Linux Mint 13 Cinnamon and to install xfce4-power-manager
xfce4-power-manager is very simple and work fine except the dimming option, but I could live and without dimming my screen.
That power manager is based on D-bus messages.
- How to install?
1. To disable the standard power management do:
Code: Select all
gsettings set org.gnome.settings-daemon.plugins.power active false
After log off/log on you will not see any more the battery icon near the clock.
2. Install xfce4-power-manager 1.0.11 (current in repository) with that command:
Code: Select all
sudo apt-get install xfce4-power-manager
3.run xfce4-power-manager, you can put it as startup program.
Workaround:
Because the min of the inactivity is 15 minutes and if you wish to managed minutes below the 15 you can use
that code below, be aware that 14 means DISABLED
(example for inactivity of 2 minutes)
Code: Select all
xfconf-query -c xfce4-power-manager -p "/xfce4-power-manager/inactivity-on-battery" -s 2