ProcessCpuTracker: Fix ArrayIndexOutofBoundsException in tempSpeeds

If time_in_state file is not available mCpuSpeeds is created with size 0
and subsequent call if the file becomes available there is an
ArrayIndexOutofBoundsException.
This change avoids the crash by breaking out of the loop, also adds error
logging

CRs-Fixed: 553569
Change-Id: Id5e219ca1cd3f058f714aecd5902ec2f6c11ae03
SysUI: Battery: properly fix color settings

* Frame isn't black in first boot or the color is resetted
* User don't have to set battery color to make system color work in another variable

Change-Id: I50fb346256c006315c3dd455ed3c53050eb122c1