Battery charging turns green and red