Is there just a simple way to read all of these values before the script and then return them back afterward? gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/turn_off_display ? gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/brightness_period ? gconftool-2 --type int --set /system/osso/dsm/display/display_dim_timeout ? gconftool-2 --type int --set /system/osso/dsm/display/display_blank_timeout ?
# advanced backlight set-brightness `gconftool-2 --get /apps/adv-backlight/brightness` # ASUI set-brightness `gconftool-2 --get /apps/asui_state/brightness_level`