components/battery.c
static const char
    *d_bar(unsigned char p)
    {
        const char *s[] = {
            "^c#ac444d^^r0,9,20,10^^c#4b555a^^r1,10,16,8^^f20^^c#ac444d^^r0,12,2,4^^f4^^c#8b9499^",//  0-10%
            "^c#d0661c^^r0,9,20,10^^c#4b555a^^r1,10,14,8^^f20^^c#d0661c^^r0,12,2,4^^f4^^c#8b9499^",// 10-20%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,12,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 30-40%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,10,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 40-50%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,8,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 50-60%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,6,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 60-70%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,4,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 70-80%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,2,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",// 80-90%
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,0,8^^f20^^c#8b9499^^r0,12,2,4^^f4^" // 90-100%
        };

        return s[((8 * p) / 100)];
    }
/*
     * only available with the status2d patch
     */
only available with the status2d patch
only available with the status2d patch
static const char
    *d_bar(unsigned char p)
    {
        const char *s[] = {
            "^c#ac444d^^r0,9,20,10^^c#4b555a^^r1,10,16,8^^f20^^c#ac444d^^r0,12,2,4^^f4^^c#8b9499^",
            "^c#d0661c^^r0,9,20,10^^c#4b555a^^r1,10,14,8^^f20^^c#d0661c^^r0,12,2,4^^f4^^c#8b9499^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,12,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,10,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,8,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,6,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,4,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,2,8^^f20^^c#8b9499^^r0,12,2,4^^f4^",
            "^c#8b9499^^r0,9,20,10^^c#4b555a^^r1,10,0,8^^f20^^c#8b9499^^r0,12,2,4^^f4^" 
        };
        return s[((8 * p) / 100)];
    }
static const char * d_bar ( unsigned char p ) { const char * s [ ] = { " " , " " , " " , " " , " " , " " , " " , " " , " " } ; return s [ ( ( 8 * p ) / 100 ) ] ; }
only available with the status2d patch
only available with the status2d patch
//  0-10% // 10-20% // 30-40% // 40-50% // 50-60% // 60-70% // 70-80% // 80-90% // 90-100%