Set return type of getBrightness() to be float, not bool

Just a minor fix.  Sorry these are in two commits (you can flatten it down when you merge) -- it's because I tried using the "Edit" feature in GitHub, doing it directly on the website…

Thanks,
Glen.