private Color getColor(double power) {

        int color = (int)(power*10);
        switch(color){
            case 0:
                return new Color(0xFFFFCC);
            case 1:
                return new Color(0xFFFF99);
            case 2:
                return new Color(0xFFFF66);
            case 3:
                return new Color(0xFFFF33);
            case 4:
                return new Color(0xFFFF00);
            case 5:
                return new Color(0xFFEF00);
            case 6:
                return new Color(0xFFCC00);
            case 7:
                return new Color(0xF1B605);
            case 8:
                return new Color(0xCC9900);
            default:
                return new Color(0x9E7704);
        }
	}