added charge indicator, test mode, and some patterns