Added brightness adjustment and pass battery status via intent