battery status added to rc.lua