[ltp] current power saving mode=what?

Richard Neill linux-thinkpad@linux-thinkpad.org
Wed, 17 Sep 2008 21:55:20 +0100


jidanni@jidanni.org wrote:
> How can a script query the current power saving state?
> 

Try:

gnome-screensaver-command -q
xscreensaver-command -watch
xset -q

Richard