Colorize battery dependent on battery level and ac power supply presence