import math
import subprocess
import time
#percentages = [ int(100*math.log(x,10)) for x in range(1,11) ]
percentages = [1, 2, 3, 4, 5, 7, 9, 11, 14, 18, 22, 28, 35, 44, 55, 69, 86,100]
for pc in percentages :
cmd = "qdbus org.gnome.SettingsDaemon.Power /org/gnome/SettingsDaemon/Power org.gnome.SettingsDaemon.Power.Screen.SetPercentage " + str(pc)
print cmd
subprocess.call(cmd.split())
time.sleep(1)