Currently, Ubuntu 14.04 only provides a single option: "Turn screen off when inactive for: x minutes" that applies regardless of whether my laptop is plugged in or not. I want to change this setting when on battery power, just like I can with other Power options such as the suspend timeout. Is there any built-in way to do this? If not, I think I should be able to write a script that gets called by
dbus whenever the power state changes, and modifies the gsettings key org.gnome.desktop.session.idle-delay.
Still hoping for an elegant solution.